index 1fe3908b5408d893c99baccf40de7ecceb898392..a7af83ec2247c815e65a37460ce46b42e660bc4b 100644 (file)
static function registerPlugin($class, $title= "")
{
-
$str = "";
// Display headline of management plugins
// 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);
}
}
if(empty($path)){
$path = "<li class='left path-element'>"._("Welcome to GOsa")."</li>";
}
+
return($path);
}