Code

Updated pathNavigator
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 09:09:50 +0000 (09:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 09:09:50 +0000 (09:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16443 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pathNavigator.inc
gosa-core/plugins/personal/generic/class_user.inc

index f2d68b70013a24f4df31e7583040fb935753beb9..cf711e879ecd22457cdd201d8a1cbc876fed7a36 100644 (file)
@@ -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)){
index 4c99d76df23b1184c97af99ea64bd31bef4c3f48..e2a5617b3eb5ef1b5b8ebe5e5ab72fed57496668 100644 (file)
@@ -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);