From 5fbec74fb853403aae33acce937847d8739fe67a Mon Sep 17 00:00:00 2001 From: paulr Date: Thu, 3 Nov 2011 02:03:40 +1100 Subject: [PATCH] adding a config page, added some user admin page fluff --- gwvplib/gwvpconfig.php | 32 ++++++++++++++++++++++++++++++++ gwvplib/gwvplib.php | 1 + gwvplib/gwvpuseradmin.php | 4 ++-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 gwvplib/gwvpconfig.php diff --git a/gwvplib/gwvpconfig.php b/gwvplib/gwvpconfig.php new file mode 100644 index 0000000..cc0bafd --- /dev/null +++ b/gwvplib/gwvpconfig.php @@ -0,0 +1,32 @@ + \ No newline at end of file diff --git a/gwvplib/gwvplib.php b/gwvplib/gwvplib.php index e23ece7..e0654bc 100644 --- a/gwvplib/gwvplib.php +++ b/gwvplib/gwvplib.php @@ -7,6 +7,7 @@ require_once("gwvprepoadmin.php"); require_once("gwvpauth.php"); require_once("gwvpsetup.php"); require_once("gwvpdatabase.php"); +require_once("gwvpconfig.php"); // only enable this if you need it: require_once("gwvpdebug.php"); diff --git a/gwvplib/gwvpuseradmin.php b/gwvplib/gwvpuseradmin.php index 63b3cd8..cb5f997 100644 --- a/gwvplib/gwvpuseradmin.php +++ b/gwvplib/gwvpuseradmin.php @@ -93,7 +93,7 @@ function gwvp_UserAdminPageBody() // user list echo ""; echo ""; - echo ""; + echo ""; /* * $returns[$rn]["id"] = $u_res["users_id"]; $returns[$rn]["fullname"] = $u_res["user_full_name"]; @@ -119,7 +119,7 @@ function gwvp_UserAdminPageBody() $ingroups = gwvp_getGroupsForUser($email); $ugroups = ""; foreach($ingroups as $grname) { - $ugroups .= "$grname "; + $ugroups .= "$grname
"; } trim($ugroups); -- 1.7.0.4
EMailNick NameFull NameIn GroupsOwns GroupsDescriptionIs Global Admin?Status
EMailNick NameFull NameIn GroupsOwns GroupsDescriptionAdmin?Status