]> git.mxchange.org Git - friendica.git/blob - view/templates/field_themeselect.tpl
Merge remote-tracking branch 'upstream/master'
[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         <script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
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                 <div id="theme-preview"></div>
14         </div>