patch #2498350 [cleanup] XHTML cleanup

This commit is contained in:
Marc Delisle
2009-01-13 22:55:44 +00:00
parent dd898010ba
commit bd3595f7cb
7 changed files with 8 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
thanks to Bryce Thornton - brycethornton thanks to Bryce Thornton - brycethornton
- patch #2486825 [lang] Wrong string in setup script hints, - patch #2486825 [lang] Wrong string in setup script hints,
thanks to Isaac Bennetch - ibennetch thanks to Isaac Bennetch - ibennetch
- patch #2498350 [cleanup] XHTML cleanup, thanks to Virsacer - virsacer
3.1.3.0 (not yet released) 3.1.3.0 (not yet released)
+ [lang] Turkish update, thanks to Burak Yavuz + [lang] Turkish update, thanks to Burak Yavuz

View File

@@ -167,8 +167,8 @@ function showColumnSelectCell($columns, $column_number, $selected = '')
} }
?> ?>
<fieldset>
<form action="db_qbe.php" method="post"> <form action="db_qbe.php" method="post">
<fieldset>
<table class="data" style="width: 100%;"> <table class="data" style="width: 100%;">
<tr class="odd noclick"> <tr class="odd noclick">
<th><?php echo $strField; ?>:</th> <th><?php echo $strField; ?>:</th>

View File

@@ -350,7 +350,7 @@ $alter_select =
</td> </td>
</tr> </tr>
<tr><td align="right" valign="bottom"> <tr><td align="right" valign="bottom">
<?php echo $alter_select; ?></td></tr> <?php echo $alter_select; ?></td>
</tr> </tr>
<tr><td align="right"> <tr><td align="right">
<?php echo $GLOBALS['strSearchInField']; ?></td> <?php echo $GLOBALS['strSearchInField']; ?></td>

View File

@@ -165,7 +165,7 @@ function PMA_SortableTableHeader($title, $sort)
$url = 'db_structure.php'.PMA_generate_common_url($_url_params); $url = 'db_structure.php'.PMA_generate_common_url($_url_params);
// We set the position back to 0 every time they sort. // We set the position back to 0 every time they sort.
$url .= "&pos=0&sort=$sort&sort_order=$sort_order"; $url .= "&amp;pos=0&amp;sort=$sort&amp;sort_order=$sort_order";
return PMA_linkOrButton($url, $title . $order_img, $order_link_params); return PMA_linkOrButton($url, $title . $order_img, $order_link_params);
} }

View File

@@ -49,7 +49,6 @@ if ($text_dir == 'ltr') {
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title> <title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title>
<link rel="stylesheet" type="text/css" href="phpmyadmin.css.php?<?php echo PMA_generate_common_url('', ''); ?>&amp;js_frame=print&amp;nocache=<?php echo $_SESSION['PMA_Config']->getThemeUniqueValue(); ?>" /> <link rel="stylesheet" type="text/css" href="phpmyadmin.css.php?<?php echo PMA_generate_common_url('', ''); ?>&amp;js_frame=print&amp;nocache=<?php echo $_SESSION['PMA_Config']->getThemeUniqueValue(); ?>" />
</style>
</head> </head>
<body bgcolor="#ffffff"> <body bgcolor="#ffffff">

View File

@@ -1549,7 +1549,8 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
. ' </fieldset>' . "\n" . ' </fieldset>' . "\n"
. ' <fieldset id="fieldset_delete_user_footer" class="tblFooters">' . "\n" . ' <fieldset id="fieldset_delete_user_footer" class="tblFooters">' . "\n"
. ' <input type="submit" name="delete" value="' . $GLOBALS['strGo'] . '" id="buttonGo" />' . "\n" . ' <input type="submit" name="delete" value="' . $GLOBALS['strGo'] . '" id="buttonGo" />' . "\n"
. ' </fieldset>' . "\n"; . ' </fieldset>' . "\n"
. '</form>' . "\n";
} else { } else {
unset ($row); unset ($row);
@@ -1559,7 +1560,6 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
. ' ' . $GLOBALS['strAddUser'] . '</a>' . "\n" . ' ' . $GLOBALS['strAddUser'] . '</a>' . "\n"
. ' </fieldset>' . "\n"; . ' </fieldset>' . "\n";
} // end if (display overview) } // end if (display overview)
echo '</form>' . "\n";
$flushnote = new PMA_Message('strFlushPrivilegesNote', PMA_Message::NOTICE); $flushnote = new PMA_Message('strFlushPrivilegesNote', PMA_Message::NOTICE);
$flushnote->addParam('<a href="server_privileges.php?' . $GLOBALS['url_query'] . '&amp;flush_privileges=1">', false); $flushnote->addParam('<a href="server_privileges.php?' . $GLOBALS['url_query'] . '&amp;flush_privileges=1">', false);
$flushnote->addParam('</a>', false); $flushnote->addParam('</a>', false);

View File

@@ -168,9 +168,9 @@ $url_params['reload'] = 1;
if (in_array($option, $view['with'])) { if (in_array($option, $view['with'])) {
echo ' checked="checked"'; echo ' checked="checked"';
} }
echo ' id="view_with_' . htmlspecialchars($option) . '"'; echo ' id="view_with_' . str_replace(' ', '_', htmlspecialchars($option)) . '"';
echo ' value="' . htmlspecialchars($option) . '" />'; echo ' value="' . htmlspecialchars($option) . '" />';
echo '<label for="view_with_' . htmlspecialchars($option) . '">'; echo '<label for="view_with_' . str_replace(' ', '_', htmlspecialchars($option)) . '">';
echo htmlspecialchars($option) . '</label>'; echo htmlspecialchars($option) . '</label>';
} }
?> ?>