]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/field_themeselect.tpl
Merge pull request #7000 from MrPetovan/task/6999-no-probe-magic-link
[friendica.git] / view / theme / frio / templates / field_themeselect.tpl
1
2 {{if $field.5=="preview"}}
3         <script type="text/javascript">$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
4 {{/if}}
5         <div class="form-group field select">
6                 <label for="id_{{$field.0}}">{{$field.1}}</label>
7                 <select class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" {{if $field.5=="preview"}}onchange="previewTheme(this);"{{/if}} aria-describedby="{{$field.0}}_tip" >
8         {{foreach $field.4 as $opt=>$val}}
9                         <option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>
10         {{/foreach}}
11                 </select>
12         {{if $field.3}}
13                 <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3 nofilter}}</span>
14         {{/if}}
15         {{if $field.5=="preview"}}
16                 <div id="theme-preview"></div>
17         {{/if}}
18         </div>