From 03eeeb3ccd3272c8a68232c6bc03116434840801 Mon Sep 17 00:00:00 2001 From: Jo Michael Date: Sun, 18 Mar 2012 17:46:22 +0100 Subject: [PATCH] Removed: table[border] attribute (default is 0 anyways), a[rel] for non-standard values for HTML5 validity --- db_qbe.php | 4 +- js/functions.js | 2 +- js/server_status.js | 2 +- js/server_status_monitor.js | 2 +- libraries/auth/config.auth.lib.php | 2 +- libraries/display_tbl.lib.php | 2 +- libraries/schema/User_Schema.class.php | 2 +- pmd_general.php | 66 +++++++++++++------------- server_binlog.php | 2 +- server_status.php | 6 +-- tbl_change.php | 2 +- tbl_printview.php | 2 +- themes.php | 2 +- transformation_overview.php | 2 +- 14 files changed, 49 insertions(+), 49 deletions(-) diff --git a/db_qbe.php b/db_qbe.php index 8d559f3d5c..c228aba978 100644 --- a/db_qbe.php +++ b/db_qbe.php @@ -451,7 +451,7 @@ for ($y = 0; $y <= $row; $y++) { - +
: @@ -600,7 +600,7 @@ echo PMA_generate_common_hidden_inputs($url_params); ?>
- +
: diff --git a/js/functions.js b/js/functions.js index 9d104caedb..2dc0eb5201 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3630,5 +3630,5 @@ function toggleRowColors($start) * This way, we don't break HTML validity */ $(function () { - $("a[rel=_blank]").prop("target", "_blank"); + $("a._blank").prop("target", "_blank"); }); diff --git a/js/server_status.js b/js/server_status.js index 86da8ea8b8..2a043eb6e6 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -76,7 +76,7 @@ $(function() { }); // Popup behaviour - $('a[rel="popupLink"]').click( function() { + $('a.popupLink').click( function() { var $link = $(this); $('.' + $link.attr('href').substr(1)) diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 84e82c993e..15af4d1a27 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1615,7 +1615,7 @@ $(function() { function buildLogTable(data) { var rows = data.rows; var cols = new Array(); - var $table = $('
'); + var $table = $('
'); var $tBody, $tRow, $tCell; $('#logTable').html($table); diff --git a/libraries/auth/config.auth.lib.php b/libraries/auth/config.auth.lib.php index b27bdbe155..dcf9a15bb1 100644 --- a/libraries/auth/config.auth.lib.php +++ b/libraries/auth/config.auth.lib.php @@ -86,7 +86,7 @@ function PMA_auth_fails()


- +
diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index 8eb35e9a32..73fbc1a373 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -297,7 +297,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query, $id_for_di ?> - + - +
diff --git a/pmd_general.php b/pmd_general.php index 8b0e7c0aa4..b606a732de 100644 --- a/pmd_general.php +++ b/pmd_general.php @@ -330,7 +330,7 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); $i++) {
+ width="5%" cellpadding="0" cellspacing="0"> @@ -340,7 +340,7 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); $i++) {