theme qualifier without dots

This commit is contained in:
Christian Vogeley 2013-08-21 23:14:52 +02:00
parent 056ed00a4c
commit ab06b18f5b

View File

@ -365,11 +365,11 @@ function admin_page_site(&$a) {
if($files) { if($files) {
foreach($files as $file) { foreach($files as $file) {
$f = basename($file); $f = basename($file);
$theme_name = ((file_exists($file . '/.experimental')) ? sprintf("%s - Experimental", $f) : $f); $theme_name = ((file_exists($file . '/experimental')) ? sprintf("%s - Experimental", $f) : $f);
if (file_exists($file . '/.mobile')) { if (file_exists($file . '/mobile')) {
$theme_choices_mobile[$f] = $theme_name; $theme_choices_mobile[$f] = $theme_name;
} }
if (file_exists($file . '/.accessibility')) { if (file_exists($file . '/accessibility')) {
$theme_choices_accessibility[$f] = $theme_name; $theme_choices_accessibility[$f] = $theme_name;
} }
$theme_choices[$f] = $theme_name; $theme_choices[$f] = $theme_name;