The branch, master has been updated via 326f13827b1779c310a93beb6ffc95404fbe1ff5 (commit) from fd7fb4875f8b7c0e78f14ccc6e46f54e753488cf (commit)
- Log ----------------------------------------------------------------- commit 326f13827b1779c310a93beb6ffc95404fbe1ff5 Author: Madhura Jayaratne madhura.cj@gmail.com Date: Tue Mar 15 20:35:53 2011 +0530
Do not highlight rows of these tables
-----------------------------------------------------------------------
Summary of changes: db_search.php | 2 +- db_tracking.php | 4 ++-- libraries/tbl_triggers.lib.php | 2 +- server_binlog.php | 2 +- server_engines.php | 6 +++--- server_processlist.php | 2 +- server_status.php | 20 ++++++++++---------- server_variables.php | 2 +- tbl_change.php | 2 +- tbl_select.php | 2 +- tbl_tracking.php | 10 +++++----- 11 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/db_search.php b/db_search.php index c401a4f..fba68d1 100644 --- a/db_search.php +++ b/db_search.php @@ -243,7 +243,7 @@ if (isset($_REQUEST['submit_search'])) {
$sql_query .= $newsearchsqls['select_count'];
- echo '<tr class="' . ($odd_row ? 'odd' : 'even') . '">' + echo '<tr class="noclick ' . ($odd_row ? 'odd' : 'even') . '">' .'<td>' . sprintf(_ngettext('%s match inside table <i>%s</i>', '%s matches inside table <i>%s</i>', $res_cnt), $res_cnt, htmlspecialchars($each_table)) . "</td>\n";
diff --git a/db_tracking.php b/db_tracking.php index dbd5c5f..c0421d6 100644 --- a/db_tracking.php +++ b/db_tracking.php @@ -123,7 +123,7 @@ if (PMA_DBI_num_rows($all_tables_result) > 0) { $tmp_link = 'tbl_tracking.php?' . $url_query . '&table=' . htmlspecialchars($version_data['table_name']); $delete_link = 'db_tracking.php?' . $url_query . '&table=' . htmlspecialchars($version_data['table_name']) . '&delete_tracking=true&'; ?> - <tr class="<?php echo $style;?>"> + <tr class="noclick <?php echo $style;?>"> <td><?php echo htmlspecialchars($version_data['db_name']);?></td> <td><?php echo htmlspecialchars($version_data['table_name']);?></td> <td><?php echo $version_data['version'];?></td> @@ -202,7 +202,7 @@ if (isset($my_tables)) { } $my_link .= __('Track table') . '</a>'; ?> - <tr class="<?php echo $style;?>"> + <tr class="noclick <?php echo $style;?>"> <td><?php echo htmlspecialchars($tablename);?></td> <td><?php echo $my_link;?></td> </tr> diff --git a/libraries/tbl_triggers.lib.php b/libraries/tbl_triggers.lib.php index 15f07b2..0663ef4 100644 --- a/libraries/tbl_triggers.lib.php +++ b/libraries/tbl_triggers.lib.php @@ -37,7 +37,7 @@ if ($triggers) { foreach ($triggers as $trigger) { $drop_and_create = $trigger['drop'] . $delimiter . "\n" . $trigger['create'] . "\n";
- echo sprintf('<tr class="%s"> + echo sprintf('<tr class="noclick %s"> <td><strong>%s</strong></td> <td>%s</td> <td>%s</td> diff --git a/server_binlog.php b/server_binlog.php index df41b97..b491565 100644 --- a/server_binlog.php +++ b/server_binlog.php @@ -212,7 +212,7 @@ while ($value = PMA_DBI_fetch_assoc($result)) { $value['Info'] = PMA_substr($value['Info'], 0, $GLOBALS['cfg']['LimitChars']) . '...'; } ?> -<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>"> +<tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; ?>"> <td> <?php echo $value['Log_name']; ?> </td> <td align="right"> <?php echo $value['Pos']; ?> </td> <td> <?php echo $value['Event_type']; ?> </td> diff --git a/server_engines.php b/server_engines.php index 7bdccc8..4eb5312 100644 --- a/server_engines.php +++ b/server_engines.php @@ -65,7 +65,7 @@ if (empty($_REQUEST['engine']) */ $odd_row = true; foreach (PMA_StorageEngine::getStorageEngines() as $engine => $details) { - echo '<tr class="' + echo '<tr class="noclick ' . ($odd_row ? 'odd' : 'even') . ($details['Support'] == 'NO' || $details['Support'] == 'DISABLED' ? ' disabled' @@ -83,7 +83,7 @@ if (empty($_REQUEST['engine']) $PMA_Config = $GLOBALS['PMA_Config']; if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST')) { // Special case for PBMS daemon which is not listed as an engine - echo '<tr class="' + echo '<tr class="noclick ' . ($odd_row ? 'odd' : 'even') . '">' . "\n" . ' <td><a href="./server_engines.php' @@ -91,7 +91,7 @@ if (empty($_REQUEST['engine']) . ' ' . "PBMS\n" . ' </a></td>' . "\n" . ' <td>' . htmlspecialchars("PrimeBase MediaStream (PBMS) daemon") . '</td>' . "\n" - . '</tr>' . "\n"; + . '</tr>' . "\n"; }
unset($odd_row, $engine, $details); diff --git a/server_processlist.php b/server_processlist.php index 1e31021..ea31a76 100644 --- a/server_processlist.php +++ b/server_processlist.php @@ -74,7 +74,7 @@ while($process = PMA_DBI_fetch_assoc($result)) { $url_params['kill'] = $process['Id']; $kill_process = 'server_processlist.php' . PMA_generate_common_url($url_params); ?> -<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>"> +<tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; ?>"> <td><a href="<?php echo $kill_process ; ?>"><?php echo __('Kill'); ?></a></td> <td class="value"><?php echo $process['Id']; ?></td> <td><?php echo $process['User']; ?></td> diff --git a/server_status.php b/server_status.php index ca81691..c67c63a 100644 --- a/server_status.php +++ b/server_status.php @@ -516,7 +516,7 @@ foreach ($sections as $section_name => $section) { </tr> </thead> <tbody> -<tr class="odd"> +<tr class="noclick odd"> <th class="name"><?php echo __('Received'); ?></th> <td class="value"><?php echo implode(' ', @@ -526,7 +526,7 @@ foreach ($sections as $section_name => $section) { PMA_formatByteDown( $server_status['Bytes_received'] * $hour_factor, 2, 1)); ?></td> </tr> -<tr class="even"> +<tr class="noclick even"> <th class="name"><?php echo __('Sent'); ?></th> <td class="value"><?php echo implode(' ', @@ -536,7 +536,7 @@ foreach ($sections as $section_name => $section) { PMA_formatByteDown( $server_status['Bytes_sent'] * $hour_factor, 2, 1)); ?></td> </tr> -<tr class="odd"> +<tr class="noclick odd"> <th class="name"><?php echo __('Total'); ?></th> <td class="value"><?php echo implode(' ', @@ -562,14 +562,14 @@ foreach ($sections as $section_name => $section) { </tr> </thead> <tbody> -<tr class="odd"> +<tr class="noclick odd"> <th class="name"><?php echo __('max. concurrent connections'); ?></th> <td class="value"><?php echo PMA_formatNumber($server_status['Max_used_connections'], 0); ?> </td> <td class="value">--- </td> <td class="value">--- </td> </tr> -<tr class="even"> +<tr class="noclick even"> <th class="name"><?php echo __('Failed attempts'); ?></th> <td class="value"><?php echo PMA_formatNumber($server_status['Aborted_connects'], 4, 0); ?></td> @@ -583,7 +583,7 @@ foreach ($sections as $section_name => $section) { 0, 2) . '%' : '--- '; ?></td> </tr> -<tr class="odd"> +<tr class="noclick odd"> <th class="name"><?php echo __('Aborted'); ?></th> <td class="value"><?php echo PMA_formatNumber($server_status['Aborted_clients'], 4, 0); ?></td> @@ -597,7 +597,7 @@ foreach ($sections as $section_name => $section) { 0, 2) . '%' : '--- '; ?></td> </tr> -<tr class="even"> +<tr class="noclick even"> <th class="name"><?php echo __('Total'); ?></th> <td class="value"><?php echo PMA_formatNumber($server_status['Connections'], 4, 0); ?></td> @@ -628,7 +628,7 @@ foreach ($sections as $section_name => $section) { </tr> </thead> <tbody> -<tr class="odd"> +<tr class="noclick odd"> <td class="value"><?php echo PMA_formatNumber($server_status['Questions'], 4, 0); ?></td> <td class="value"><?php echo @@ -697,7 +697,7 @@ foreach ($used_queries as $name => $value) { $name = str_replace('Com_', '', $name); $name = str_replace('_', ' ', $name); ?> - <tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>"> + <tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; ?>"> <th class="name"><?php echo htmlspecialchars($name); ?></th> <td class="value"><?php echo PMA_formatNumber($value, 4, 0); ?></td> <td class="value"><?php echo @@ -799,7 +799,7 @@ if (! empty($section['title'])) { foreach ($section['vars'] as $name => $value) { $odd_row = !$odd_row; ?> - <tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>"> + <tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; ?>"> <th class="name"><?php echo htmlspecialchars($name) . PMA_showMySQLDocu('server-status-variables', 'server-status-variables', false, 'statvar_' . $name); ?> </th> <td class="value"><?php diff --git a/server_variables.php b/server_variables.php index fefa119..f601fe8 100644 --- a/server_variables.php +++ b/server_variables.php @@ -62,7 +62,7 @@ echo __('Session value') . ' / ' . __('Global value'); $odd_row = true; foreach ($serverVars as $name => $value) { ?> -<tr class="<?php +<tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; if ($serverVarsGlobal[$name] !== $value) { echo ' marked'; diff --git a/tbl_change.php b/tbl_change.php index 713f02d..0f061b2 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -457,7 +457,7 @@ foreach ($rows as $row_id => $vrow) { $vrow[$field['Field']] = date('Y-m-d H:i:s', time()); } ?> - <tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>"> + <tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; ?>"> <td <?php echo ($cfg['LongtextDoubleTextarea'] && strstr($field['True_Type'], 'longtext') ? 'rowspan="2"' : ''); ?> align="center"> <?php echo $field['Field_title']; ?> <input type="hidden" name="fields_name<?php echo $field_name_appendix; ?>" value="<?php echo $field['Field_html']; ?>"/> diff --git a/tbl_select.php b/tbl_select.php index 0d8cbb7..2cb0086 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -122,7 +122,7 @@ if (!isset($param) || $param[0] == '') {
for ($i = 0; $i < $fields_cnt; $i++) { ?> - <tr class="<?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>"> + <tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>"> <th><?php echo htmlspecialchars($fields_list[$i]); ?></th> <td><?php echo $fields_type[$i]; ?></td> <td><?php echo $fields_collation[$i]; ?></td> diff --git a/tbl_tracking.php b/tbl_tracking.php index 9b9dbcf..b651986 100644 --- a/tbl_tracking.php +++ b/tbl_tracking.php @@ -278,7 +278,7 @@ if (isset($_REQUEST['snapshot'])) { $style = 'odd'; foreach($columns as $field_index => $field) { ?> - <tr class="<?php echo $style; ?>"> + <tr class="noclick <?php echo $style; ?>"> <?php if ($field['Key'] == 'PRI') { echo '<td><b><u>' . $field['Field'] . '</u></b></td>' . "\n"; @@ -336,7 +336,7 @@ if (isset($_REQUEST['snapshot'])) { $str_packed = __('No'); } ?> - <tr class="<?php echo $style; ?>"> + <tr class="noclick <?php echo $style; ?>"> <td><b><?php echo $index['Key_name'];?></b></td> <td><?php echo $index['Index_type'];?></td> <td><?php echo $str_unique;?></td> @@ -420,7 +420,7 @@ if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) { if ($timestamp >= $filter_ts_from && $timestamp <= $filter_ts_to && ( in_array('*', $filter_users) || in_array($entry['username'], $filter_users) ) ) { ?> - <tr class="<?php echo $style; ?>"> + <tr class="noclick <?php echo $style; ?>"> <td><small><?php echo $i;?></small></td> <td><small><?php echo $entry['date'];?></small></td> <td><small><?php echo $entry['username']; ?></small></td> @@ -471,7 +471,7 @@ if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) { if ($timestamp >= $filter_ts_from && $timestamp <= $filter_ts_to && ( in_array('*', $filter_users) || in_array($entry['username'], $filter_users) ) ) { ?> - <tr class="<?php echo $style; ?>"> + <tr class="noclick <?php echo $style; ?>"> <td><small><?php echo $i; ?></small></td> <td><small><?php echo $entry['date']; ?></small></td> <td><small><?php echo $entry['username']; ?></small></td> @@ -608,7 +608,7 @@ if ($last_version > 0) { $tracking_active = true; } ?> - <tr class="<?php echo $style;?>"> + <tr class="noclick <?php echo $style;?>"> <td><?php echo htmlspecialchars($version['db_name']);?></td> <td><?php echo htmlspecialchars($version['table_name']);?></td> <td><?php echo $version['version'];?></td>
hooks/post-receive