2021-07-18 16:09:11 -04:00
|
|
|
<div id='adminpage'>
|
|
|
|
<h1>{{$title}} - {{$page}}</h1>
|
|
|
|
|
2021-09-01 08:00:23 -04:00
|
|
|
<h2>{{$label_current}}: <b>{{$storagebackend}}</b></h2>
|
2023-03-26 07:39:11 -04:00
|
|
|
{{$storagebackend_ro_txt nofilter}}
|
2021-07-18 16:36:06 -04:00
|
|
|
|
2021-09-01 08:00:23 -04:00
|
|
|
<h2>{{$label_config}}</h2>
|
2021-07-18 16:36:06 -04:00
|
|
|
|
|
|
|
{{foreach from=$availablestorageforms item=$storage}}
|
2021-07-20 17:33:35 -04:00
|
|
|
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
|
|
|
|
<input type='hidden' name='form_security_token' value="{{$form_security_token}}">
|
2021-07-18 16:36:06 -04:00
|
|
|
<h3>{{$storage.name}}</h3>
|
2021-07-24 12:57:29 -04:00
|
|
|
{{if $storage.form}}
|
|
|
|
{{foreach from=$storage.form item=$field}}
|
|
|
|
{{include file=$field.field field=$field}}
|
|
|
|
{{/foreach}}
|
|
|
|
{{else}}
|
|
|
|
{{$noconfig}}
|
|
|
|
{{/if}}
|
2021-07-18 16:09:11 -04:00
|
|
|
|
2021-07-20 17:33:35 -04:00
|
|
|
{{if $storage.form}}
|
2021-07-24 12:57:29 -04:00
|
|
|
<input type="submit" name="submit_save" value="{{$save}}"/>
|
2023-03-25 14:02:47 -04:00
|
|
|
{{if ! $storage.set_disabled}}
|
|
|
|
{{if $storage.active}}
|
2021-07-24 12:57:29 -04:00
|
|
|
<input type="submit" name="submit_save_set" value="{{$save_reload}}"/>
|
2023-03-25 14:02:47 -04:00
|
|
|
{{else}}
|
2021-09-02 17:27:35 -04:00
|
|
|
<input type="submit" name="submit_save_set" value="{{$save_use}}"/>
|
2023-03-25 14:02:47 -04:00
|
|
|
{{/if}}
|
2021-07-24 12:57:29 -04:00
|
|
|
{{/if}}
|
2023-03-25 14:02:47 -04:00
|
|
|
{{elseif ! $storage.set_disabled}}
|
2021-09-02 17:27:35 -04:00
|
|
|
<br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>
|
2021-07-20 17:33:35 -04:00
|
|
|
{{/if}}
|
2021-07-18 16:09:11 -04:00
|
|
|
</form>
|
2021-07-20 17:33:35 -04:00
|
|
|
{{/foreach}}
|
|
|
|
|
2021-07-18 16:09:11 -04:00
|
|
|
</div>
|