From 99ec6644fc93ee4d6bd8569148de6a03d64f69cb Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 26 Mar 2016 17:18:08 -0400 Subject: Add collapsable panel for editing each user's settings to admin setting tab Also, added relevant initialization code to common model --- app/model/common.mod.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/model/common.mod.php') diff --git a/app/model/common.mod.php b/app/model/common.mod.php index 8d1ea7e..1398598 100644 --- a/app/model/common.mod.php +++ b/app/model/common.mod.php @@ -3,6 +3,7 @@ require_once "model/master.mod.php"; require_once "class/form.class.php"; require_once "class/setting.class.php"; +require_once "class/user.class.php"; class CommonModel extends MasterModel { @@ -24,6 +25,10 @@ class CommonModel extends MasterModel if (Setting::allowPublicSignup()) $this->common_settingAdminAllowPublicSignupChecked = "checked"; + + /* Admin all-users settings tab */ + $userTbl = new User(); + $this->common_settingAllUsers = $userTbl->getAllUsers_orderByAdminByName(); } /* -- cgit v1.2.3