diff options
author | friendica <info@friendica.com> | 2014-05-25 18:24:27 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-25 18:24:27 -0700 |
commit | f7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d (patch) | |
tree | 78236e0000dbabfcc05f9b91f363c51cb385b551 /mod | |
parent | e6015e71697bb700aab5e5165f9d66a8cbfcab7a (diff) | |
download | volse-hubzilla-f7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d.tar.gz volse-hubzilla-f7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d.tar.bz2 volse-hubzilla-f7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d.zip |
fix the intermittent theme preview
Diffstat (limited to 'mod')
-rw-r--r-- | mod/settings.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/settings.php b/mod/settings.php index ad3eff261..e1ae0b8ec 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -714,7 +714,7 @@ function settings_content(&$a) { $unsupported = file_exists('view/theme/' . $th . '/unsupported'); $is_mobile = file_exists('view/theme/' . $th . '/mobile'); if (!$is_experimental or ($is_experimental && (get_config('experimentals','exp_themes')==1 or get_config('experimentals','exp_themes')===false))){ - $theme_name = (($is_experimental) ? sprintf("%s - \x28Experimental\x29", $f) : $f); + $theme_name = (($is_experimental) ? sprintf(t('%s - (Experimental)'), $f) : $f); if($is_mobile) { $mobile_themes[$f]=$theme_name; } @@ -736,8 +736,6 @@ function settings_content(&$a) { $nosmile = get_pconfig(local_user(),'system','no_smilies'); $nosmile = (($nosmile===false)? '0': $nosmile); // default if not set: 0 -// $chanview = intval(get_pconfig(local_user(),'system','chanview_full')); - $theme_config = ""; if( ($themeconfigfile = get_theme_config_file($theme_selected)) != null){ require_once($themeconfigfile); |