Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo Michael <me@mynetx.net>2012-04-11 17:50:45 +0400
committerJo Michael <me@mynetx.net>2012-04-11 17:50:45 +0400
commit42cc92c692c0dc2f10fb894683e10eea33404520 (patch)
tree22f55746a82a7c8d1f0e39849c6cb4c2d72d83ee /db_structure.php
parentc97963f226cfc85fa2febb93d9083e3513efeda6 (diff)
Add class=marked when checking tables having overhead
Diffstat (limited to 'db_structure.php')
-rw-r--r--db_structure.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/db_structure.php b/db_structure.php
index 9d505ff2c9..f546445c8f 100644
--- a/db_structure.php
+++ b/db_structure.php
@@ -261,7 +261,7 @@ foreach ($tables as $keyname => $each_table) {
. '</span> <span class="unit">' . $overhead_unit . '</span></a>' . "\n";
unset($formatted_overhead);
$overhead_check .=
- "document.getElementById('checkbox_tbl_" . ($i + 1) . "').checked = true;";
+ "markAllRows('row_tbl_" . ($i + 1) . "');";
} else {
$overhead = '-';
}
@@ -446,7 +446,8 @@ foreach ($tables as $keyname => $each_table) {
unset($table_part);
}
?>
-<tr class="<?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>">
+<tr class="<?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>"
+ id="row_tbl_<?php echo $i; ?>">
<td class="center">
<input type="checkbox" name="selected_tbl[]"
value="<?php echo htmlspecialchars($each_table['TABLE_NAME']); ?>"