3 error_log("server admin loaded");
5 global $BASE_URL, $MENU_ITEMS;
6 $MENU_ITEMS["10serveradmin"]["name"] = "Server Admin";
7 $MENU_ITEMS["10serveradmin"]["link"] = "$BASE_URL/serveradmin";
9 global $SERVER_ADMIN_MENU;
10 $SERVER_ADMIN_MENU["10services"]["name"] = "Services";
11 $SERVER_ADMIN_MENU["10services"]["link"] = "?action=services";
12 $SERVER_ADMIN_MENU["20hostcontrol"]["name"] = "Host Control";
13 $SERVER_ADMIN_MENU["20hostcontrol"]["link"] = "?action=hostcontrol";
16 $URL_HANDLERS["serveradmin.*"] = "GLCASServerAdmin";
18 class GLCASServerAdmin {
19 function __construct($config)
21 $this->config = $config;
22 error_log("constructor for GLCASRepoAdmin");
28 error_log("repo:go called");
29 GLCASpageBuilder($this, "mainbody");
35 echo "<h2>Server Admin</h2>";
36 global $SERVER_ADMIN_MENU;
37 echo "<table border=\"1\"><tr>";
38 foreach($SERVER_ADMIN_MENU as $val) {
41 echo "<td><a href=\"$link\">$name</a></td>";