friendica_2021.01_tupambae_.../view/templates/admin/summary.tpl

66 lines
1.3 KiB
Smarty

<div id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
{{if $showwarning}}
<div id="admin-warning-message-wrapper">
{{foreach $warningtext as $wt}}
<p class="warning-message">{{$wt}}</p>
{{/foreach}}
</div>
{{/if}}
<dl>
<dt>{{$queues.label}}</dt>
<dd><a href="{{$baseurl}}/admin/queue">{{$queues.queue}}</a> - <a href="{{$baseurl}}/admin/workerqueue">{{$queues.workerq}}</a></dd>
</dl>
<dl>
<dt>{{$pending.0}}</dt>
<dd>{{$pending.1}}</dt>
</dl>
<dl>
<dt>{{$users.0}}</dt>
<dd>{{$users.1}}</dd>
</dl>
{{foreach $accounts as $p}}
<dl>
<dt>{{$p.0}}</dt>
<dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd>
</dl>
{{/foreach}}
<dl>
<dt>{{$addons.0}}</dt>
{{foreach $addons.1 as $p}}
<dd><a href="/admin/addons/{{$p}}/">{{$p}}</a></dd>
{{/foreach}}
</dl>
<dl>
<dt>{{$version.0}}</dt>
<dd> {{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}</dt>
</dl>
<dl>
<dt>{{$serversettings.label}}</dt>
<dd>
<table>
<tbody>
<tr><td colspan="2"><b>PHP</b></td></tr>
{{foreach $serversettings.php as $k => $p}}
<tr><td>{{$k}}</td><td>{{$p}}</td></tr>
{{/foreach}}
<tr><td colspan="2"><b>MySQL / MariaDB</b></td></tr>
{{foreach $serversettings.mysql as $k => $p}}
<tr><td>{{$k}}</td><td>{{$p}}</td></tr>
{{/foreach}}
</tbody>
</table>
</dd>
</dl>
</div>