summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea9b546)
raw | patch | inline | side by side (parent: ea9b546)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 31 Mar 2010 13:14:48 +0000 (13:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 31 Mar 2010 13:14:48 +0000 (13:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17437 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/groups/class_groupManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc
index 76f6d4808c3910a9177cfa6f1f5b5994ac5e2442..0c8031749f2df9cd93161bac6cc2685f4cce67b8 100644 (file)
parent::__construct($config, $ui, "groups", $headpage);
$this->registerAction("edit_group","editEntry");
+ $this->registerAction("edit_group_","editEntry");
+ $this->registerAction("edit_group__","editEntry");
$this->registerAction("edit_environment","editEntry");
$this->registerAction("edit_appgroup","editEntry");
$this->registerAction("edit_mailgroup","editEntry");
function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
{
$str = management::editEntry($action,$target);
-
if(preg_match("/^edit_/",$action)){
- $tab = preg_replace("/^edit_/","",$action);
+ $tab = preg_replace("/^edit_([^_]*).*$/","\\1",$action);
if(isset($this->tabObject->by_object[$tab])){
$this->tabObject->current = $tab;
}else{
"sambaGroupMapping" =>
array(
"image" => "plugins/groups/images/samba.png",
- "plugin" => "group",
+ "plugin" => "group_",
"alt" => _("Samba"),
"title" => _("Edit samba properties")
),
"goFonPickupGroup" =>
array(
"image" => "plugins/groups/images/asterisk.png",
- "plugin" => "group",
+ "plugin" => "group__",
"alt" => _("Phone"),
"title" => _("Edit phone properties")
),