From 23ea974615cc8ffb3756769fe872affcee3d5c3a Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Sat, 7 Mar 2015 18:19:52 +0100 Subject: 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. --- view/tpl/admin_summary.tpl | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'view') 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 @@

{{$title}} - {{$page}}

- +{{if $adminalertmsg}} + +{{/if}}
{{$queues.label}}
{{$queues.queue}}
+
+
{{$accounts.0}}
+
{{foreach from=$accounts.1 item=acc name=account}}{{$acc.val}}{{if !$smarty.foreach.account.last}} / {{/if}}{{/foreach}}
+
{{$pending.0}}
{{$pending.1}}
-
-
{{$users.0}}
-
{{$users.1}}
+
{{$channels.0}}
+
{{foreach from=$channels.1 item=ch name=chan}}{{$ch.val}}{{if !$smarty.foreach.chan.last}} / {{/if}}{{/foreach}}
-
{{$plugins.0}}
{{foreach $plugins.1 as $p}} {{$p}} {{/foreach}} -  
{{$version.0}}
{{$version.1}} - {{$build}}
- -
+ \ No newline at end of file -- cgit v1.2.3 From c6d45858bb73c0f3765fcc7257ed1347d6de1577 Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Sun, 8 Mar 2015 19:02:48 +0100 Subject: Fixing (un)blocking accounts in /admin/users. When I look at the instructions in sql_conventions about setting bit flags I don't understand how this could have worked before. Changed the behavior for (un)blocking so that it should work now. --- view/tpl/admin_users.tpl | 54 +++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 28 deletions(-) (limited to 'view') diff --git a/view/tpl/admin_users.tpl b/view/tpl/admin_users.tpl index 7e0b828d9..52ccbf253 100755 --- a/view/tpl/admin_users.tpl +++ b/view/tpl/admin_users.tpl @@ -10,15 +10,15 @@ return false; } -
+

{{$title}} - {{$page}}

- +
- - + +

{{$h_pending}}

{{if $pending}} - +
{{foreach $th_pending as $th}}{{/foreach}} @@ -31,27 +31,25 @@ - + {{/foreach}}
{{$th}}
{{$u.account_created}} - - + +
- -
+ +
{{else}}

{{$no_pending}}

{{/if}} - - - - + +

{{$h_users}}

{{if $users}} - +
{{foreach $th_users as $th}}{{/foreach}} @@ -62,30 +60,30 @@ {{foreach $users as $u}} - - + - - - - - - + + + + + + {{/foreach}}
{{$th}}
{{$u.channels}}{{$u.account_created}}{{$u.account_service_class}}{{$u.channels}}{{$u.account_created}}{{$u.account_service_class}} - - + +
- -
+ +
{{else}} NO USERS?!? {{/if}}
-
+
\ No newline at end of file -- cgit v1.2.3