aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/settings.php4
-rw-r--r--version.inc2
-rwxr-xr-xview/tpl/field_themeselect.tpl2
3 files changed, 3 insertions, 5 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);
diff --git a/version.inc b/version.inc
index d00c90e8a..276a5c563 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-05-24.685
+2014-05-25.686
diff --git a/view/tpl/field_themeselect.tpl b/view/tpl/field_themeselect.tpl
index c02eee328..a0e454bf5 100755
--- a/view/tpl/field_themeselect.tpl
+++ b/view/tpl/field_themeselect.tpl
@@ -1,4 +1,4 @@
- <script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
+ <script>$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
<div class='field select'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
<select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} >