[vhffs-dev] [574] Added a tip about how to add record concerning origin.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 574
Author:   beuss
Date:     2007-04-18 14:00:15 +0000 (Wed, 18 Apr 2007)

Log Message:
-----------
Added a tip about how to add record concerning origin.
Added common.js to Makefile.am.

Modified Paths:
--------------
    trunk/vhffs-panel/Makefile.am
    trunk/vhffs-panel/dns/prefs.pl
    trunk/vhffs-panel/templates/dns/list_a_sub.tmpl
    trunk/vhffs-panel/templates/dns/list_aaaa_sub.tmpl
    trunk/vhffs-panel/templates/dns/prefs.tmpl
    trunk/vhffs-panel/themes/vhffs/main.css
    trunk/vhffs-panel/themes/vhffs-ng/main.css


Modified: trunk/vhffs-panel/Makefile.am
===================================================================
--- trunk/vhffs-panel/Makefile.am	2007-04-18 07:16:07 UTC (rev 573)
+++ trunk/vhffs-panel/Makefile.am	2007-04-18 14:00:15 UTC (rev 574)
@@ -101,6 +101,7 @@
 	group/remove_user_from_group.pl \
 	help/cvs.html \
 	help/index.html \
+	js/commons.js \
 	mail/add_account.pl \
 	mail/add_forward.pl \
 	mail/change_forward.pl \

Modified: trunk/vhffs-panel/dns/prefs.pl
===================================================================
--- trunk/vhffs-panel/dns/prefs.pl	2007-04-18 07:16:07 UTC (rev 573)
+++ trunk/vhffs-panel/dns/prefs.pl	2007-04-18 14:00:15 UTC (rev 574)
@@ -233,7 +233,9 @@
     $template->param( TEXT_LIST_AAAA => gettext("List all AAAA reccords") );
     $template->param( TEXT_ADD_A => gettext("Add an A record") );
     $template->param( TEXT_ADD_AAAA => gettext("Add an AAAA record") );
+    $template->param( TEXT_ORIGIN => sprintf( gettext('Use @ for origin (%s)'),  $domain_name) );
 
+
 	#Treat ACL part
     $template->param( TEXT_ACL_ADMIN => gettext( "Admin Rights on this object (ACL)") );
     $template->param( EXPLAIN_ADMIN_ACL => gettext( "You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it.") );
@@ -300,6 +302,7 @@
     if( scalar(keys %{$a_rr}) ) {
         my $thirdtemplate = new HTML::Template( filename => $templatedir.'/dns/list_a_sub.tmpl', global_vars => 1, die_on_bad_params => 0);
         my @list_a = sort {$a->{name} cmp $b->{name}} values(%{$a_rr});
+        $thirdtemplate->param( LIST_HELP => sprintf(gettext( '@ represents the origin (%s)' ), $domain_name) );
 	    $thirdtemplate->param( DEL => gettext( 'Delete' ) );
         $thirdtemplate->param( DOMAIN => $domain_name );
         $thirdtemplate->param( MODIFY => gettext( 'Modify' ) );

Modified: trunk/vhffs-panel/templates/dns/list_a_sub.tmpl
===================================================================
--- trunk/vhffs-panel/templates/dns/list_a_sub.tmpl	2007-04-18 07:16:07 UTC (rev 573)
+++ trunk/vhffs-panel/templates/dns/list_a_sub.tmpl	2007-04-18 14:00:15 UTC (rev 574)
@@ -1,3 +1,4 @@
+<p class="help"><tmpl_var name="LIST_HELP"></p>
 <tmpl_loop name="A_RR">
 <form method="post" action="prefs.pl">
     <p>

Modified: trunk/vhffs-panel/templates/dns/list_aaaa_sub.tmpl
===================================================================
--- trunk/vhffs-panel/templates/dns/list_aaaa_sub.tmpl	2007-04-18 07:16:07 UTC (rev 573)
+++ trunk/vhffs-panel/templates/dns/list_aaaa_sub.tmpl	2007-04-18 14:00:15 UTC (rev 574)
@@ -1,3 +1,4 @@
+<p class="help"><tmpl_var name="LIST_HELP"></p>
 <tmpl_loop name="AAAA_RR">
 <form method="post" action="prefs.pl">
     <p>

Modified: trunk/vhffs-panel/templates/dns/prefs.tmpl
===================================================================
--- trunk/vhffs-panel/templates/dns/prefs.tmpl	2007-04-18 07:16:07 UTC (rev 573)
+++ trunk/vhffs-panel/templates/dns/prefs.tmpl	2007-04-18 14:00:15 UTC (rev 574)
@@ -4,6 +4,7 @@
 
 <h3><TMPL_VAR NAME="TEXT_ADD_A"></h3>
 <form method="post" action="prefs.pl">
+    <p class="help"><TMPL_VAR NAME="TEXT_ORIGIN"></p>
 	<p>
 		<label for="add_a_prefix">
 			<TMPL_VAR NAME="TEXT_DOMAINNAME">
@@ -37,6 +38,7 @@
 
 <h3><TMPL_VAR NAME="TEXT_ADD_AAAA"></h3>
 <form method="post" action="prefs.pl">
+    <p class="help"><TMPL_VAR NAME="TEXT_ORIGIN"></p>
 	<p>
 		<label for="add_aaaa_prefix">
 			<TMPL_VAR NAME="TEXT_DOMAINNAME">

Modified: trunk/vhffs-panel/themes/vhffs/main.css
===================================================================
--- trunk/vhffs-panel/themes/vhffs/main.css	2007-04-18 07:16:07 UTC (rev 573)
+++ trunk/vhffs-panel/themes/vhffs/main.css	2007-04-18 14:00:15 UTC (rev 574)
@@ -691,6 +691,12 @@
     font-weight: bold;
 }
 
+.help
+{
+    color: blue;
+    font-style:italic;
+}
+
 .warning
 {
 	color: red;

Modified: trunk/vhffs-panel/themes/vhffs-ng/main.css
===================================================================
--- trunk/vhffs-panel/themes/vhffs-ng/main.css	2007-04-18 07:16:07 UTC (rev 573)
+++ trunk/vhffs-panel/themes/vhffs-ng/main.css	2007-04-18 14:00:15 UTC (rev 574)
@@ -494,6 +494,12 @@
     font-weight: bold;
 }
 
+.help
+{
+    color: blue;
+    font-style:italic;
+}
+
 .warning
 {
 	color: red;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/