Fix XHTML.

This commit is contained in:
Michal Čihař
2005-12-08 19:41:21 +00:00
parent 826c11215b
commit 4144110d14
2 changed files with 10 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ $Source$
* lang/czech: Fix typo. * lang/czech: Fix typo.
* tbl_select.php, libraries/display_tbl.lib.php, * tbl_select.php, libraries/display_tbl.lib.php,
tbl_properties_operations.php, tbl_indexes.php, db_operations.php, tbl_properties_operations.php, tbl_indexes.php, db_operations.php,
server_privileges.php: Fix XHTML. server_privileges.php, server_binlog.php: Fix XHTML.
* tbl_properties_export.php: Fix output before headers. * tbl_properties_export.php: Fix output before headers.
* Documentation.html: Add commands how to setup config dir, note about * Documentation.html: Add commands how to setup config dir, note about
changing permissions. changing permissions.

View File

@@ -20,7 +20,7 @@ require('./libraries/server_links.inc.php');
* Displays the sub-page heading * Displays the sub-page heading
*/ */
echo '<h2>' . "\n" echo '<h2>' . "\n"
. ($cfg['MainPageIconic'] ? '<img src="' . $pmaThemeImage . 's_process.png" width="16" height="16" border="0" hspace="2" align="middle" />' : '' ) . ($cfg['MainPageIconic'] ? '<img src="' . $pmaThemeImage . 's_process.png" width="16" height="16" border="0" hspace="2" align="middle" alt="" />' : '' )
. ' ' . $strBinaryLog . "\n" . ' ' . $strBinaryLog . "\n"
. '</h2>' . "\n"; . '</h2>' . "\n";
@@ -30,16 +30,20 @@ if (!isset($log)) $log = '';
* Display log selector. * Display log selector.
*/ */
if (count($binary_logs) > 1) { if (count($binary_logs) > 1) {
echo '<p><form action="server_binlog.php" method="get">'; echo '<form action="server_binlog.php" method="get">';
echo PMA_generate_common_hidden_inputs(); echo PMA_generate_common_hidden_inputs();
echo $strSelectBinaryLog . ': '; echo '<fieldset><legend>';
echo '<select name="log">'; echo $strSelectBinaryLog;
echo '</legend><select name="log">';
foreach($binary_logs as $name) { foreach($binary_logs as $name) {
echo '<option value="' . $name . '"' . ($name == $log ? ' selected="selected"' : '') . '>' . $name . '</option>'; echo '<option value="' . $name . '"' . ($name == $log ? ' selected="selected"' : '') . '>' . $name . '</option>';
} }
echo '</select>'; echo '</select>';
echo '</fieldset>';
echo '<fieldset class="tblFooters">';
echo '<input type="submit" value="' . $strGo . '" />'; echo '<input type="submit" value="' . $strGo . '" />';
echo '</form><br /></p>'; echo '</fieldset>';
echo '</form>';
} }