The default plugin options should be displayed on the import form but not on the export form (because of quick export)

This commit is contained in:
lorilee
2010-06-15 23:39:42 -04:00
parent 135868db80
commit 347cfc7eaa

View File

@@ -303,7 +303,9 @@ function PMA_pluginGetOptions($section, &$list)
// Options for plugins that support them // Options for plugins that support them
foreach ($list as $plugin_name => $val) { foreach ($list as $plugin_name => $val) {
$ret .= '<div id="' . $plugin_name . '_options" class="format_specific_options"'; $ret .= '<div id="' . $plugin_name . '_options" class="format_specific_options"';
if($plugin_name != $default) { if($section == 'Import' && $plugin_name == $default) {
$ret .= '>';
} else {
$ret .= ' style="display: none;">'; $ret .= ' style="display: none;">';
} }
$ret .= '<ul>'; $ret .= '<ul>';