Font size option problem when no config file

This commit is contained in:
Marc Delisle
2008-06-28 15:46:54 +00:00
parent 96adecc19b
commit 1c96d44d34
5 changed files with 16 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ if (!defined('PMA_MINIMUM_COMMON')) {
/******************************************************************************/
/* general tags */
html {
font-size: <?php echo $_SESSION['PMA_Config']->get('fontsize'); ?>;
font-size: <?php echo (null !== $_SESSION['PMA_Config']->get('fontsize') ? $_SESSION['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
}
input, select, textarea {