[vhffs-dev] [1923] now using $cgi->url_param instead of $cgi->param, removed useless hidden field do in all form ( sometimes reading documentation helps..)

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


Revision: 1923
Author:   gradator
Date:     2012-01-22 02:48:55 +0100 (Sun, 22 Jan 2012)
Log Message:
-----------
now using $cgi->url_param instead of $cgi->param, removed useless hidden field do in all form (sometimes reading documentation helps..)

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Main.pm
    trunk/vhffs-panel/index.pl
    trunk/vhffs-panel/templates/acl/form.tt
    trunk/vhffs-panel/templates/acl/view.tt
    trunk/vhffs-panel/templates/admin/broadcast/create.tt
    trunk/vhffs-panel/templates/admin/broadcast/list.tt
    trunk/vhffs-panel/templates/admin/misc/search.tt
    trunk/vhffs-panel/templates/admin/misc/su.tt
    trunk/vhffs-panel/templates/admin/moderation/index.tt
    trunk/vhffs-panel/templates/admin/object/edit.tt
    trunk/vhffs-panel/templates/anonymous/login.tt
    trunk/vhffs-panel/templates/anonymous/lost-password.tt
    trunk/vhffs-panel/templates/anonymous/subscribe.tt
    trunk/vhffs-panel/templates/bazaar/create.tt
    trunk/vhffs-panel/templates/cron/create.tt
    trunk/vhffs-panel/templates/cron/prefs.tt
    trunk/vhffs-panel/templates/cvs/create.tt
    trunk/vhffs-panel/templates/database/prefs.tt
    trunk/vhffs-panel/templates/dns/create.tt
    trunk/vhffs-panel/templates/dns/prefs.tt
    trunk/vhffs-panel/templates/git/create.tt
    trunk/vhffs-panel/templates/group/create.tt
    trunk/vhffs-panel/templates/group/prefs.tt
    trunk/vhffs-panel/templates/mail/create.tt
    trunk/vhffs-panel/templates/mail/prefs.tt
    trunk/vhffs-panel/templates/mailinglist/create.tt
    trunk/vhffs-panel/templates/mailinglist/prefs.tt
    trunk/vhffs-panel/templates/mercurial/create.tt
    trunk/vhffs-panel/templates/misc/alert.tt
    trunk/vhffs-panel/templates/mysql/create.tt
    trunk/vhffs-panel/templates/object/delete.tt
    trunk/vhffs-panel/templates/object/resubmit.tt
    trunk/vhffs-panel/templates/pgsql/create.tt
    trunk/vhffs-panel/templates/repository/create.tt
    trunk/vhffs-panel/templates/scm/prefs.tt
    trunk/vhffs-panel/templates/svn/create.tt
    trunk/vhffs-panel/templates/user/prefs.tt
    trunk/vhffs-panel/templates/web/create.tt
    trunk/vhffs-panel/templates/web/prefs.tt

Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2012-01-22 01:48:55 UTC (rev 1923)
@@ -480,7 +480,7 @@
 
 	$vars = {} unless(defined $vars);
 
-	$vars->{do} = $cgi->param('do');	
+	$vars->{do} = $cgi->url_param('do');
 	$vars->{query_string} = $cgi->query_string;
 	$vars->{theme} = $conf->get_panel->{default_theme} unless defined $vars->{theme};
 	$vars->{panel_url} = $conf->get_panel->{url};

Modified: trunk/vhffs-panel/index.pl
===================================================================
--- trunk/vhffs-panel/index.pl	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/index.pl	2012-01-22 01:48:55 UTC (rev 1923)
@@ -57,7 +57,7 @@
 	my $panel = new Vhffs::Panel::Main( $vhffs, $cgi );
 	next unless defined $panel;
 
-	my $do = ( $cgi->param('do') or 'login' );
+	my $do = ( $cgi->url_param('do') or 'login' );
 
 	# -- anonymous
 	if( $do eq 'login' or $do eq 'lost' or $do eq 'subscribe' or $do eq 'logout' ) {

Modified: trunk/vhffs-panel/templates/acl/form.tt
===================================================================
--- trunk/vhffs-panel/templates/acl/form.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/acl/form.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -6,6 +6,5 @@
 	<p class="button" id="buttonAclAdmin">
 		<input type="submit" value="[% 'OK, go to ACL management' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="acl"/>
 </form>
 

Modified: trunk/vhffs-panel/templates/acl/view.tt
===================================================================
--- trunk/vhffs-panel/templates/acl/view.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/acl/view.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -28,7 +28,6 @@
         <input type="submit" value="[% 'Modify' | i18n | html %]" name="update_acl_submit"/>
       </span>
     </p>
-    <input type="hidden" name="do" value="acl"/>
   </form>
 [% FOREACH acl IN users_acl %]
   <form method="post" action="#" accept-charset="utf-8">
@@ -46,7 +45,6 @@
         <input type="submit" value="[% 'Modify' | i18n | html %]" name="update_acl_submit"/>
       </span>
     </p>
-    <input type="hidden" name="do" value="acl"/>
   </form>
 [% END %]
 <span class="clear">&nbsp;</span>

Modified: trunk/vhffs-panel/templates/admin/broadcast/create.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/broadcast/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/admin/broadcast/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -12,5 +12,4 @@
 	<p class="button" id="buttonSend">
 		<input type="submit" value="[% 'Send' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="broadcastcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/admin/broadcast/list.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/broadcast/list.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/admin/broadcast/list.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -23,12 +23,10 @@
 		<form method="post" action="?do=broadcastdelete&amp;mid=[% m.id %]" accept-charset="utf-8">
 			<p><input type="hidden" name="mid" value="[% m.id %]" />
 			<input type="submit" value="[% 'Delete' | i18n | html %]" /></p>
-			<input type="hidden" name="do" value="broadcastdelete"/>
 		</form>
 		<form method="post" action="?do=broadcastview&amp;mid=[% m.id %]" accept-charset="utf-8">
 			<p><input type="hidden" name="mid" value="[% m.id %]" />
 			<input type="submit" value="[% 'View' | i18n | html %]" /></p>
-			<input type="hidden" name="do" value="broadcastview"/>
 		</form>
 	</td>
 </tr>

Modified: trunk/vhffs-panel/templates/admin/misc/search.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/misc/search.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/admin/misc/search.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -1,5 +1,4 @@
 <h1>[% search_title | html %]</h1>
 <form method="post" action="?do=[% type %]search" accept-charset="utf-8">
     <p><input type="text" name="name"/><input type="submit" value="[% 'Search' | i18n | html %]"/></p>
-    <input type="hidden" name="do" value="[% type %]search"/>
 </form>

Modified: trunk/vhffs-panel/templates/admin/misc/su.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/misc/su.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/admin/misc/su.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -6,5 +6,4 @@
 	<p class="button" id="buttonSend">
 		<input type="submit" value="[% 'Su!' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="su"/>
 </form>

Modified: trunk/vhffs-panel/templates/admin/moderation/index.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/moderation/index.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/admin/moderation/index.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -26,7 +26,6 @@
                     <input type="hidden" name="oid" value="[% o.get_oid %]"/>
                     <input type="submit" name="accept" value="[% 'Accept' | i18n | html %]"/>
                     <input type="submit" name="refuse" value="[% 'Refuse' | i18n | html %]"/></p>
-                    <input type="hidden" name="do" value="moderation"/>
                 </form>
             </td>
         </tr>

Modified: trunk/vhffs-panel/templates/admin/object/edit.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/object/edit.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/admin/object/edit.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -52,7 +52,6 @@
 		<input type="hidden" name="oid" value="[% object.get_oid %]" />
 		<input type="submit" value="[% 'Update' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="objectedit"/>
 </form>
 
 <h2>[% 'Object history' | i18n | html %]</h2>

Modified: trunk/vhffs-panel/templates/anonymous/login.tt
===================================================================
--- trunk/vhffs-panel/templates/anonymous/login.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/anonymous/login.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -25,7 +25,6 @@
 				<p class="button">
 					<input type="submit" tabindex="3" value="[% 'Access to panel' | i18n %]" id="login-submit" name="login_submit"/>
 				</p>
-				<input type="hidden" name="do" value="login"/>
 			</form>
 			<div id="sub_opts">
 			<ul>

Modified: trunk/vhffs-panel/templates/anonymous/lost-password.tt
===================================================================
--- trunk/vhffs-panel/templates/anonymous/lost-password.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/anonymous/lost-password.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -16,7 +16,6 @@
 <p class="button">
 	<input type="submit" value="[% 'Give me a new password!' | i18n | html %]" id="lost-submit" name="lost_submit"/>
 </p>
-<input type="hidden" name="do" value="lost"/>
 </form>
 
 <p>

Modified: trunk/vhffs-panel/templates/anonymous/subscribe.tt
===================================================================
--- trunk/vhffs-panel/templates/anonymous/subscribe.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/anonymous/subscribe.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -63,7 +63,6 @@
 				<p class="button" style="clear:both">
 					<input type="submit" value="[% 'Subscribe' | i18n | html %]" name="create_submit"/>
 				</p>
-			<input type="hidden" name="do" value="subscribe"/>
 			</form>
 			</div>
 		    <p class="home"><a href="?do=login">[% 'Back to login' %]</a></p>

Modified: trunk/vhffs-panel/templates/bazaar/create.tt
===================================================================
--- trunk/vhffs-panel/templates/bazaar/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/bazaar/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,5 +15,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="bazaar_submit"/>
 	</p>
-	<input type="hidden" name="do" value="bazaarcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/cron/create.tt
===================================================================
--- trunk/vhffs-panel/templates/cron/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/cron/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -27,5 +27,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="cron_submit"/>
 	</p>
-	<input type="hidden" name="do" value="croncreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/cron/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/cron/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/cron/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -50,7 +50,6 @@
 	<p class="button">
 		<input type="submit" value="[% 'Update' | i18n | html %]" name="save_prefs_submit"/>
 	</p>
-	<input type="hidden" name="do" value="cronprefs"/>
 </form>
 </fieldset>
 

Modified: trunk/vhffs-panel/templates/cvs/create.tt
===================================================================
--- trunk/vhffs-panel/templates/cvs/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/cvs/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,5 +15,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="cvs_submit"/>
 	</p>
-	<input type="hidden" name="do" value="cvscreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/database/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/database/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/database/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -16,7 +16,6 @@
         <input type="hidden" name="name" value="[% db.get_dbname | html %]"/>
 		<input type="submit" value="[% 'Update' | i18n | html %]" name="save_prefs_submit"/>
 	</p>
-	<input type="hidden" name="do" value="[% type | html %]prefs"/>
 </form>
 
 [% INCLUDE 'acl/form.tt' 

Modified: trunk/vhffs-panel/templates/dns/create.tt
===================================================================
--- trunk/vhffs-panel/templates/dns/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/dns/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -24,5 +24,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="dns_submit" />
 	</p>
-	<input type="hidden" name="do" value="dnscreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/dns/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/dns/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/dns/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -18,7 +18,6 @@
         <input type="submit" value="[% 'Update' | i18n | html %]" class="autowidth" name="modify_a_submit" />
         <input type="submit" value="[% 'Delete' | i18n | html %]" name="delete_a_submit" class="autowidth"/>
     </p>
-    <input type="hidden" name="do" value="dnsprefs"/>
 </form>
 [% END # a In sorted_a %]
 
@@ -46,7 +45,6 @@
         <input type="hidden" name="action" value="add_a"/>
 		<input type="submit" value="[% 'Add record' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 
 <h2>[% 'AAAA records (name -> IPv6)' | i18n | html %]</h2>
@@ -69,7 +67,6 @@
         <input type="submit" value="[% 'Update' | i18n | html %]" class="autowidth" name="modify_aaaa_submit" />
         <input type="submit" value="[% 'Delete' | i18n | html %]" name="delete_aaaa_submit" class="autowidth"/>
     </p>
-    <input type="hidden" name="do" value="dnsprefs"/>
 </form>
 [% END # aaaa IN sorted_aaaa %]
 
@@ -97,7 +94,6 @@
         <input type="hidden" name="action" value="add_aaaa"/>
 		<input type="submit" value="[% 'Add record' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 
 
@@ -120,7 +116,6 @@
     <input type="submit" value="[% 'Update' | i18n | html %]" name="modify_mx_submit" class="autowidth"/>
     <input type="submit" value="[% 'Delete' | i18n | html %]" name="delete_mx_submit" class="autowidth"/>
 </p>
-<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 [% END %]
 
@@ -144,7 +139,6 @@
 		<input type="hidden" name="name" value="[% dns.get_domain | html %]" />
 		<input type="submit" value="[% 'Add record' | i18n | html %]" />
 	</p>
-<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 
 
@@ -166,7 +160,6 @@
 		<input type="submit" name="modify_cname_submit" value="[% 'Update' | i18n | html %]" class="autowidth" />
 		<input type="submit" name="delete_cname_submit" value="[% 'Delete' | i18n | html %]" class="autowidth" />
 	</p>
-	<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 [% END %]
 
@@ -186,7 +179,6 @@
 		<input type="hidden" name="name" value="[% dns.get_domain | html %]" />
 		<input type="submit" value="[% 'Add record' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 
 <h2>[% 'NS records for this domain (nameservers)' | i18n | html %]</h2>
@@ -206,7 +198,6 @@
     <input type="hidden" name="name" value="[% dns.domain | html %]" />
     <input type="submit" name="delete_ns_submit" value="[% 'Delete' | i18n | html %]" class="autowidth"/>
 </p>
-<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 [% END %]
 
@@ -219,7 +210,6 @@
     <input type="hidden" name="action" value="add_ns"/>
     <input type="hidden" name="name" value="[% dns.get_domain | html %]"/>
     <input type="submit" value="[% 'Add record' | i18n | html %]" class="autowidth"/>
-    <input type="hidden" name="do" value="dnsprefs"/>
 </form>
 
 <h2>[% 'SRV records (servers)' | i18n | html %]</h2>
@@ -243,7 +233,6 @@
         <input type="submit" value="[% 'Update' | i18n | html %]" class="autowidth" name="modify_srv_submit" />
         <input type="submit" value="[% 'Delete' | i18n | html %]" name="delete_srv_submit" class="autowidth"/>
     </p>
-    <input type="hidden" name="do" value="dnsprefs"/>
 </form>
 [% END %]
 <h3>[% 'Add a SRV record' | i18n | html %]</h3>
@@ -268,7 +257,6 @@
         <input type="hidden" name="name" value="[% dns.get_domain | html %]" />
         <input type="submit" value="[% 'Add record' | i18n | html %]" />
     </p>
-    <input type="hidden" name="do" value="dnsprefs"/>
 </form>
 
 <h2>[% 'TXT records for this domain (textual information)' | i18n | html %]</h2>
@@ -289,7 +277,6 @@
         <input type="submit" value="[% 'Update' | i18n | html %]" class="autowidth" name="modify_txt_submit" />
         <input type="submit" value="[% 'Delete' | i18n | html %]" name="delete_txt_submit" class="autowidth"/>
     </p>
-    <input type="hidden" name="do" value="dnsprefs"/>
 </form>
 [% END %]
 
@@ -309,7 +296,6 @@
         <input type="hidden" name="action" value="add_txt"/>
 		<input type="submit" value="[% 'Add record' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="dnsprefs"/>
 </form>
 
 [% INCLUDE 'acl/form.tt' 

Modified: trunk/vhffs-panel/templates/git/create.tt
===================================================================
--- trunk/vhffs-panel/templates/git/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/git/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,5 +15,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="git_submit"/>
 	</p>
-	<input type="hidden" name="do" value="gitcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/group/create.tt
===================================================================
--- trunk/vhffs-panel/templates/group/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/group/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -40,5 +40,4 @@
 	<p class="button"  id="buttonSend">
 		<input type="submit" value="[% 'Send' | i18n %]" name="project_submit"/>
 	</p>
-	<input type="hidden" name="do" value="groupcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/group/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/group/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/group/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -14,7 +14,6 @@
         <input type="hidden" name="group" value="[% group.get_groupname | html %]"/>
         <input type="submit" value="[% 'Modify' | i18n | html %]" name="update_desc_submit"/>
     </p>
-    <input type="hidden" name="do" value="groupprefs"/>
 </form>
 
 [% IF mailgroup.defined() %]
@@ -26,7 +25,6 @@
 <input type="text" name="contact_email" id="contact_email" value="[% mailgroup.getforward %]"/> 
 <input type="hidden" name="group" value="[% group.get_groupname %]"/>
 <input type="submit" value="[% 'Modify' | i18n %]" name="contact_email_submit"/>
-<input type="hidden" name="do" value="groupprefs"/>
 </form>
 [% IF mailgroup.config.url_doc.defined() %]
 <a href="[% mailgroup.config.url_doc | html %]">[% 'Help' | i18n | html %]</a>
@@ -46,7 +44,6 @@
 <input type="hidden" name="group" value="[% g.get_groupname | html %]"/>
 <p><label>[% u.username | html %] ([% u.firstname | html %] [% u.lastname | html %])</label>
     <input type="submit" value="[% 'Remove' | i18n | html %]" name="remove_user_submit"/></p>
-<input type="hidden" name="do" value="groupprefs"/>
 </form>
 [% ELSE %]
 <p>[% u.username | html %] ([% u.firstname | html %] [% u.lastname | html %]) &mdash; [% u.state %]</p>
@@ -73,7 +70,6 @@
                 <input type="hidden" name="group" value="[% group.get_groupname | html %]"/>
 		<input type="submit" value="[% 'Add' | i18n | html %]" name="add_user_submit"/>
 	</p>
-	<input type="hidden" name="do" value="groupprefs"/>
 </form>
 
 [% IF add_user_error %]<p class="error">[% add_user_error | html %]</p>[% END %]
@@ -85,7 +81,6 @@
 <input type="hidden" name="group" value="[% group.get_groupname | html %]"/>
 <p><label>[% u.username | html %] ([% u.firstname | html %] [% u.lastname | html %])</label>
 <input type="submit" name="add_user_list_submit" value="[% 'Add' | i18n | html %]"/></p>
-<input type="hidden" name="do" value="groupprefs"/>
 </form>
 [% END %]
 
@@ -101,7 +96,6 @@
     <input type="hidden" name="oid" value="[% group.get_oid %]"/>
     <p><input type="file" name="avatar"/></p>
     <p><input type="submit" value="[% 'Update' %]" /></p>
-    <input type="hidden" name="do" value="avatarput"/>
 </form>
 [% END %]
 
@@ -122,6 +116,5 @@
            <input type="text" name="new_quota" id="new_quota" value="[% group.get_quota %]"/>&nbsp;[% 'MB' | i18n | html %]</p>
            <input type="hidden" name="group" value="[% group.get_groupname | html %]"/>
         <p><input type="submit" name="update_quota_submit" value="[% 'Update quota' | i18n | html %]"/></p>
-        <input type="hidden" name="do" value="groupprefs"/>
     </form>
 [% END %]

Modified: trunk/vhffs-panel/templates/mail/create.tt
===================================================================
--- trunk/vhffs-panel/templates/mail/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/mail/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,5 +15,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="mail_submit"/>
 	</p>
-	<input type="hidden" name="do" value="mailcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/mail/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/mail/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/mail/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -27,7 +27,6 @@
 		<input type="hidden" name="name" value="[% mail.get_domain | html %]" />
 		<input type="submit" name="modify_catchall_submit" value="[% 'Change catchall forward' | i18n | html %]"/>
 	</p>
-	<input type="hidden" name="do" value="mailprefs"/>
 </form>
 [% END # catchall_type == 'none' %]
 
@@ -53,7 +52,6 @@
                 <p><input type="submit" name="update_box_submit" value="[% 'Update' | i18n | html %]"/>&nbsp;<input type="submit" name="delete_box_submit" value="[% 'Delete this mail account' | i18n | html %]"/></p>
 			<input type="hidden" name="localpart" value="[% b.local_part | html %]" />
 			<input type="hidden" name="name" value="[% b.domain | html %]" />
-			<input type="hidden" name="do" value="mailprefs"/>
 		</form>
 [% ELSE %]
     <p>[% b.state | stringify_status | html %]</p>
@@ -76,7 +74,6 @@
 		<input type="hidden" name="name" value="[% mail.get_domain | html %]" />
 		<input type="submit" value="[% 'Add mailbox' | i18n | html %]" name="add_box_submit"/>
 	</p>
-	<input type="hidden" name="do" value="mailprefs"/>
 </form>
 
 <h2>[% 'Forwards' | i18n | html %]</h2>
@@ -95,7 +92,6 @@
             name="delete_forward_submit"/></p>
 		<input type="hidden" name="localpart" value="[% f.local_part | html %]" />
 		<input type="hidden" name="name" value="[% f.domain | html %]" />
-		<input type="hidden" name="do" value="mailprefs"/>
     </form>
 </fieldset>
 [% END %]
@@ -114,7 +110,6 @@
 		<input type="hidden" name="name" value="[% mail.domain | html %]" />
 		<input type="submit" value="[% 'Add forward' | i18n | html %]" name="add_forward_submit"/>
 	</p>
-	<input type="hidden" name="do" value="mailprefs"/>
 </form>
 
 [% INCLUDE 'acl/form.tt' 

Modified: trunk/vhffs-panel/templates/mailinglist/create.tt
===================================================================
--- trunk/vhffs-panel/templates/mailinglist/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/mailinglist/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -21,5 +21,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="mailing_submit"/>
 	</p>
-	<input type="hidden" name="do" value="mailinglistcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/mailinglist/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/mailinglist/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/mailinglist/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -54,7 +54,6 @@
 		<input type="submit" name="options_submit" value="[% 'Save options' | i18n | html %]"/>
 	</p>
     </fieldset>
-    <input type="hidden" name="do" value="mailinglistprefs"/>
 </form>
 
 <h2>[% 'Manage members' | i18n | html %]</h2>
@@ -81,7 +80,6 @@
         <input type="hidden" name="domain" value="[% list.get_domain | html %]" />
         <input type="submit" name="change_rights_submit" value="[% 'Update permissions' | i18n | html %]" />
 	<input type="submit" name="delete_submit" value="[% 'Delete from list' | i18n | html %]" />
-	<input type="hidden" name="do" value="mailinglistprefs"/>
 	</form>
 </fieldset>
 [% END %]
@@ -113,7 +111,6 @@
     </p>
     <p>
 	</p>
-	<input type="hidden" name="do" value="mailinglistprefs"/>
 </form>
 
 [% INCLUDE 'acl/form.tt' 

Modified: trunk/vhffs-panel/templates/mercurial/create.tt
===================================================================
--- trunk/vhffs-panel/templates/mercurial/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/mercurial/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,5 +15,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="mercurial_submit"/>
 	</p>
-	<input type="hidden" name="do" value="mercurialcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/misc/alert.tt
===================================================================
--- trunk/vhffs-panel/templates/misc/alert.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/misc/alert.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -19,7 +19,6 @@
     <p>
 		<textarea name="message" id="message" cols="90" rows="15" style="width:auto"></textarea>
 	</p>
-	<input type="hidden" name="do" value="contact"/>
 	<p class="button" id="sendButton">
 		<input type="submit" value="[% 'Send' | i18n | html %]" id="contact-submit" name="contact_submit"/>
 	</p>

Modified: trunk/vhffs-panel/templates/mysql/create.tt
===================================================================
--- trunk/vhffs-panel/templates/mysql/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/mysql/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -20,5 +20,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="mysql_submit"/>
 	</p>
-	<input type="hidden" name="do" value="mysqlcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/object/delete.tt
===================================================================
--- trunk/vhffs-panel/templates/object/delete.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/object/delete.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -32,5 +32,4 @@
 		<input type="hidden" name="oid" value="[% oid %]" />
 		<input type="submit" value="[% 'Delete' | i18n | html %]" />
 	</p>
-	<input type="hidden" name="do" value="objectdelete"/>
 </form>

Modified: trunk/vhffs-panel/templates/object/resubmit.tt
===================================================================
--- trunk/vhffs-panel/templates/object/resubmit.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/object/resubmit.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -22,5 +22,4 @@
 	<p class="button" id="buttonSend">
 		<input type="submit" value="[% 'Update' | i18n | html %]" name="submitted" />
 	</p>
-	<input type="hidden" name="do" value="objectresubmit"/>
 </form>

Modified: trunk/vhffs-panel/templates/pgsql/create.tt
===================================================================
--- trunk/vhffs-panel/templates/pgsql/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/pgsql/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -20,5 +20,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="pgsql_submit"/>
 	</p>
-	<input type="hidden" name="do" value="pgsqlcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/repository/create.tt
===================================================================
--- trunk/vhffs-panel/templates/repository/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/repository/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,5 +15,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Create' %]" name="repo_submit"/>
 	</p>
-	<input type="hidden" name="do" value="repositorycreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/scm/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/scm/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/scm/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -20,7 +20,6 @@
 		<input type="hidden" name="name" value="[% repository.get_reponame %]" />
 		<input type="submit" value="[% 'Update' | i18n | html %]" name="save_prefs_submit"/>
 	</p>
-	<input type="hidden" name="do" value="[% type %]prefs"/>
 </form>
 
 [% INCLUDE 'acl/form.tt' 

Modified: trunk/vhffs-panel/templates/svn/create.tt
===================================================================
--- trunk/vhffs-panel/templates/svn/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/svn/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,5 +15,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' | i18n | html %]" name="svn_submit"/>
 	</p>
-	<input type="hidden" name="do" value="svncreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/user/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/user/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/user/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -141,7 +141,6 @@
 				</p>
 
 				<input type="hidden" name="name" value="[% user.get_username | html %]"/>
-				<input type="hidden" name="do" value="userprefs"/>
 			</form>
 
 [% IF use_avatars %]
@@ -155,7 +154,6 @@
 
 				<p><input type="file" name="avatar" tabindex="1" size="45"/></p>
 				<p><input type="submit" value="[% 'Update my avatar' | i18n | html %]" /></p>
-				<input type="hidden" name="do" value="avatarput"/>
 			</form>
 [% END %]
 
@@ -179,7 +177,6 @@
 				
 				<p class="button" id="buttonDelete">
 					<input type="hidden" name="name" value="[% user.get_username | html %]"/>
-					<input type="hidden" name="do" value="userprefs"/>
 					<input type="submit" value="[% 'Delete my user' | i18n | html %]" name="delete_submit" id="delete_submit"/>
 				</p>
                                 

Modified: trunk/vhffs-panel/templates/web/create.tt
===================================================================
--- trunk/vhffs-panel/templates/web/create.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/web/create.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -21,5 +21,4 @@
 		<input type="hidden" name="group" value="[% group.get_groupname | html %]" />
 		<input type="submit" value="[% 'Send' %]" name="web_submit" />
 	</p>
-	<input type="hidden" name="do" value="webcreate"/>
 </form>

Modified: trunk/vhffs-panel/templates/web/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/web/prefs.tt	2012-01-22 01:34:53 UTC (rev 1922)
+++ trunk/vhffs-panel/templates/web/prefs.tt	2012-01-22 01:48:55 UTC (rev 1923)
@@ -15,7 +15,6 @@
 	<p class="button">
 		<input value="[% 'Update' | i18n | html %]" type="submit" name="save_prefs_submit"/>
 	</p>
-	<input type="hidden" name="do" value="webprefs"/>
 </form>
 
 [% INCLUDE 'acl/form.tt'


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