MTrackWeb.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 29 Jul 2011 07:49:15 +0000 (15:49 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 29 Jul 2011 07:49:15 +0000 (15:49 +0800)
MTrackWeb.php

index 0ae04ea..36c9f26 100644 (file)
@@ -75,6 +75,15 @@ class MTrackWeb extends HTML_FlexyFramework_Page
         return true;
          
     }
+    /**
+     * currentProject:
+     *
+     * @param {int} $val set the current project (optional)
+     * @return {int} The current project id.
+     * 
+     * 
+     *
+     */
     
     
     function currentProject($val = false)
@@ -214,6 +223,10 @@ class MTrackWeb extends HTML_FlexyFramework_Page
         
         $this->loadProjectList();
         
+        $p = $this->currentProject();
+        
+        
+        
         if (!$this->authUser) {
             return true; // we do allow people in this far..
         }
@@ -235,12 +248,22 @@ class MTrackWeb extends HTML_FlexyFramework_Page
     function get($loc='')
     {
         // 
+        
+        
+        
+        
         if (!empty($loc)) {
             die ("invalid location". htmlspecialchars($loc));
         }
+        
+        
+        
         if (!$this->authUser) {
              return HTML_FlexyFramework::run('Wiki'); 
         }
+        
+        
+        
         return HTML_FlexyFramework::run('Wiki/Today'); 
  
     }