Add support for hidden inputs.
This commit is contained in:
@@ -8,6 +8,7 @@ $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/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).
|
||||
|
@@ -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. */
|
||||
|
Reference in New Issue
Block a user