Do not attempt to sort themes when themes are disabled (bug #1243883).
This commit is contained in:
@@ -8,8 +8,10 @@ $Source$
|
|||||||
2005-07-24 Michal Čihař <michal@cihar.com>
|
2005-07-24 Michal Čihař <michal@cihar.com>
|
||||||
* libraries/check_user_privileges.lib.php: Undefined variable (bug
|
* libraries/check_user_privileges.lib.php: Undefined variable (bug
|
||||||
#1243885).
|
#1243885).
|
||||||
* ibraries/config_import.lib.php: Do not override theme properties when
|
* libraries/config_import.lib.php: Do not override theme properties when
|
||||||
path is not set.
|
path is not set.
|
||||||
|
* libraries/select_theme.lib.php: Do not attempt to sort themes when
|
||||||
|
themes are disabled (bug #1243883).
|
||||||
|
|
||||||
2005-07-23 Marc Delisle <lem9@users.sourceforge.net>
|
2005-07-23 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_properties_structure.php, tbl_properties.inc.php:
|
* tbl_properties_structure.php, tbl_properties.inc.php:
|
||||||
|
@@ -75,10 +75,9 @@ if ($PMA_ThemeAvailable == TRUE) { // themeManager is available
|
|||||||
} // end get themes
|
} // end get themes
|
||||||
} // end check for themes directory
|
} // end check for themes directory
|
||||||
closedir($handleThemes);
|
closedir($handleThemes);
|
||||||
|
asort($available_themes_choices);
|
||||||
} // end themeManger
|
} // end themeManger
|
||||||
|
|
||||||
asort($available_themes_choices);
|
|
||||||
|
|
||||||
// Allow different theme per server
|
// Allow different theme per server
|
||||||
$theme_cookie_name = 'pma_theme';
|
$theme_cookie_name = 'pma_theme';
|
||||||
if ($GLOBALS['cfg']['ThemePerServer']) {
|
if ($GLOBALS['cfg']['ThemePerServer']) {
|
||||||
|
Reference in New Issue
Block a user