Show go button for queries when not in 'file' tab

This commit is contained in:
Garvin Hicking
2003-04-16 19:42:31 +00:00
parent b6fa2ea0c5
commit 536d116396
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-04-16 Garvin Hicking <me@supergarv.de>
* tbl_query_box.php3: Only hide 'go' SQL button, when in files mode
with no $db set
2003-04-16 Marc Delisle <lem9@users.sourceforge.net>
* badwords.txt: "status" is not a reserved word

View File

@@ -261,7 +261,7 @@ if (!isset($is_inside_querywindow) ||
}
}
if (!isset($is_inside_querywindow) || (isset($is_inside_querywindow) && $is_inside_querywindow == TRUE && isset($querydisplay_tab) && ($querydisplay_tab == 'files' || $querydisplay_tab == 'sql' || $querydisplay_tab == 'full' || ($querydisplay_tab == 'history' && $bookmark_go))) && isset($db) && $db != '') {
if (!isset($is_inside_querywindow) || (isset($is_inside_querywindow) && $is_inside_querywindow == TRUE && isset($querydisplay_tab) && (($querydisplay_tab == 'files' && isset($db) && $db != '') || $querydisplay_tab == 'sql' || $querydisplay_tab == 'full' || ($querydisplay_tab == 'history' && $bookmark_go)))) {
?>
<input type="submit" name="SQL" value="<?php echo $strGo; ?>" />
<?php