From 49f827b172dd3c07e3c4562a261557feb1ef03f6 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 9 Aug 2019 02:56:29 +0200 Subject: Feature : Users may expire - user have expiredate - admins can set up this date --- app/view/templates/user.php | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/user.php b/app/view/templates/user.php index 7512267..4717ee6 100644 --- a/app/view/templates/user.php +++ b/app/view/templates/user.php @@ -16,17 +16,26 @@

User : id() ?>

+

Infos

+ + +

Connections count : connectcount() ?>

+ +

Account will expire in : expiredate('hrdi') ?>

-

Preferences

- - - + +

+ + + +

+
@@ -40,7 +49,7 @@ - + @@ -66,8 +75,14 @@ + + @@ -102,6 +117,13 @@ foreach ($userlist as $user ) { + + + + + + + +
idpasswordhashlevelactionidpasswordhashlevelset expiration dateactionexpire
+ + + +
+ expiredate() !== false ? 'value="' . $user->expiredate('string') . '"' : '' ?>> + reset + + @@ -110,6 +132,13 @@ foreach ($userlist as $user ) { + expiredate('hrdi') ?> +