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

@@ -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. */