Better tabs highlighting when editing indexes.

This commit is contained in:
Michal Čihař
2003-05-22 09:51:02 +00:00
parent dec2c3d45d
commit 8a68abfc15
3 changed files with 6 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-05-22 Michal Cihar <nijel@users.sourceforge.net>
* tbl_indexes.php3, libraries/common.lib.php3: Better tabs highlighting
when editing indexes.
2003-05-22 Garvin Hicking <me@supergarv.de> 2003-05-22 Garvin Hicking <me@supergarv.de>
* sql.php3, libraries/common.lib.php3: Bug #692854: Never execute * sql.php3, libraries/common.lib.php3: Bug #692854: Never execute
a query in (with/without) PHP code views, and display a new a query in (with/without) PHP code views, and display a new

View File

@@ -1687,7 +1687,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
global $PHP_SELF, $cfg; global $PHP_SELF, $cfg;
global $db_details_links_count_tabs; global $db_details_links_count_tabs;
if ((basename($PHP_SELF) == $link || if (((!isset($GLOBALS['active_page']) && basename($PHP_SELF) == $link) ||
$active || $active ||
(isset($GLOBALS['active_page']) && $GLOBALS['active_page'] == $link) (isset($GLOBALS['active_page']) && $GLOBALS['active_page'] == $link)
) && ($text != $GLOBALS['strEmpty'] && $text != $GLOBALS['strDrop'])) { ) && ($text != $GLOBALS['strEmpty'] && $text != $GLOBALS['strDrop'])) {

View File

@@ -212,6 +212,7 @@ if (!defined('PMA_IDX_INCLUDED')
$result = PMA_mysql_query($sql_query) or PMA_mysqlDie('', $sql_query, FALSE, $err_url); $result = PMA_mysql_query($sql_query) or PMA_mysqlDie('', $sql_query, FALSE, $err_url);
$message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenAltered; $message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenAltered;
$active_page = 'tbl_properties_structure.php3';
include('./tbl_properties_structure.php3'); include('./tbl_properties_structure.php3');
exit(); exit();
} // end builds the new index } // end builds the new index