]> git.mxchange.org Git - friendica.git/blob - view/templates/admin/storage.tpl
Revert Post::selectOriginal to original logic
[friendica.git] / view / templates / admin / storage.tpl
1 <div id='adminpage'>
2         <h1>{{$title}} - {{$page}}</h1>
3
4                 <h2>{{$label_current}}: <b>{{$storagebackend}}</b></h2>
5                 {{$storagebackend_ro_txt nofilter}}
6
7                 <h2>{{$label_config}}</h2>
8
9                 {{foreach from=$availablestorageforms item=$storage}}
10         <form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
11                 <input type='hidden' name='form_security_token' value="{{$form_security_token}}">
12                 <h3>{{$storage.name}}</h3>
13                 {{if $storage.form}}
14                         {{foreach from=$storage.form item=$field}}
15                                 {{include file=$field.field field=$field}}
16                         {{/foreach}}
17                 {{else}}
18                         {{$noconfig}}
19                 {{/if}}
20
21                 {{if $storage.form}}
22                 <input type="submit" name="submit_save" value="{{$save}}"/>
23         {{if $is_writable}}
24                                 {{if $storage.active}}
25                 <input type="submit" name="submit_save_set" value="{{$save_reload}}"/>
26                                 {{else}}
27                 <input type="submit" name="submit_save_set" value="{{$save_use}}"/>
28                                 {{/if}}
29                 {{/if}}
30                 {{elseif $is_writable}}
31                 <br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>
32                 {{/if}}
33         </form>
34                 {{/foreach}}
35
36 </div>