]> git.mxchange.org Git - friendica.git/blob - view/templates/field_themeselect.tpl
473623581511d52bc125d3d925ca7f20c624d81b
[friendica.git] / view / templates / field_themeselect.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6         {{if $field.5}}<script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>{{/if}}
7         <div class='field select'>
8                 <label for='id_{{$field.0}}'>{{$field.1}}</label>
9                 <select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5}}onchange="previewTheme(this);"{{/if}} >
10                         {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
11                 </select>
12                 <span class='field_help'>{{$field.3}}</span>
13                 {{if $field.5}}<div id="theme-preview"></div>{{/if}}
14         </div>