friendica-github/view/templates/admin/summary.tpl
Hypolite Petovan e293de04f5 Add '$VERSION' template variable to make Friendica version available in templates
- constant() Smarty function is deprecated
- Remove unused site-wide template variable '$APP'
- Address https://github.com/friendica/friendica/issues/14027#issuecomment-2016469408
2024-03-24 09:20:58 -04:00

49 lines
1.1 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/queue/deferred">{{$queues.deferred}}</a> - <a href="{{$baseurl}}/admin/queue">{{$queues.workerq}}</a></dd>
</dl>
<dl>
<dt>{{$addons.0}}</dt>
{{foreach $addons.1 as $p}}
<dd><a href="{{$baseurl}}/admin/addons/{{$p}}/">{{$p}}</a></dd>
{{/foreach}}
</dl>
<dl>
<dt>{{$version_label}}</dt>
<dd> {{$platform}} '{{$codename}}' {{$VERSION}} - {{$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>