diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-17 16:08:35 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-17 16:08:35 +0000 |
commit | a4380940cfcd2784d2ccfed02364d84ec852c3c4 (patch) | |
tree | ef44a7e65fd9a05b72839feee05ff5a9e675c406 /modules/system/system.admin.inc | |
parent | 8c8d7336ea541edaba66e3093579fde832d9ef0e (diff) | |
download | brdo-a4380940cfcd2784d2ccfed02364d84ec852c3c4.tar.gz brdo-a4380940cfcd2784d2ccfed02364d84ec852c3c4.tar.bz2 |
#201641 by Ralf Stamm, Pancho: sort admin themes by info name as well
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 54057f155..c48928041 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -152,7 +152,9 @@ function system_settings_overview() { */ function system_admin_theme_settings() { $themes = system_theme_data(); - ksort($themes); + + uasort($themes, 'system_sort_modules_by_info_name'); + $options[0] = '<'. t('System default') .'>'; foreach ($themes as $theme) { $options[$theme->name] = $theme->info['name']; |