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