X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_pathNavigator.inc;h=a7af83ec2247c815e65a37460ce46b42e660bc4b;hb=1e99420f077c6595a6098da8b0685a852668852f;hp=1fe3908b5408d893c99baccf40de7ecceb898392;hpb=5d994a998e36dba7f76651a544b87e612ab252f7;p=gosa.git diff --git a/gosa-core/include/class_pathNavigator.inc b/gosa-core/include/class_pathNavigator.inc index 1fe3908b5..a7af83ec2 100644 --- a/gosa-core/include/class_pathNavigator.inc +++ b/gosa-core/include/class_pathNavigator.inc @@ -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 = "
  • "._("Welcome to GOsa")."
  • "; } + return($path); }