Fix more occurences of $_SESSION['PMA_Config'].
This commit is contained in:
@@ -554,7 +554,7 @@ class PMA_Config
|
||||
*/
|
||||
function getThemeUniqueValue()
|
||||
{
|
||||
return intval((null !== $GLOBALS['PMA_Config']->get('fontsize') ? $_SESSION['PMA_Config']->get('fontsize') : (isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : 0))) + ($this->source_mtime + $this->default_source_mtime + $_SESSION['PMA_Theme']->mtime_info + $_SESSION['PMA_Theme']->filesize_info) . (isset($_SESSION['tmp_user_values']['custom_color']) ? substr($_SESSION['tmp_user_values']['custom_color'],1,6) : '');
|
||||
return intval((null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : 0))) + ($this->source_mtime + $this->default_source_mtime + $_SESSION['PMA_Theme']->mtime_info + $_SESSION['PMA_Theme']->filesize_info) . (isset($_SESSION['tmp_user_values']['custom_color']) ? substr($_SESSION['tmp_user_values']['custom_color'],1,6) : '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -16,7 +16,7 @@ if (!defined('PMA_MINIMUM_COMMON')) {
|
||||
/******************************************************************************/
|
||||
/* general tags */
|
||||
html {
|
||||
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $_SESSION['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
|
||||
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
|
@@ -16,7 +16,7 @@ if (!defined('PMA_MINIMUM_COMMON')) {
|
||||
/******************************************************************************/
|
||||
/* general tags */
|
||||
html {
|
||||
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $_SESSION['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
|
||||
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
|
@@ -16,7 +16,7 @@ if (!defined('PMA_MINIMUM_COMMON')) {
|
||||
/******************************************************************************/
|
||||
/* general tags */
|
||||
html {
|
||||
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $_SESSION['PMA_Config']->get('fontsize') : (
|
||||
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (
|
||||
isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : '84%'));?>;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user