[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA2-1943-g6981260

Marc Delisle lem9 at users.sourceforge.net
Wed Feb 9 00:01:13 CET 2011


The branch, master has been updated
       via  698126002c0d0d37559e938f0ced5dac56700e7d (commit)
      from  a9845254cb7d6b41cf047773c84da127ec0e3c21 (commit)


- Log -----------------------------------------------------------------
commit 698126002c0d0d37559e938f0ced5dac56700e7d
Author: Marc Delisle <marc at infomarc.info>
Date:   Tue Feb 8 18:01:03 2011 -0500

    Avoid notice of undefined index when cookie does not exist

-----------------------------------------------------------------------

Summary of changes:
 themes/darkblue_orange/css/theme_right.css.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/themes/darkblue_orange/css/theme_right.css.php b/themes/darkblue_orange/css/theme_right.css.php
index cdc26d5..f364a3c 100644
--- a/themes/darkblue_orange/css/theme_right.css.php
+++ b/themes/darkblue_orange/css/theme_right.css.php
@@ -15,7 +15,8 @@ if (!defined('PMA_MINIMUM_COMMON')) {
 /******************************************************************************/
 /* general tags */
 html {
-    font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
+    font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (
+        isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : '82%'));?>;
 }
 
 input, select, textarea {


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list