aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_themeselect.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-05 13:03:58 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-05 13:03:58 +0100
commitc62e4bcdcadda47565f1ed3c25a4084a56629db0 (patch)
tree7bc8f2c12dca82e4df96e04ded9bb6037f8002cb /view/tpl/field_themeselect.tpl
parentb9a1b01c923c14848ece9aae55a435b4bba816a8 (diff)
downloadvolse-hubzilla-c62e4bcdcadda47565f1ed3c25a4084a56629db0.tar.gz
volse-hubzilla-c62e4bcdcadda47565f1ed3c25a4084a56629db0.tar.bz2
volse-hubzilla-c62e4bcdcadda47565f1ed3c25a4084a56629db0.zip
can not use element id more than once
Diffstat (limited to 'view/tpl/field_themeselect.tpl')
-rwxr-xr-xview/tpl/field_themeselect.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/field_themeselect.tpl b/view/tpl/field_themeselect.tpl
index 2159df0d2..250f9fcf1 100755
--- a/view/tpl/field_themeselect.tpl
+++ b/view/tpl/field_themeselect.tpl
@@ -5,5 +5,5 @@
{{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
</select>
<span class='field_help'>{{$field.3}}</span>
- <div id="theme-preview"></div>
+ {{if $field.5=='preview'}}<div id="theme-preview"></div>{{/if}}
</div>