From: pdontthink Date: Wed, 7 May 2008 16:17:33 +0000 (+0000) Subject: Put hidden inputs in HTML-valid location X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ce910bcaa2fcf8661061662923b8f8b768467009;p=squirrelmail.git Put hidden inputs in HTML-valid location git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13101 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/options.tpl b/templates/default/options.tpl index e9cf2d5a..17a2b550 100644 --- a/templates/default/options.tpl +++ b/templates/default/options.tpl @@ -41,6 +41,7 @@ foreach ($options as $option) { " \n"; } + $hidden_widgets = ''; foreach ($option['options'] as $opt) { if ($opt->type != SMOPT_TYPE_HIDDEN) { echo "\n" . @@ -60,12 +61,12 @@ foreach ($options as $option) { " \n" . "\n"; } else { - echo $opt->createWidget(); + $hidden_widgets .= $opt->createWidget(); } } echo " \n \n" - . "     \n \n \n"; echo "\n";