From 659bd9c8385f24ac9fb26838118acad6e372504e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 27 Jul 2010 09:31:30 +0200 Subject: [PATCH] Add trop/empty links to table operations tab. --- tbl_operations.php | 48 +++++++++++++++++++ .../darkblue_orange/css/theme_right.css.php | 7 +++ themes/original/css/theme_right.css.php | 7 +++ 3 files changed, 62 insertions(+) diff --git a/tbl_operations.php b/tbl_operations.php index 493a17ff4..baab85aac 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -636,6 +636,54 @@ $this_url_params = array_merge($url_params, + +
+
+ + +
    + $this_sql_query, + 'goto' => 'tbl_structure.php', + 'reload' => '1', + 'zero_rows' => sprintf(__('Table %s has been emptied'), htmlspecialchars($table)), + )); + ?> +
  • + + +
  • + $this_sql_query, + 'goto' => 'db_operations.php', + 'reload' => '1', + 'purge' => '1', + 'zero_rows' => sprintf(($tbl_is_view ? __('View %s has been dropped') : __('Table %s has been dropped')), htmlspecialchars($table)), + 'table' => NULL, + )); + ?> +
  • + + +
  • + +
+
+
+ /* active tab */ diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 53f0f23dd..a8db8260e 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -626,6 +626,13 @@ a.tabcaution:hover { color: #FFFFFF; background-color: #FF0000; } +fieldset.caution a { + color: #FF0000; +} +fieldset.caution a:hover { + color: #ffffff; + background-color: #FF0000; +} /* active tab */