Browse Source

add flag for experimental themes

pull/1/head
Friendika 11 years ago
parent
commit
edbad772ba
  1. 3
      mod/settings.php
  2. 0
      view/theme/dispy/experimental

3
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>';
}
}

0
view/theme/dispy/experimental

Loading…
Cancel
Save