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 "\n", '<form action="./', basename($script), '" method="post" target="', $frame, '">', "\n";
echo PMA_generate_common_hidden_inputs($_url_params); echo PMA_generate_common_hidden_inputs($_url_params);
echo PMA_pageselector( echo PMA_pageselector(
$script . PMA_generate_common_url($_url_params) . '&', $script . PMA_generate_common_url($_url_params) . '&amp;',
$max_count, $max_count,
floor(($pos + 1) / $max_count) + 1, floor(($pos + 1) / $max_count) + 1,
ceil($count / $max_count)); 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 /> <strong><?php echo $strCreateNewDatabase . ':&nbsp;' . PMA_showMySQLDocu('SQL-Syntax', 'CREATE_DATABASE'); ?></strong><br />
<?php <?php
echo '<span class="noPrivileges">' 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>'; . '' . $strNoPrivileges .'</span>';
} // end create db form or message } // end create db form or message
?> ?>

View File

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