Code

Updated listing table summary
[gosa.git] / gosa-core / include / class_pluglist.inc
index 41fbd1d382d23282168cf644aed631965fdd0f8f..4aea387d4d765956d3a4e3a407e32b016c8679df 100644 (file)
@@ -320,10 +320,10 @@ class pluglist
       $this->pathMenu = 
         "\n        <div class='plugin-path'>".
         "\n          <ul class='path-navigation'>".
-        "\n            <li class='left right-border' onClick=\"openPlugin('');\">".
-        "\n              <div class='nav-home'></div>".
+        "\n            <li class='left' onClick=\"openPlugin('');\">".
+        "\n              ".image(get_template_path("images/home.png")).
         "\n            </li>".
-        "\n            <li class='left'>Welcome to GOsa</li>";
+        "\n            %navigator%";
 
       // Check if we've at least one entry defined ih the pathmenu
       if(isset($this->config->data['PATHMENU'])){
@@ -336,8 +336,10 @@ class pluglist
       }
       $this->pathMenu.= "\n          </ul>";
       $this->pathMenu.= "\n        </div>";
-    } 
-    return($this->pathMenu); 
+    }
+
+    $menu = pathNavigator::getCurrentPath();
+    return(preg_replace("/%navigator%/", $menu, $this->pathMenu)); 
   }