From 3474cdb04527e2cbc6ba9efbe63128231af0bac0 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Mar 2010 09:09:50 +0000 Subject: [PATCH] Updated pathNavigator git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16443 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_pathNavigator.inc | 2 ++ gosa-core/plugins/personal/generic/class_user.inc | 1 + 2 files changed, 3 insertions(+) diff --git a/gosa-core/include/class_pathNavigator.inc b/gosa-core/include/class_pathNavigator.inc index f2d68b700..cf711e879 100644 --- a/gosa-core/include/class_pathNavigator.inc +++ b/gosa-core/include/class_pathNavigator.inc @@ -14,6 +14,8 @@ class pathNavigator $str = "{".get_class($class)."}"; }elseif($class instanceOf tabs){ $str = $class->dn; + }elseif(is_string($class)){ + $str = $class; } if(!empty($str)){ diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 4c99d76df..e2a5617b3 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -545,6 +545,7 @@ class user extends plugin /* Display cert dialog */ if ($this->cert_dialog){ + pathNavigator::registerPlugin(_("Certificates")); $smarty->assign("CertificateACL",$this->getacl("Certificate")); $smarty->assign("Certificate_readable",$this->acl_is_readable("Certificate")); $smarty->assign("certificateSerialNumber",$this->certificateSerialNumber); -- 2.30.2