From 751d6fe8a4963036364f7e80d110b43bc551c893 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 19 Apr 2021 19:29:35 +0000 Subject: register: minor strings changes and whitespace --- Zotlabs/Module/Admin/Accounts.php | 2 +- view/tpl/admin_accounts.tpl | 89 ++++++++++++++++++++------------------- 2 files changed, 46 insertions(+), 45 deletions(-) diff --git a/Zotlabs/Module/Admin/Accounts.php b/Zotlabs/Module/Admin/Accounts.php index 4d32beee1..1c1911b3a 100644 --- a/Zotlabs/Module/Admin/Accounts.php +++ b/Zotlabs/Module/Admin/Accounts.php @@ -314,7 +314,7 @@ class Accounts { '$sel_aprv' => t('Approve selected'), '$h_pending' => (($get_all) ? t('All registrations') : t('Verified registrations waiting for approval')), '$th_pending' => array(t('Request date'), 'dId2', t('Email'), 'IP', t('Requests')), - '$no_pending' => t('No verified registrations.'), + '$no_pending' => (($get_all) ? t('No registrations available') : t('No verified registrations available')), '$approve' => t('Approve'), '$deny' => t('Deny'), '$delete' => t('Delete'), diff --git a/view/tpl/admin_accounts.tpl b/view/tpl/admin_accounts.tpl index 815a6f6f3..f4865f7a0 100644 --- a/view/tpl/admin_accounts.tpl +++ b/view/tpl/admin_accounts.tpl @@ -5,50 +5,51 @@

{{$h_pending}}

- {{if $debug}}
{{$debug}}
{{/if}} - {{if $pending}} - - - - {{foreach $th_pending as $th}}{{/foreach}} - - - - - - {{foreach $pending as $n => $u}} - - - - - - - - - - - - - {{/foreach}} - -
{{$th}}
{{$u.reg_created}}{{$u.reg_did2}}{{$u.reg_email}}{{$u.reg_atip}}{{$u.reg_atip_n}} - - - -
{{$msg}}: {{$u.msg}}
-
- {{$get_all}} -
-
- {{$sel_tall}} - {{$sel_aprv}} - {{$sel_deny}} -
-
- {{else}} -

{{$no_pending}}

- {{/if}} - + {{if $debug}}
{{$debug}}
{{/if}} + {{if $pending}} + + + + {{foreach $th_pending as $th}}{{/foreach}} + + + + + + {{foreach $pending as $n => $u}} + + + + + + + + + + + + + {{/foreach}} + +
{{$th}}
{{$u.reg_created}}{{$u.reg_did2}}{{$u.reg_email}}{{$u.reg_atip}}{{$u.reg_atip_n}} + + + +
{{$msg}}: {{$u.msg}}
+
+ {{$sel_tall}} + {{$sel_aprv}} + {{$sel_deny}} +
+ {{else}} +
+ {{$no_pending}} +
+ {{/if}} +
+ {{$get_all}} +
+


{{$h_users}}

{{if $users}} -- cgit v1.2.3