From: paulr Date: Wed, 2 Nov 2011 15:03:40 +0000 (+1100) Subject: adding a config page, added some user admin page fluff X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=5fbec74fb853403aae33acce937847d8739fe67a;p=gwvp.git adding a config page, added some user admin page fluff --- 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);
EMailNick NameFull NameIn GroupsOwns GroupsDescriptionIs Global Admin?Status
EMailNick NameFull NameIn GroupsOwns GroupsDescriptionAdmin?Status