wrong check for safari

This commit is contained in:
Sebastian Mendel
2005-11-24 17:29:48 +00:00
parent ea94a378d4
commit 4d21dc6cae
2 changed files with 2 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ $Source$
- can pass all url variables as array to function
* main.php, index.php: moved setting of cookies into index.php
* libraries/select_lang.lib.php: made code more reliable
* index.php: wrong check for safari
2005-11-23 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* *REVERTED* libraries/display_select_lang.lib.php: correct lang definition

View File

@@ -147,7 +147,7 @@ header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
// definitions used in querywindow.js
var common_query = '<?php echo PMA_generate_common_url('','','&');?>';
var opendb_url = '<?php echo $GLOBALS['cfg']['DefaultTabDatabase']; ?>';
var safari_browser = <?php echo PMA_USR_BROWSER_AGENT != 'SAFARI' ? 'true' : 'false' ?>;
var safari_browser = <?php echo PMA_USR_BROWSER_AGENT == 'SAFARI' ? 'true' : 'false' ?>;
var querywindow_height = <?php echo $GLOBALS['cfg']['QueryWindowHeight']; ?>;
var querywindow_width = <?php echo $GLOBALS['cfg']['QueryWindowWidth']; ?>;
var collation_connection = '<?php echo $GLOBALS['collation_connection']; ?>';