summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-01-06 22:44:30 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-01-06 22:44:30 +0100
commit3e9969766153839abfb7de59e0c778a604bfbf55 (patch)
treefa5dcdcc4e41d680a7004e8abcfd9f330944f6b8 /demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
parent7915cde127eba2a5143fd45c6b32e81ad91bdfae (diff)
Removed all @version $Id comments: they were managed by svn and are useless with git
Diffstat (limited to 'demos/time-tracker/protected/pages/TimeTracker/SiteMap.php')
-rwxr-xr-xdemos/time-tracker/protected/pages/TimeTracker/SiteMap.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php b/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
index 51df0583..ab612baf 100755
--- a/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
@@ -6,7 +6,6 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id: SiteMap.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +13,6 @@
* SiteMap menu is rendered depending on user roles.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id: SiteMap.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
@@ -26,7 +24,7 @@ class SiteMap extends TTemplateControl
public function onPreRender($param)
{
parent::onPreRender($param);
-
+
$page = explode('.',$this->Request->ServiceParameter);
$active = null;
switch($page[count($page)-1])
@@ -47,7 +45,7 @@ class SiteMap extends TTemplateControl
$active = $this->LogMenu;
break;
}
-
+
//add 'active' string to place holder body.
if(!is_null($active))
$active->Controls[] = 'active';