]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/field_themeselect.tpl
Merge pull request #6089 from annando/fix-6085
[friendica.git] / view / templates / field_themeselect.tpl
index 51f6057ae3b25c2de05acfc98f4a6930230ed128..5f56c187ef957df5a4a253cbe233645612a34379 100644 (file)
@@ -5,6 +5,8 @@
                <select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5}}onchange="previewTheme(this);"{{/if}} aria-describedby='{{$field.0}}_tip'>
                        {{foreach $field.4 as $opt=>$val}}<option value="{{$opt|escape:'html'}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
                </select>
-               <span class='field_help' role='tooltip' id='{{$field.0}}_tip'>{{$field.3}}</span>
+               {{if $field.3}}
+               <span class="field_help" role="tooltip" id="{{$field.0}}_tip">{{$field.3}}</span>
+               {{/if}}
                {{if $field.5}}<div id="theme-preview"></div>{{/if}}
        </div>