Permalink
Browse files

Removed: table[border] attribute (default is 0 anyways), a[rel] for n…

…on-standard values for HTML5 validity
  • Loading branch information...
Jo Michael
Jo Michael committed Mar 18, 2012
1 parent 49b6e49 commit 03eeeb3ccd3272c8a68232c6bc03116434840801
View
@@ -451,7 +451,7 @@ function showColumnSelectCell($columns, $column_number, $selected = '')
<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?> noclick">
<td align="<?php echo $cell_align_right; ?>" nowrap="nowrap">
<!-- Row controls -->
- <table border="0" cellpadding="0" cellspacing="0">
+ <table cellpadding="0" cellspacing="0">
<tr>
<td align="<?php echo $cell_align_right; ?>" nowrap="nowrap">
<small><?php echo __('Ins'); ?>:</small>
@@ -600,7 +600,7 @@ function showColumnSelectCell($columns, $column_number, $selected = '')
?>
</fieldset>
<fieldset class="tblFooters">
-<table border="0" cellpadding="2" cellspacing="1">
+<table cellpadding="2" cellspacing="1">
<tr>
<td nowrap="nowrap">
<?php echo __('Add/Delete criteria rows'); ?>:
View
@@ -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");
});
View
@@ -76,7 +76,7 @@ $(function() {
});
// Popup behaviour
- $('a[rel="popupLink"]').click( function() {
+ $('a.popupLink').click( function() {
var $link = $(this);
$('.' + $link.attr('href').substr(1))
@@ -1615,7 +1615,7 @@ $(function() {
function buildLogTable(data) {
var rows = data.rows;
var cols = new Array();
- var $table = $('<table border="0" class="sortable"></table>');
+ var $table = $('<table class="sortable"></table>');
var $tBody, $tRow, $tCell;
$('#logTable').html($table);
@@ -86,7 +86,7 @@ function PMA_auth_fails()
<h1><?php echo sprintf(__('Welcome to %s'), ' phpMyAdmin '); ?></h1>
</center>
<br />
-<table border="0" cellpadding="0" cellspacing="3" align="center" width="80%">
+<table cellpadding="0" cellspacing="3" align="center" width="80%">
<tr>
<td>
@@ -297,7 +297,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query, $id_for_di
?>
<!-- Navigation bar -->
-<table border="0" cellpadding="0" cellspacing="0" class="navigation">
+<table cellpadding="0" cellspacing="0" class="navigation">
<tr>
<td class="navigation_separator"></td>
<?php
@@ -267,7 +267,7 @@ public function showTableDashBoard()
<?php echo PMA_generate_common_hidden_inputs($db, $table); ?>
<input type="hidden" name="chpage" value="<?php echo htmlspecialchars($this->chosenPage); ?>" />
<input type="hidden" name="do" value="edcoord" />
- <table border="0">
+ <table>
<tr>
<th><?php echo __('Table'); ?></th>
<th><?php echo __('Delete'); ?></th>
View
@@ -330,7 +330,7 @@ class="M_butt" target="_self">';
<div id='layer_action' style="display:none;">Load...</div>
<table id="layer_new_relation" style="display:none;"
- width="5%" border="0" cellpadding="0" cellspacing="0">
+ width="5%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="frams1" width="10px"></td>
@@ -340,7 +340,7 @@ class="M_butt" target="_self">';
<tr>
<td class="frams8"></td>
<td class="input_tab">
- <table width="168" border="0" align="center" cellpadding="2" cellspacing="0">
+ <table width="168" align="center" cellpadding="2" cellspacing="0">
<thead>
<tr>
<td colspan="2" align="center" nowrap="nowrap"><strong><?php echo __('Create relation'); ?></strong></td>
@@ -397,7 +397,7 @@ class="M_butt" target="_self">';
</table>
<table id="layer_upd_relation" style="display:none;"
- width="5%" border="0" cellpadding="0" cellspacing="0">
+ width="5%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="frams1" width="10px"></td>
@@ -407,7 +407,7 @@ class="M_butt" target="_self">';
<tr>
<td class="frams8"></td>
<td class="input_tab">
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
+ <table width="100%" align="center" cellpadding="2" cellspacing="0">
<tr>
<td colspan="3" align="center" nowrap="nowrap"><strong><?php echo __('Delete relation'); ?></strong></td>
</tr>
@@ -432,7 +432,7 @@ class="M_butt" target="_self">';
</table>
<table id="pmd_optionse" style="display:none;"
- width="5%" border="0" cellpadding="0" cellspacing="0">
+ width="5%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="frams1" width="10px"></td>
@@ -442,7 +442,7 @@ class="M_butt" target="_self">';
<tr>
<td class="frams8"></td>
<td class="input_tab">
- <table width="168" border="0" align="center" cellpadding="2" cellspacing="0">
+ <table width="168" align="center" cellpadding="2" cellspacing="0">
<thead>
<tr>
<td colspan="2" rowspan="2" id="option_col_name" nowrap="nowrap" align="center"></td>
@@ -454,11 +454,11 @@ class="M_butt" target="_self">';
<td width="58" nowrap="nowrap"><?php echo __('Relation operator'); ?></td>
<td width="102"><select name="rel_opt" id="rel_opt">
<option value="--" selected="selected"> -- </option>
- <option value="=" > = </option>
- <option value=">"> > </option>
- <option value="<"> < </option>
- <option value=">="> >= </option>
- <option value="<="> <= </option>
+ <option value="="> = </option>
+ <option value="&gt;"> &gt; </option>
+ <option value="&lt;"> &lt; </option>
+ <option value="&gt;="> &gt;= </option>
+ <option value="&lt;="> &lt;= </option>
<option value="NOT"> NOT </option>
<option value="IN"> IN </option>
<option value="EXCEPT"> <?php echo __('Except'); ?> </option>
@@ -513,11 +513,11 @@ class="M_butt" target="_self">';
<td width="58" nowrap="nowrap"><?php echo __('Relation operator'); ?></td>
<td width="102"><select name="h_rel_opt" id="h_rel_opt">
<option value="--" selected="selected"> -- </option>
- <option value="=" > = </option>
- <option value=">"> > </option>
- <option value="<"> < </option>
- <option value=">="> >= </option>
- <option value="<="> <= </option>
+ <option value="="> = </option>
+ <option value="&gt;"> &gt; </option>
+ <option value="&lt;"> &lt; </option>
+ <option value="&gt;="> &gt;= </option>
+ <option value="&lt;="> &lt;= </option>
<option value="NOT"> NOT </option>
<option value="IN"> IN </option>
<option value="EXCEPT"> <?php echo __('Except'); ?> </option>
@@ -554,7 +554,7 @@ class="M_butt" target="_self">';
</table>
<table id="query_rename_to" style="display:none;"
- width="5%" border="0" cellpadding="0" cellspacing="0">
+ width="5%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="frams1" width="10px"></td>
@@ -564,7 +564,7 @@ class="M_butt" target="_self">';
<tr>
<td class="frams8"></td>
<td class="input_tab">
- <table width="168" border="0" align="center" cellpadding="2" cellspacing="0">
+ <table width="168" align="center" cellpadding="2" cellspacing="0">
<thead>
<tr>
<td colspan="2" align="center" nowrap="nowrap"><strong><?php echo __('Rename to'); ?></strong></td>
@@ -602,7 +602,7 @@ class="M_butt" target="_self">';
</table>
<table id="query_having" style="display:none;"
- width="5%" border="0" cellpadding="0" cellspacing="0">
+ width="5%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="frams1" width="10px"></td>
@@ -612,7 +612,7 @@ class="M_butt" target="_self">';
<tr>
<td class="frams8"></td>
<td class="input_tab">
- <table width="168" border="0" align="center" cellpadding="2" cellspacing="0">
+ <table width="168" align="center" cellpadding="2" cellspacing="0">
<thead>
<tr>
<td colspan="2" align="center" nowrap="nowrap"><strong>HAVING</strong></td>
@@ -636,11 +636,11 @@ class="M_butt" target="_self">';
<td width="58" nowrap="nowrap"><?php echo __('Operator'); ?></td>
<td width="102"><select name="hrel_opt" id="hrel_opt">
<option value="--" selected="selected"> -- </option>
- <option value="=" > = </option>
- <option value=">"> > </option>
- <option value="<"> < </option>
- <option value=">="> >= </option>
- <option value="<="> <= </option>
+ <option value="="> = </option>
+ <option value="&gt;"> &gt; </option>
+ <option value="&lt;"> &lt; </option>
+ <option value="&gt;="> &gt;= </option>
+ <option value="&lt;="> &lt;= </option>
<option value="NOT"> NOT </option>
<option value="IN"> IN </option>
<option value="EXCEPT"> <?php echo __('Except'); ?> </option>
@@ -678,7 +678,7 @@ class="M_butt" target="_self">';
</table>
<table id="query_Aggregate" style="display:none;"
- width="5%" border="0" cellpadding="0" cellspacing="0">
+ width="5%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="frams1" width="10px"></td>
@@ -688,7 +688,7 @@ class="M_butt" target="_self">';
<tr>
<td class="frams8"></td>
<td class="input_tab">
- <table width="168" border="0" align="center" cellpadding="2" cellspacing="0">
+ <table width="168" align="center" cellpadding="2" cellspacing="0">
<thead>
<tr>
<td colspan="2" align="center" nowrap="nowrap"><strong><?php echo __('Aggregate'); ?></strong></td>
@@ -732,7 +732,7 @@ class="M_butt" target="_self">';
</table>
<table id="query_where" style="display:none;"
- width="5%" border="0" cellpadding="0" cellspacing="0">
+ width="5%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="frams1" width="10px"></td>
@@ -742,7 +742,7 @@ class="M_butt" target="_self">';
<tr>
<td class="frams8"></td>
<td class="input_tab">
- <table width="168" border="0" align="center" cellpadding="2" cellspacing="0">
+ <table width="168" align="center" cellpadding="2" cellspacing="0">
<thead>
<tr>
<td colspan="2" align="center" nowrap="nowrap"><strong>WHERE</strong></td>
@@ -754,10 +754,10 @@ class="M_butt" target="_self">';
<td width="102"><select name="erel_opt" id="erel_opt">
<option value="--" selected="selected"> -- </option>
<option value="=" > = </option>
- <option value=">"> > </option>
- <option value="<"> < </option>
- <option value=">="> >= </option>
- <option value="<="> <= </option>
+ <option value="&gt;"> &gt; </option>
+ <option value="&lt;"> &lt; </option>
+ <option value="&gt;="> &gt;= </option>
+ <option value="&lt;="> &lt;= </option>
<option value="NOT"> NOT </option>
<option value="IN"> IN </option>
<option value="EXCEPT"> <?php echo __('Except'); ?> </option>
View
@@ -117,7 +117,7 @@
* Displays the page
*/
?>
-<table border="0" cellpadding="2" cellspacing="1">
+<table cellpadding="2" cellspacing="1">
<thead>
<tr>
<td colspan="6" align="center">
View
@@ -830,13 +830,13 @@
</div>
<div id="statustabs_allvars" class="clearfloat">
<fieldset id="tableFilter" class="jsfeature">
+ <legend><?php echo __('Filters'); ?></legend>
<div class="buttonlinks">
<a class="tabRefresh" href="<?php echo $PMA_PHP_SELF . '?show=variables_table&amp;' . PMA_generate_common_url(); ?>" >
<img src="<?php echo $GLOBALS['pmaThemeImage'];?>ajax_clock_small.gif" alt="ajax clock" style="display: none;" />
<?php echo __('Refresh'); ?>
</a>
</div>
- <legend><?php echo __('Filters'); ?></legend>
<div class="formelement">
<label for="filterText"><?php echo __('Containing the word:'); ?></label>
<input name="filterText" type="text" id="filterText" style="vertical-align: baseline;" />
@@ -1550,7 +1550,7 @@ function printMonitor()
<?php echo PMA_getImage('play.png'); ?>
<?php echo __('Start Monitor'); ?>
</a>
- <a href="#settingsPopup" rel="popupLink" style="display:none;">
+ <a href="#settingsPopup" class="popupLink" style="display:none;">
<?php echo PMA_getImage('s_cog.png'); ?>
<?php echo __('Settings'); ?>
</a>
@@ -1735,7 +1735,7 @@ function printMonitor()
</div>
<?php } ?>
- <table border="0" class="clearfloat" id="chartGrid">
+ <table class="clearfloat" id="chartGrid">
</table>
<div id="logTable">
View
@@ -1047,7 +1047,7 @@ class="<?php echo $the_class; ?>" <?php echo $unnullify_trigger; ?>
<div id="gis_editor"></div><div id="popup_background"></div>
<br />
<fieldset id="actions_panel">
- <table border="0" cellpadding="5" cellspacing="0">
+ <table cellpadding="5" cellspacing="0">
<tr>
<td valign="middle" nowrap="nowrap">
<select name="submit_type" class="control_at_footer" tabindex="<?php echo ($tabindex + $tabindex_for_value + 1); ?>">
View
@@ -261,7 +261,7 @@
?>
<br /><br />
- <table border="0" cellspacing="0" cellpadding="0" class="noborder">
+ <table cellspacing="0" cellpadding="0">
<tr>
<!-- Space usage -->
View
@@ -25,7 +25,7 @@
<body id="bodythemes">
<h1>phpMyAdmin - <?php echo __('Theme'); ?></h1>
-<p><a href="<?php echo PMA_linkURL('http://www.phpmyadmin.net/home_page/themes.php'); ?>#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>" rel="_blank"><?php echo __('Get more themes!'); ?></a></p>
+<p><a href="<?php echo PMA_linkURL('http://www.phpmyadmin.net/home_page/themes.php'); ?>#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>" class="_blank"><?php echo __('Get more themes!'); ?></a></p>
<?php
$_SESSION['PMA_Theme_Manager']->printPreviews();
?>
@@ -40,7 +40,7 @@
<br />
<br />
<h2><?php echo __('Available transformations'); ?></h2>
-<table border="0" width="90%">
+<table width="90%">
<thead>
<tr>
<th><?php echo __('Browser transformation'); ?></th>

0 comments on commit 03eeeb3

Please sign in to comment.