aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>