summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a0530ea)
raw | patch | inline | side by side (parent: a0530ea)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Mar 2010 14:16:43 +0000 (14:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Mar 2010 14:16:43 +0000 (14:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16462 594d385d-05f5-0310-b6e9-bd551577e9d8
index 601b8908294b97cfd890a12ee1b035f9d9c02ffd..520f03d75f69c16a75815cfa09dcd24ea76351e0 100644 (file)
class pathNavigator
{
- static function registerPlugin($class)
+ static function registerPlugin($class, $title= "")
{
- $str = $title = "";
+ $str = "";
// Display headline of management plugins
if($class instanceOf management && isset($class->plHeadline)){
session::set("pathNavigator::registerPlugin:{$class->dn}", $str);
}
$str = session::get("pathNavigator::registerPlugin:{$class->dn}");
- $title = $class->dn;
+ if(empty($title)){
+ $title = $class->dn;
+ }
}
}
diff --git a/gosa-core/plugins/personal/myaccount/main.inc b/gosa-core/plugins/personal/myaccount/main.inc
index b3f89d4b0a97c1165cb293c3847ef43702013684..ee5bec3da7c331a9416785d24cb52a65b0d293c4 100644 (file)
}
/* Execute formular */
- pathNavigator::registerPlugin(_("My account"));
+ pathNavigator::registerPlugin(_("My account"),$MyAccountTabs->dn);
if($lock_msg){
$display = $lock_msg;
}else{
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index ad28d1b9d34a38cab1007e828280a085a5ea685e..3604a2ae45048b5a962024f0eea53371b8752b94 100644 (file)
$smarty->assign("usePrototype", "false");
if ($result= $this->ssh->execute()) {
$this->dialog= true;
+ pathNavigator::registerPlugin("SSH keys");
return $result;
}
$this->dialog= false;