2021-07-18 20:09:11 +00:00
|
|
|
<div id='adminpage'>
|
|
|
|
<h1>{{$title}} - {{$page}}</h1>
|
|
|
|
|
2021-07-20 21:33:35 +00:00
|
|
|
<h2>Current Storage Backend: <b>{{$storagebackend}}</b></h2>
|
2021-07-18 20:36:06 +00:00
|
|
|
|
|
|
|
<h2>Storage Configuration</h2>
|
|
|
|
|
|
|
|
{{foreach from=$availablestorageforms item=$storage}}
|
2021-07-20 21:33:35 +00:00
|
|
|
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
|
|
|
|
<input type='hidden' name='form_security_token' value="{{$form_security_token}}">
|
2021-07-18 20:36:06 +00:00
|
|
|
<h3>{{$storage.name}}</h3>
|
|
|
|
{{foreach from=$storage.form item=$field}}
|
2021-07-18 20:09:11 +00:00
|
|
|
{{include file=$field.field field=$field}}
|
|
|
|
{{/foreach}}
|
|
|
|
|
2021-07-20 21:33:35 +00:00
|
|
|
{{if $storage.form}}
|
|
|
|
<div class="submit"><input type="submit" name="submit_save" value="{{$save}}" /></div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="submit"><input type="submit" name="submit_save_set" value="{{$save_set}}" /></div>
|
2021-07-18 20:09:11 +00:00
|
|
|
</form>
|
2021-07-20 21:33:35 +00:00
|
|
|
{{/foreach}}
|
|
|
|
|
2021-07-18 20:09:11 +00:00
|
|
|
</div>
|