From 53f051d2c1536ba16ebde1b43939a66f01f07a7b Mon Sep 17 00:00:00 2001 From: Michael Keck Date: Thu, 20 Jan 2005 16:38:46 +0000 Subject: [PATCH] increased values for QueryWindow Size, bug: querywindow to small --- ChangeLog | 13 ++++++++++++- querywindow.php | 27 ++++++++++++++++++++------- tbl_query_box.php | 4 ++-- themes/darkblue_orange/layout.inc.php | 4 ++-- themes/original/layout.inc.php | 4 ++-- 5 files changed, 38 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index b487a9a1c..6a4691d93 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,21 @@ ----------------------- +---------------------- phpMyAdmin - Changelog ---------------------- $Id$ $Source$ +2005-01-20 Michael Keck + * new js-library: tooltip.js for tooltips (hints) + * libraries/common.lib.php: img tag modified for mouseover / mouseout + (show/hide tooltip) + * header.inc.php: needed div-container for tooltips + * footer.inc.php: linking to js-file tooltip.js + * themes/.../theme_right.css.php: tooltip class + * querywindow.php / tbl_query_box.php: resizing the querywindow if it + to small + * themes/.../layout.inc.php: increased QueryWindowHeight / QueryWindowWidth + 2005-01-20 Alexander M. Turek * server_engines.php, server_links.inc.php: Use Michael's new icon for storage engines. diff --git a/querywindow.php b/querywindow.php index b50245e77..d38a8804c 100644 --- a/querywindow.php +++ b/querywindow.php @@ -73,7 +73,6 @@ var confirmMsg = ' - '; } echo "\n"; - echo PMA_printTab(($GLOBALS['cfg']['PropertiesIconic'] != false ? ''.$strSQL.'' : '') . $strSQL, '#', '', 'onclick="javascript:query_tab_commit(\'sql\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'sql' ? TRUE : FALSE)); - echo PMA_printTab(($GLOBALS['cfg']['PropertiesIconic'] != false ? ''.$strImportFiles.'' : '') . $strImportFiles, '#', '', 'onclick="javascript:query_tab_commit(\'files\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'files' ? TRUE : FALSE)); - echo PMA_printTab($strQuerySQLHistory, '#', '', 'onclick="javascript:query_tab_commit(\'history\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'history' ? TRUE : FALSE)); + echo PMA_printTab(($GLOBALS['cfg']['PropertiesIconic'] != false ? ''.$strSQL.'' : '') . $strSQL, '#', '', ' onclick="javascript:query_tab_commit(\'sql\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'sql' ? TRUE : FALSE)); + echo PMA_printTab(($GLOBALS['cfg']['PropertiesIconic'] != false ? ''.$strImportFiles.'' : '') . $strImportFiles, '#', '', ' onclick="javascript:query_tab_commit(\'files\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'files' ? TRUE : FALSE)); + echo PMA_printTab($strQuerySQLHistory, '#', '', ' onclick="javascript:query_tab_commit(\'history\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'history' ? TRUE : FALSE)); if ($cfg['QueryWindowDefTab'] == 'full') { - echo PMA_printTab($strAll, '#', '', 'onclick="javascript:query_tab_commit(\'full\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'full' ? TRUE : FALSE)); + echo PMA_printTab($strAll, '#', '', ' onclick="javascript:query_tab_commit(\'full\');return false;"', '', '', (isset($querydisplay_tab) && $querydisplay_tab == 'full' ? TRUE : FALSE)); } if (!$cfg['LightTabs']) { @@ -112,7 +111,6 @@ if ($cfg['QueryFrameJS'] && !isset($no_js)) { ?>
- + + + - diff --git a/tbl_query_box.php b/tbl_query_box.php index 53a5d993c..312a70211 100644 --- a/tbl_query_box.php +++ b/tbl_query_box.php @@ -120,11 +120,11 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS'] && isset($is_inside_querywindow) . ' '; } else { ?> -
onsubmit="return checkSqlQuery(this)" name="sqlform"> + onsubmit="return checkSqlQuery(this)" name="sqlform" style="padding: 0px; magin: 0px;"> - +
' . "\n" diff --git a/themes/darkblue_orange/layout.inc.php b/themes/darkblue_orange/layout.inc.php index fcc962b70..12c6c0d86 100644 --- a/themes/darkblue_orange/layout.inc.php +++ b/themes/darkblue_orange/layout.inc.php @@ -15,8 +15,8 @@ $cfg['BrowsePointerColor'] = '#CCCCFF'; // color of the pointer in browse mo $cfg['BrowseMarkerColor'] = '#FFCC99'; // color of the marker (visually marks row // by clicking on it) in browse mode -$cfg['QueryWindowWidth'] = 550; // Width of Query window -$cfg['QueryWindowHeight'] = 310; // Height of Query window +$cfg['QueryWindowWidth'] = 600; // Width of Query window +$cfg['QueryWindowHeight'] = 400; // Height of Query window /** * SQL Parser Settings diff --git a/themes/original/layout.inc.php b/themes/original/layout.inc.php index 50db8527e..87bfa164c 100644 --- a/themes/original/layout.inc.php +++ b/themes/original/layout.inc.php @@ -15,8 +15,8 @@ $cfg['BrowsePointerColor'] = '#CCFFCC'; // color of the pointer in browse mo $cfg['BrowseMarkerColor'] = '#FFCC99'; // color of the marker (visually marks row // by clicking on it) in browse mode -$cfg['QueryWindowWidth'] = 550; // Width of Query window -$cfg['QueryWindowHeight'] = 310; // Height of Query window +$cfg['QueryWindowWidth'] = 600; // Width of Query window +$cfg['QueryWindowHeight'] = 400; // Height of Query window /** * SQL Parser Settings