friendica/view/templates/admin/storage.tpl

25 lines
728 B
Smarty
Raw Normal View History

<div id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
<form action="{{$baseurl}}/admin/storage" method="post">
<input type='hidden' name='form_security_token' value="{{$form_security_token}}">
2021-07-18 16:36:06 -04:00
<h2>Storage Backend</h2>
{{include file="field_select.tpl" field=$storagebackend}}
2021-07-18 17:09:45 -04:00
<div class="submit"><input type="submit" name="page_storage" value="{{$submit}}" /></div>
2021-07-18 16:36:06 -04:00
<h2>Storage Configuration</h2>
{{foreach from=$availablestorageforms item=$storage}}
<h3>{{$storage.name}}</h3>
{{foreach from=$storage.form item=$field}}
{{include file=$field.field field=$field}}
{{/foreach}}
2021-07-18 16:36:06 -04:00
{{/foreach}}
2021-07-18 17:09:45 -04:00
<div class="submit"><input type="submit" name="page_storage" value="{{$submit}}" /></div>
</form>
</div>