--- /dev/null
+<?php
+
+// setup the call me function for useradmin - matches on url of admin/users
+$CALL_ME_FUNCTIONS["config"] = "gwvp_ConfigCallMe";
+
+$MENU_ITEMS["40config"]["text"] = "Configuration";
+$MENU_ITEMS["40config"]["link"] = "$BASE_URL/admin/config";
+
+
+function gwvp_ConfigCallMe()
+{
+ if(isset($_REQUEST["q"])) {
+ $query = $_REQUEST["q"];
+ if($query == "admin/config") return "gwvp_ConfigPage";
+ else return false;
+ }
+
+ return false;
+}
+
+function gwvp_ConfigPage()
+{
+ gwvp_goMainPage("gwvp_ConfigPageBody");
+}
+
+
+function gwvp_ConfigPageBody()
+{
+
+}
+
+?>
\ No newline at end of file
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");
// user list
echo "<tr><td>";
echo "<table border=\"1\">";
- echo "<tr><th>EMail</th><th>Nick Name</th><th>Full Name</th><th>In Groups</th><th>Owns Groups</th><th>Description</th><th>Is Global Admin?</th><th>Status</th></tr>";
+ echo "<tr><th>EMail</th><th>Nick Name</th><th>Full Name</th><th>In Groups</th><th>Owns Groups</th><th>Description</th><th>Admin?</th><th>Status</th></tr>";
/*
* $returns[$rn]["id"] = $u_res["users_id"];
$returns[$rn]["fullname"] = $u_res["user_full_name"];
$ingroups = gwvp_getGroupsForUser($email);
$ugroups = "";
foreach($ingroups as $grname) {
- $ugroups .= "$grname ";
+ $ugroups .= "$grname<br>";
}
trim($ugroups);