aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/settings.php3
-rw-r--r--view/theme/dispy/experimental0
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 86d1ae015..f976bdf8f 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -431,7 +431,8 @@ function settings_content(&$a) {
$f = basename($file);
$selected = (($f == $_SESSION['theme']) || ($f === $default_theme && (! x($_SESSION,'theme')))
? ' selected="selected" ' : '' );
- $theme_selector .= '<option val="' . basename($file) . '"' . $selected . '>' . basename($file) . '</option>';
+ $theme_name = ((file_exists($file . '/experimental')) ? sprintf("%s - \x28Experimental\x29", $f) : $f);
+ $theme_selector .= '<option val="' . $f . '"' . $selected . '>' . $theme_name . '</option>';
}
}
diff --git a/view/theme/dispy/experimental b/view/theme/dispy/experimental
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/view/theme/dispy/experimental