Make drop and empty tabs lead to structure instead of SQL.

This commit is contained in:
Michal Čihař
2005-10-12 17:51:44 +00:00
parent bea48c6e6d
commit 0be9c380d1
2 changed files with 2 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ $Source$
* tbl_properties_links.php: Make drop and empty tabs lead to structure
instead of SQL.
* libraries/common.lib.php: Use normal font sizes for Mozilla browsers.
* querywindow.php: Add icon for history tab.
2005-10-11 Marc Delisle <lem9@users.sourceforge.net>
* libraries/grab_globals.lib.php: bug #1322871, local file inclusion

View File

@@ -122,6 +122,7 @@ if ( $cfg['QueryFrameJS'] && !isset($no_js) ) {
$tabs['import']['link'] = '#';
$tabs['import']['attr'] = 'onclick="javascript:query_tab_commit(\'files\');return false;"';
$tabs['import']['active'] = (bool) ( $querydisplay_tab == 'files' );
$tabs['history']['icon'] = 'b_bookmark.png';
$tabs['history']['text'] = $strQuerySQLHistory;
$tabs['history']['link'] = '#';
$tabs['history']['attr'] = 'onclick="javascript:query_tab_commit(\'history\');return false;"';