Code

Updated navigator
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 10:02:34 +0000 (10:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 10:02:34 +0000 (10:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16446 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pathNavigator.inc

index 44eb075908c00f5738f228ef0a997709a7018811..ba263dd18b375072f2f381e6a2618dc8435db07f 100644 (file)
@@ -20,7 +20,11 @@ class pathNavigator
     
     if(!empty($str)){
       $cur = session::get('pathNavigator::position');
-      $cur.= "<li class='left left-border path-element'>{$str}</li>";
+      if(empty($cur)){
+        $cur.= "<li class='left left-border path-element'>{$str}</li>";
+      }else{
+        $cur.= "<li class='left path-element'>{$str}</li>";
+      }
       session::set('pathNavigator::position', $cur);
     }
   }