From bd3595f7cb26acbddb278c511636ec1cb7eac864 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 13 Jan 2009 22:55:44 +0000 Subject: [PATCH] patch #2498350 [cleanup] XHTML cleanup --- ChangeLog | 1 + db_qbe.php | 2 +- db_search.php | 2 +- db_structure.php | 2 +- libraries/header_printview.inc.php | 1 - server_privileges.php | 4 ++-- view_create.php | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 628fb4d505..59e093035e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA thanks to Bryce Thornton - brycethornton - patch #2486825 [lang] Wrong string in setup script hints, thanks to Isaac Bennetch - ibennetch +- patch #2498350 [cleanup] XHTML cleanup, thanks to Virsacer - virsacer 3.1.3.0 (not yet released) + [lang] Turkish update, thanks to Burak Yavuz diff --git a/db_qbe.php b/db_qbe.php index e65cd10d7d..6b358eb95d 100644 --- a/db_qbe.php +++ b/db_qbe.php @@ -167,8 +167,8 @@ function showColumnSelectCell($columns, $column_number, $selected = '') } ?> -
+
diff --git a/db_search.php b/db_search.php index 73c1f9e7f8..bbdffaf157 100644 --- a/db_search.php +++ b/db_search.php @@ -350,7 +350,7 @@ $alter_select = + diff --git a/db_structure.php b/db_structure.php index 284ab26f6c..023ad7619c 100644 --- a/db_structure.php +++ b/db_structure.php @@ -165,7 +165,7 @@ function PMA_SortableTableHeader($title, $sort) $url = 'db_structure.php'.PMA_generate_common_url($_url_params); // We set the position back to 0 every time they sort. - $url .= "&pos=0&sort=$sort&sort_order=$sort_order"; + $url .= "&pos=0&sort=$sort&sort_order=$sort_order"; return PMA_linkOrButton($url, $title . $order_img, $order_link_params); } diff --git a/libraries/header_printview.inc.php b/libraries/header_printview.inc.php index 70996f761e..3fba004bb5 100644 --- a/libraries/header_printview.inc.php +++ b/libraries/header_printview.inc.php @@ -49,7 +49,6 @@ if ($text_dir == 'ltr') { <?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?> - diff --git a/server_privileges.php b/server_privileges.php index 6eec4749cf..bae17b7c8a 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -1549,7 +1549,8 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs . ' ' . "\n" . ' ' . "\n"; + . ' ' . "\n" + . '' . "\n"; } else { unset ($row); @@ -1559,7 +1560,6 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs . ' ' . $GLOBALS['strAddUser'] . '' . "\n" . ' ' . "\n"; } // end if (display overview) - echo '' . "\n"; $flushnote = new PMA_Message('strFlushPrivilegesNote', PMA_Message::NOTICE); $flushnote->addParam('', false); $flushnote->addParam('', false); diff --git a/view_create.php b/view_create.php index b3b06a0f79..41699dbe14 100644 --- a/view_create.php +++ b/view_create.php @@ -168,9 +168,9 @@ $url_params['reload'] = 1; if (in_array($option, $view['with'])) { echo ' checked="checked"'; } - echo ' id="view_with_' . htmlspecialchars($option) . '"'; + echo ' id="view_with_' . str_replace(' ', '_', htmlspecialchars($option)) . '"'; echo ' value="' . htmlspecialchars($option) . '" />'; - echo '
:
-