theme qualifier without dots
This commit is contained in:
parent
056ed00a4c
commit
ab06b18f5b
@ -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;
|
||||||
|
Reference in New Issue
Block a user