Add support for hidden inputs.
This commit is contained in:
@@ -6,8 +6,9 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
2006-03-16 Michal Čihař <michal@cihar.com>
|
2006-03-16 Michal Čihař <michal@cihar.com>
|
||||||
* libraries/select_server.lib.php: Move end of fieldset to correct place
|
* libraries/select_server.lib.php: Move end of fieldset to correct place
|
||||||
after button (patch #1450559).
|
after button (patch #1450559).
|
||||||
|
* libraries/plugin_interface.lib.php: Add support for hidden inputs.
|
||||||
|
|
||||||
2006-03-15 Michal Čihař <michal@cihar.com>
|
2006-03-15 Michal Čihař <michal@cihar.com>
|
||||||
* libraries/export/htmlexcel.php: Fix output handling (bug #1450555).
|
* 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 .= '>' . PMA_getString($val) . '</option>';
|
||||||
}
|
}
|
||||||
$ret .= '</select>';
|
$ret .= '</select>';
|
||||||
|
} elseif ($opt['type'] == 'hidden') {
|
||||||
|
$ret .= '<input type="hidden" name="' . $plugin_name . '_' . $opt['name'] . '"'
|
||||||
|
. ' value="' . PMA_pluginGetDefault($section, $plugin_name . '_' . $opt['name']) . '"' . ' />';
|
||||||
} else {
|
} else {
|
||||||
/* This should be seen only by plugin writers, so I do not thing this
|
/* This should be seen only by plugin writers, so I do not thing this
|
||||||
* needs translation. */
|
* needs translation. */
|
||||||
|
Reference in New Issue
Block a user