The branch, master has been updated via 46ba122b8f72fa5d577d1ca0eef39e0f2dd9e39c (commit) from 76194fd122690cbe3947bfa25ae5d40de82d1d35 (commit)
- Log ----------------------------------------------------------------- commit 46ba122b8f72fa5d577d1ca0eef39e0f2dd9e39c Author: Piotr Przybylski piotrprz@gmail.com Date: Wed May 25 18:59:21 2011 +0200
Add 'nockick' class to databases that can't be dropped in server database list
-----------------------------------------------------------------------
Summary of changes: server_databases.php | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/server_databases.php b/server_databases.php index 365055a..051345d 100644 --- a/server_databases.php +++ b/server_databases.php @@ -197,7 +197,11 @@ if ($databases_count > 0) {
$odd_row = true; foreach ($databases as $current) { - echo '<tr class="' . ($odd_row ? 'odd' : 'even') . '">' . "\n"; + $tr_class = $odd_row ? 'odd' : 'even'; + if ($current['SCHEMA_NAME'] == 'mysql' || $current['SCHEMA_NAME'] == 'information_schema') { + $tr_class .= ' noclick'; + } + echo '<tr class="' . $tr_class . '">' . "\n"; $odd_row = ! $odd_row;
list($column_order, $generated_html) = PMA_buildHtmlForDb($current, $is_superuser, (isset($checkall) ? $checkall : ''), $url_query, $column_order, $replication_types, $replication_info);
hooks/post-receive