1.1 --- a/public_html/admin/configuration.php Sun Apr 19 16:57:27 2009 +0200
1.2 +++ b/public_html/admin/configuration.php Sun Oct 04 17:36:41 2009 +0200
1.3 @@ -63,16 +63,15 @@
1.4 $themes = array();
1.5
1.6 $themeFiles = COM_getThemes(true);
1.7 - usort($themeFiles,
1.8 - create_function('$a,$b', 'return strcasecmp($a,$b);'));
1.9 + usort($themeFiles, 'strcasecmp');
1.10
1.11 foreach ($themeFiles as $theme) {
1.12 - $words = explode ('_', $theme);
1.13 - $bwords = array ();
1.14 + $words = explode('_', $theme);
1.15 + $bwords = array();
1.16 foreach ($words as $th) {
1.17 - if ((strtolower ($th{0}) == $th{0}) &&
1.18 - (strtolower ($th{1}) == $th{1})) {
1.19 - $bwords[] = strtoupper ($th{0}) . substr ($th, 1);
1.20 + if ((strtolower($th{0}) == $th{0}) &&
1.21 + (strtolower($th{1}) == $th{1})) {
1.22 + $bwords[] = ucfirst($th);
1.23 } else {
1.24 $bwords[] = $th;
1.25 }