XHTML other fixes

This commit is contained in:
Marc Delisle
2009-02-16 10:13:51 +00:00
parent 0f317b5c65
commit eb74324b59
3 changed files with 5 additions and 6 deletions

View File

@@ -2208,7 +2208,7 @@ function PMA_listNavigator($count, $pos, $_url_params, $script, $frame, $max_cou
echo "\n", '<form action="./', basename($script), '" method="post" target="', $frame, '">', "\n";
echo PMA_generate_common_hidden_inputs($_url_params);
echo PMA_pageselector(
$script . PMA_generate_common_url($_url_params) . '&',
$script . PMA_generate_common_url($_url_params) . '&amp;',
$max_count,
floor(($pos + 1) / $max_count) + 1,
ceil($count / $max_count));

View File

@@ -36,7 +36,7 @@ if ($is_create_db_priv) {
<strong><?php echo $strCreateNewDatabase . ':&nbsp;' . PMA_showMySQLDocu('SQL-Syntax', 'CREATE_DATABASE'); ?></strong><br />
<?php
echo '<span class="noPrivileges">'
. ($cfg['ErrorIconic'] ? '<img src="' . $pmaThemeImage . 's_error2.png" width="11" height="11" hspace="2" border="0" align="middle" />' : '')
. ($cfg['ErrorIconic'] ? '<img src="' . $pmaThemeImage . 's_error2.png" alt="" width="11" height="11" hspace="2" border="0" align="middle" />' : '')
. '' . $strNoPrivileges .'</span>';
} // end create db form or message
?>

View File

@@ -250,10 +250,9 @@ if ($databases_count > 0) {
if ($is_superuser) {
echo ' <td class="tool">' . "\n"
. ' <a onclick="
// <![CDATA[
if (window.parent.setDb) window.parent.setDb(\'' . PMA_jsFormat($current['SCHEMA_NAME']) . '\');
// ]]>" href="./server_privileges.php?' . $url_query
. ' <a onclick="'
. 'if (window.parent.setDb) window.parent.setDb(\'' . PMA_jsFormat($current['SCHEMA_NAME']) . '\');'
. '" href="./server_privileges.php?' . $url_query
. '&amp;checkprivs=' . urlencode($current['SCHEMA_NAME'])
. '" title="' . sprintf($strCheckPrivsLong, htmlspecialchars($current['SCHEMA_NAME']))
. '">'. "\n"