]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/admin/storage.tpl
Merge branch '2023.03-rc' into stable
[friendica.git] / view / templates / admin / storage.tpl
index 299ec8db4667c9606c90a3d637b678bc3b7c6092..787ec56045572ddbc5241b7d7a6f2f17366c2a8f 100644 (file)
@@ -1,9 +1,10 @@
 <div id='adminpage'>
        <h1>{{$title}} - {{$page}}</h1>
 
-               <h2>Current Storage Backend: <b>{{$storagebackend}}</b></h2>
+               <h2>{{$label_current}}: <b>{{$storagebackend}}</b></h2>
+               {{$storagebackend_ro_txt nofilter}}
 
-               <h2>Storage Configuration</h2>
+               <h2>{{$label_config}}</h2>
 
                {{foreach from=$availablestorageforms item=$storage}}
        <form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
 
                {{if $storage.form}}
                <input type="submit" name="submit_save" value="{{$save}}"/>
-               {{if $storage.active}}
+        {{if $is_writable}}
+                               {{if $storage.active}}
                <input type="submit" name="submit_save_set" value="{{$save_reload}}"/>
-               {{else}}
-               <input type="submit" name="submit_save_set" value="{{$save_activate}}"/>
+                               {{else}}
+               <input type="submit" name="submit_save_set" value="{{$save_use}}"/>
+                               {{/if}}
                {{/if}}
-               {{else}}
-               <br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$activate}}"/>
+               {{elseif $is_writable}}
+               <br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>
                {{/if}}
        </form>
                {{/foreach}}