diff options
author | deva <deva> | 2008-10-11 13:57:06 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-11 13:57:06 +0000 |
commit | 534c0058a2e04fc9e9588189a7c9b87756c3df61 (patch) | |
tree | 5bd3bb0928797bfc2f51ddb2616dba7908ebd948 /forum/htdocs | |
parent | b3ad20b02998a5d12819a1530d6a14a20751eb05 (diff) |
Added basis admin diagnostics page... to be expanded later.
Diffstat (limited to 'forum/htdocs')
-rw-r--r-- | forum/htdocs/index.php | 13 |
1 files changed, 10 insertions, 3 deletions
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"); |