diff options
author | Malf Furious <m@lfurio.us> | 2016-03-26 17:18:08 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-03-27 20:16:32 -0400 |
commit | 99ec6644fc93ee4d6bd8569148de6a03d64f69cb (patch) | |
tree | 68ac1f1e206d70887a2d445c20b0bb81746c9c71 /app/model/common.mod.php | |
parent | 333351cbd18d12520fb0eae44e9805cb3b10e038 (diff) | |
download | scrott-99ec6644fc93ee4d6bd8569148de6a03d64f69cb.tar.gz scrott-99ec6644fc93ee4d6bd8569148de6a03d64f69cb.zip |
Add collapsable panel for editing each user's settings to admin setting tab
Also, added relevant initialization code to common model
Diffstat (limited to '')
-rw-r--r-- | app/model/common.mod.php | 5 |
1 files changed, 5 insertions, 0 deletions
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(); } /* |