From c8ae3cede378d03753b4fb64c42b17632b994820 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Sun, 13 Oct 2019 14:01:33 +0200 Subject: [PATCH] User Creation #3 & Password Restart --- app/templates/setting.phtml | 32 ++++++++++++++++++++++++++++++++ app/views/Setting.php | 4 ++++ 2 files changed, 36 insertions(+) diff --git a/app/templates/setting.phtml b/app/templates/setting.phtml index 519171e..0940c5c 100644 --- a/app/templates/setting.phtml +++ b/app/templates/setting.phtml @@ -76,6 +76,38 @@ +
+

echo('t_createuser') ?>

+ + + + + + + + + $user) { ?> + + + + + + +
echo('t_userName');?>echo('t_action');?>
+
+
+
echo('l_userName') ?>:
+ +
+
+
echo('l_password') ?>:
+ +
+
+ +
+
+
diff --git a/app/views/Setting.php b/app/views/Setting.php index 79618d9..f1de7bb 100644 --- a/app/views/Setting.php +++ b/app/views/Setting.php @@ -27,6 +27,10 @@ class Setting extends Template $template->prepare('langMng', $langMng); $template->prepare('automations', $automations); + $users = $userManager->getUsers(); + $template->prepare('users', $users); + + $template->render(); } }