From 093e36530916e21c09cbe55efd03d2825fe820b4 Mon Sep 17 00:00:00 2001
From: deva <deva>
Date: Tue, 6 Jul 2010 13:21:30 +0000
Subject: New tasks system.

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

(limited to 'forum/htdocs/index.php')

diff --git a/forum/htdocs/index.php b/forum/htdocs/index.php
index 7e372c7..c4e0570 100644
--- a/forum/htdocs/index.php
+++ b/forum/htdocs/index.php
@@ -40,12 +40,13 @@ include_once($UTIL_DIR . "/clientinfo.php");
 <?php if($mode == "editor") {?>    <script language="javascript" src="lib.js" type="text/javascript"></script><?php } ?>
   </head>
   <body>
-    <div class="menu">
+    <div id="menu_top" class="menu">
       <a href="?mode=forum">Forum</a>
       <a href="?mode=filehandler">Filehandler</a>
       <a href="?mode=calendar">Calendar</a>
       <a href="?mode=addressbook">Addressbook</a>
       <a href="?mode=profile">Profile</a>
+      <a href="?mode=tasks">Tasks</a>
 <?php	if($current_user->uid == 0) {?>      <a href="?mode=diagnostics">Diagnostics</a><?php	} ?>
     </div>
 <?php
@@ -64,6 +65,10 @@ if($current_user) {
 		include_once($UTIL_DIR. "/profile.php");
 		break;
 
+	case "tasks":
+		include_once($UTIL_DIR. "/tasks.php");
+		break;
+
 	case "calendar":
 		include_once($UTIL_DIR. "/calendar.php");
 		break;
@@ -92,12 +97,13 @@ if($current_user) {
 	default:
 		include_once($UTIL_DIR. "/view.php");
 ?>
-    <div class="menu">
+    <div id="menu_bottom" class="menu">
       <a href="?mode=forum">Forum</a>
       <a href="?mode=filehandler">Filehandler</a>
       <a href="?mode=calendar">Calendar</a>
       <a href="?mode=addressbook">Addressbook</a>
       <a href="?mode=profile">Profile</a>
+      <a href="?mode=tasks">Tasks</a>
 <?php	if($current_user->uid == 0) {?>      <a href="?mode=diagnostics">Diagnostics</a><?php	} ?>
     </div>
 <?php
-- 
cgit v1.2.3