summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3057b7c)
raw | patch | inline | side by side (parent: 3057b7c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Mar 2010 08:44:57 +0000 (08:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Mar 2010 08:44:57 +0000 (08:44 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16404 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_pathNavigator.inc | patch | blob | history |
index 83872cc9e7b0f563b810b5c99401a26ca4e39203..fcbd1752f0f64b2dfafa8975e4a43953711f2e2e 100644 (file)
static function registerPlugin($class)
{
$str = "";
- if($class instanceOf management){
+ if($class instanceOf management && isset($class->plHeadline)){
$str = "<b>".$class->plHeadline."</b>";
- }elseif($class instanceOf plugin){
+ }elseif($class instanceOf plugin && isset($class->plHeadline)){
$str = $class->plHeadline;
+ }elseif($class instanceOf plugin && !isset($class->plHeadline)){
+ $str = get_class($class);
}elseif($class instanceOf tabs){
$str = $class->dn;
}