aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-03-07 18:19:52 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-03-08 17:51:58 +0100
commit23ea974615cc8ffb3756769fe872affcee3d5c3a (patch)
treeee96cee0d1dd2181d2e049b34052c60b7d9757b9 /view
parent9cd7546be5ad7f24534653f310c15362c3f2baa6 (diff)
downloadvolse-hubzilla-23ea974615cc8ffb3756769fe872affcee3d5c3a.tar.gz
volse-hubzilla-23ea974615cc8ffb3756769fe872affcee3d5c3a.tar.bz2
volse-hubzilla-23ea974615cc8ffb3756769fe872affcee3d5c3a.zip
Add alert to admin page about old PHP version.
Add an alert message to admin summary page when a PHP version < 5.4 was detected as this has reached EOL and will not be supported with the new SabreDAV library. Some styleguide optimisation. Add NULL_DATE example to doc/sql_conventions.bb. Display a "0" when no plugins active in summary page. Added some more numbers to summary admin page, expired accounts, channels. Hope I interpreted them right. I have no idea how to get blocked accounts.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/admin_summary.tpl24
1 files changed, 10 insertions, 14 deletions
diff --git a/view/tpl/admin_summary.tpl b/view/tpl/admin_summary.tpl
index 7f752a773..259640849 100755
--- a/view/tpl/admin_summary.tpl
+++ b/view/tpl/admin_summary.tpl
@@ -1,36 +1,32 @@
<div class="generic-content-wrapper-styled" id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
-
+{{if $adminalertmsg}}
+ <p class="alert alert-warning" role="alert">{{$adminalertmsg}}</p>
+{{/if}}
<dl>
<dt>{{$queues.label}}</dt>
<dd>{{$queues.queue}}</dd>
</dl>
<dl>
+ <dt>{{$accounts.0}}</dt>
+ <dd>{{foreach from=$accounts.1 item=acc name=account}}<span title="{{$acc.label}}">{{$acc.val}}</span>{{if !$smarty.foreach.account.last}} / {{/if}}{{/foreach}}</dd>
+ </dl>
+ <dl>
<dt>{{$pending.0}}</dt>
<dd>{{$pending.1}}</dt>
</dl>
-
<dl>
- <dt>{{$users.0}}</dt>
- <dd>{{$users.1}}</dd>
+ <dt>{{$channels.0}}</dt>
+ <dd>{{foreach from=$channels.1 item=ch name=chan}}<span title="{{$ch.label}}">{{$ch.val}}</span>{{if !$smarty.foreach.chan.last}} / {{/if}}{{/foreach}}</dd>
</dl>
- <!-- $accounts is empty
- {{foreach $accounts as $p}}
- <dl>
- <dt>{{$p.0}}</dt>
- <dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd>
- </dl>
- {{/foreach}} -->
<dl>
<dt>{{$plugins.0}}</dt>
<dd>
{{foreach $plugins.1 as $p}} {{$p}} {{/foreach}}
- &nbsp;
</dd>
</dl>
<dl>
<dt>{{$version.0}}</dt>
<dd>{{$version.1}} - {{$build}}</dd>
</dl>
-
-</div>
+</div> \ No newline at end of file