Code

Added pathNaviator
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 08:46:19 +0000 (08:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 08:46:19 +0000 (08:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16405 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pathNavigator.inc

index fcbd1752f0f64b2dfafa8975e4a43953711f2e2e..53f96b3b8fc7b95d264d258b962cfaf778c69b91 100644 (file)
@@ -25,7 +25,11 @@ class pathNavigator
 
   static function getCurrentPath()
   {
-    return(session::get('pathNavigator::position'));
+    $path = session::get('pathNavigator::position');
+    if(empty($path)){
+      $path = "<li class='left'>Welcome to GOsa</li>";
+    }
+    return($path);
   }
 
   static function clear()