From edbad772bacb25e23f4a8e26379e26b13e5765cd Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 5 Jun 2011 18:05:25 -0700 Subject: [PATCH] add flag for experimental themes --- mod/settings.php | 3 ++- view/theme/dispy/experimental | 0 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 view/theme/dispy/experimental diff --git a/mod/settings.php b/mod/settings.php index 86d1ae015c..f976bdf8f9 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 .= ''; + $theme_name = ((file_exists($file . '/experimental')) ? sprintf("%s - \x28Experimental\x29", $f) : $f); + $theme_selector .= ''; } } diff --git a/view/theme/dispy/experimental b/view/theme/dispy/experimental new file mode 100644 index 0000000000..e69de29bb2