Add support for hidden inputs.

This commit is contained in:
Michal Čihař
2006-03-16 14:59:18 +00:00
parent b662a817c0
commit a788dfcb68
2 changed files with 6 additions and 2 deletions

View File

@@ -6,8 +6,9 @@ $Id$
$Source$
2006-03-16 Michal Čihař <michal@cihar.com>
* libraries/select_server.lib.php: Move end of fieldset to correct place
after button (patch #1450559).
* libraries/select_server.lib.php: Move end of fieldset to correct place
after button (patch #1450559).
* libraries/plugin_interface.lib.php: Add support for hidden inputs.
2006-03-15 Michal Čihař <michal@cihar.com>
* libraries/export/htmlexcel.php: Fix output handling (bug #1450555).

View File

@@ -205,6 +205,9 @@ function PMA_pluginGetOneOption($section, $plugin_name, $id, &$opt)
$ret .= '>' . PMA_getString($val) . '</option>';
}
$ret .= '</select>';
} elseif ($opt['type'] == 'hidden') {
$ret .= '<input type="hidden" name="' . $plugin_name . '_' . $opt['name'] . '"'
. ' value="' . PMA_pluginGetDefault($section, $plugin_name . '_' . $opt['name']) . '"' . ' />';
} else {
/* This should be seen only by plugin writers, so I do not thing this
* needs translation. */