XHTML fixes

This commit is contained in:
Marc Delisle
2008-06-28 13:44:48 +00:00
parent d6d52dbb03
commit d7ae565ad9

View File

@@ -218,8 +218,7 @@ function PMA_pluginGetOneOption($section, $plugin_name, $id, &$opt)
$ret .= '</div>' . "\n";
} elseif ($opt['type'] == 'message_only') {
$ret .= '<div class="formelementrow">' . "\n";
$ret .= '<label for="text_' . $plugin_name . '_' . $opt['name'] . '" class="desc">'
. PMA_getString($opt['text']) . '</label>';
$ret .= '<p class="desc">' . PMA_getString($opt['text']) . '</p>';
$ret .= '</div>' . "\n";
} elseif ($opt['type'] == 'select') {
$ret .= '<div class="formelementrow">' . "\n";
@@ -229,7 +228,7 @@ function PMA_pluginGetOneOption($section, $plugin_name, $id, &$opt)
. ' id="select_' . $plugin_name . '_' . $opt['name'] . '">';
$default = PMA_pluginGetDefault($section, $plugin_name . '_' . $opt['name']);
foreach($opt['values'] as $key => $val) {
$ret .= '<option name="' . $key . '"';
$ret .= '<option value="' . $key . '"';
if ($key == $default) {
$ret .= ' selected="selected"';
}