From 055bbcbd61a56e39408e7d2b9d83c47fc76daa20 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 24 Dec 2018 12:04:27 +0100 Subject: user admin protection --- app/view/templates/userconfirmdelete.php | 39 ++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 7 deletions(-) (limited to 'app/view/templates/userconfirmdelete.php') diff --git a/app/view/templates/userconfirmdelete.php b/app/view/templates/userconfirmdelete.php index 342775f..069f5de 100644 --- a/app/view/templates/userconfirmdelete.php +++ b/app/view/templates/userconfirmdelete.php @@ -1,17 +1,42 @@ + -

Delete User

-

Id : id() ?>

-

Level : level() ?>

+

Delete User

+

Id : id() ?>

+

Level : level() ?>

-
- + - + + -
\ No newline at end of file + + + + + + + + + +

You can't delete this user

+ +

You need at least one admin user to run the system.

+ +

To delete this user, create at least another admin user, then retry to delete this one.

+ + Go back to users + + + \ No newline at end of file -- cgit v1.2.3