From 534c0058a2e04fc9e9588189a7c9b87756c3df61 Mon Sep 17 00:00:00 2001
From: deva <deva>
Date: Sat, 11 Oct 2008 13:57:06 +0000
Subject: Added basis admin diagnostics page... to be expanded later.

---
 forum/htdocs/index.php | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

(limited to 'forum/htdocs')

diff --git a/forum/htdocs/index.php b/forum/htdocs/index.php
index d4547e9..99169ab 100644
--- a/forum/htdocs/index.php
+++ b/forum/htdocs/index.php
@@ -38,10 +38,13 @@ include_once($UTIL_DIR . "/clientinfo.php");
 <body>
 <div class="menu">
   <a href="?mode=forum">Forum</a>
-<?php /*  <a href="?mode=filehandler">Filehandler</a> */ ?>
+	<a href="?mode=filehandler">Filehandler</a>
   <a href="?mode=calendar">Calendar</a>
-  <a href="?mode=profile">Profile</a>
-</div>
+  <a href="?mode=profile">Profile</a><?php
+	if($current_user->uid == 0) {
+?>  <a href="?mode=diagnostics">Diagnostics</a><?php
+	}
+?></div>
 
 <?php
 
@@ -75,6 +78,10 @@ if($current_user) {
 		include_once($UTIL_DIR. "/filehandler.php");
 		break;
 
+	case "diagnostics":
+		include_once($UTIL_DIR. "/diagnostics.php");
+		break;
+
 	case "view":
 	default:
 		include_once($UTIL_DIR. "/view.php");
-- 
cgit v1.2.3