friendica/view/templates/admin/summary.tpl

66 lines
1.3 KiB
Smarty
Raw Normal View History

<div id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
{{if $showwarning}}
<div id="admin-warning-message-wrapper">
{{foreach $warningtext as $wt}}
2018-12-30 15:12:13 +00:00
<p class="warning-message">{{$wt nofilter}}</p>
{{/foreach}}
</div>
{{/if}}
<dl>
<dt>{{$queues.label}}</dt>
2019-04-05 18:04:39 +00:00
<dd><a href="{{$baseurl}}/admin/deferred">{{$queues.deferred}}</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>