6387a77b52
- Add BaseAdminModule class - Add Module\Admin\Summary class - Add Route for Admin\Summary module - Remove admin_page_summary() in mod/admin - Remove $showwarning variable from admin/summary.tpl
65 lines
1.4 KiB
Smarty
65 lines
1.4 KiB
Smarty
|
|
<div id='adminpage'>
|
|
<h1>{{$title}} - {{$page}}</h1>
|
|
{{if $warningtext|count}}
|
|
<div id="admin-warning-message-wrapper">
|
|
{{foreach $warningtext as $wt}}
|
|
<p class="warning-message">{{$wt nofilter}}</p>
|
|
{{/foreach}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
<dl>
|
|
<dt>{{$queues.label}}</dt>
|
|
<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>
|