Code

Updated Export
[gosa.git] / gosa-core / include / class_pathNavigator.inc
index 1fe3908b5408d893c99baccf40de7ecceb898392..a7af83ec2247c815e65a37460ce46b42e660bc4b 100644 (file)
@@ -5,7 +5,6 @@ class pathNavigator
 
   static function registerPlugin($class, $title= "")
   {
-    
     $str = "";
 
     // Display headline of management plugins
@@ -15,9 +14,7 @@ class pathNavigator
 
     // Shown title of sub dialogs (They have no plHeadline set.)
     if($class instanceOf plugin && !isset($class->plHeadline)){
-      if(empty($class->pathTitle)){
-        $str = "Missing: ".get_class($class);
-      }else{
+      if(!empty($class->pathTitle)){
         $str = _($class->pathTitle);
       }
     }
@@ -70,6 +67,7 @@ class pathNavigator
     if(empty($path)){
       $path = "<li class='left path-element'>"._("Welcome to GOsa")."</li>";
     }
+
     return($path);
   }