aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin/Accounts.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-14 19:40:51 +0000
committerMario <mario@mariovavti.com>2021-04-14 19:40:51 +0000
commite35ab97b7ecbd96e11883bc194bfe9fb5a72e7f2 (patch)
tree08e00e224e345feee95bb0a3f668aa5a4d1ef580 /Zotlabs/Module/Admin/Accounts.php
parentf9793e870f5c3c531fe48a2294782de0643a6c9b (diff)
downloadvolse-hubzilla-e35ab97b7ecbd96e11883bc194bfe9fb5a72e7f2.tar.gz
volse-hubzilla-e35ab97b7ecbd96e11883bc194bfe9fb5a72e7f2.tar.bz2
volse-hubzilla-e35ab97b7ecbd96e11883bc194bfe9fb5a72e7f2.zip
register: provide a possibility to leave a message id registration is by approval
Diffstat (limited to 'Zotlabs/Module/Admin/Accounts.php')
-rw-r--r--Zotlabs/Module/Admin/Accounts.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/Zotlabs/Module/Admin/Accounts.php b/Zotlabs/Module/Admin/Accounts.php
index 9971fd213..0c0725bd2 100644
--- a/Zotlabs/Module/Admin/Accounts.php
+++ b/Zotlabs/Module/Admin/Accounts.php
@@ -218,10 +218,15 @@ class Accounts {
$tao .= 'tao.zar.zarar = {';
foreach ($pending as $n => $v) {
- $pending[$n]['status'] = t('Verified');
+ $stuff = json_decode($v['reg_stuff'], true);
+
+ if(isset($stuff['msg'])) {
+ $pending[$n]['msg'] = $stuff['msg'];
+ }
if (array_key_exists($v['reg_atip'], $atipn)) {
- $pending[$n]['reg_atip'] = $v['reg_atip'] . ' ◄' . $atipn[ $v['reg_atip'] ] . '×';
+ $pending[$n]['reg_atip'] = $v['reg_atip'];
+ $pending[$n]['reg_atip_n'] = $atipn[$v['reg_atip']];
}
// timezone adjust date_time for display
@@ -293,8 +298,8 @@ class Accounts {
'$sel_tall' => t('Select toggle'),
'$sel_deny' => t('Deny selected'),
'$sel_aprv' => t('Approve selected'),
- '$h_pending' => t('Registrations waiting for confirm'),
- '$th_pending' => array( t('Request date'), t('Verification status'), t('Timeframe'), 'dId2', t('specified,atip') ),
+ '$h_pending' => t('Verified registrations waiting for approval'),
+ '$th_pending' => array(t('Request date'), 'dId2', t('Email'), 'IP', t('IP Count')),
'$no_pending' => t('No verified registrations.'),
'$approve' => t('Approve'),
'$deny' => t('Deny'),