projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add address list pagination, 'Compose To' button, more labels for checkboxes, hook...
[squirrelmail.git]
/
templates
/
default
/
options.tpl
diff --git
a/templates/default/options.tpl
b/templates/default/options.tpl
index e9cf2d5a92a9631ceaa5d26cb203c658c63a5dbc..17a2b550d791d8d2542765e76bac2561838f2382 100644
(file)
--- a/
templates/default/options.tpl
+++ b/
templates/default/options.tpl
@@
-41,6
+41,7
@@
foreach ($options as $option) {
" </tr>\n";
}
" </tr>\n";
}
+ $hidden_widgets = '';
foreach ($option['options'] as $opt) {
if ($opt->type != SMOPT_TYPE_HIDDEN) {
echo "<tr>\n" .
foreach ($option['options'] as $opt) {
if ($opt->type != SMOPT_TYPE_HIDDEN) {
echo "<tr>\n" .
@@
-60,12
+61,12
@@
foreach ($options as $option) {
" </td>\n" .
"</tr>\n";
} else {
" </td>\n" .
"</tr>\n";
} else {
-
echo
$opt->createWidget();
+
$hidden_widgets .=
$opt->createWidget();
}
}
echo " <tr>\n <td colspan=\"2\" align=\"right\">\n"
}
}
echo " <tr>\n <td colspan=\"2\" align=\"right\">\n"
- . " <input type=\"submit\" value=\"" . _("Submit")
+ .
$hidden_widgets .
" <input type=\"submit\" value=\"" . _("Submit")
. "\" name=\"" . $submit_name . "\" /> \n </td>\n </tr>\n";
echo "</table>\n";
. "\" name=\"" . $submit_name . "\" /> \n </td>\n </tr>\n";
echo "</table>\n";