From bbedc775b9445d0aaedb760634a3103b084259af Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Wed, 11 Feb 2015 07:40:04 +0530 Subject: [PATCH] Allow checking the checkbox by clicking on the table name Signed-off-by: Madhura Jayaratne --- db_tracking.php | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/db_tracking.php b/db_tracking.php index 5bb4ff5c76..1ae04fd558 100644 --- a/db_tracking.php +++ b/db_tracking.php @@ -164,13 +164,20 @@ if ($GLOBALS['dbi']->numRows($all_tables_result) > 0) { $delete_link = 'db_tracking.php' . $url_query . '&table=' . htmlspecialchars($version_data['table_name']) . '&delete_tracking=true&'; + $checkbox_id = "selected_tbl_" + . htmlspecialchars($version_data['table_name']); ?> - - + + + @@ -272,6 +279,8 @@ if (count($my_tables) > 0) { $style = 'odd'; foreach ($my_tables as $key => $tablename) { + $checkbox_id = "selected_tbl_" + . htmlspecialchars($tablename); if (PMA_Tracker::getVersion($GLOBALS['db'], $tablename) == -1) { $my_link = ''; @@ -280,10 +289,15 @@ if (count($my_tables) > 0) { ?> - - + + +