diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc
index 76f6d4808c3910a9177cfa6f1f5b5994ac5e2442..7e600b6bbb9ca3b5f23ef022d6bcfa7606bfd45c 100644 (file)
class groupManagement extends management
{
var $plHeadline = "Groups";
class groupManagement extends management
{
var $plHeadline = "Groups";
- var $plDescription = "Group administration";
+ var $plDescription = "Manage aspects of groups like members, posix, desktop, samba and mail settings";
var $plIcon = "plugins/groups/images/plugin.png";
// Tab definition
var $plIcon = "plugins/groups/images/plugin.png";
// Tab definition
parent::__construct($config, $ui, "groups", $headpage);
$this->registerAction("edit_group","editEntry");
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");
$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);
function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
{
$str = management::editEntry($action,$target);
-
if(preg_match("/^edit_/",$action)){
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{
if(isset($this->tabObject->by_object[$tab])){
$this->tabObject->current = $tab;
}else{
"sambaGroupMapping" =>
array(
"image" => "plugins/groups/images/samba.png",
"sambaGroupMapping" =>
array(
"image" => "plugins/groups/images/samba.png",
- "plugin" => "group",
+ "plugin" => "group_",
"alt" => _("Samba"),
"title" => _("Edit samba properties")
),
"alt" => _("Samba"),
"title" => _("Edit samba properties")
),
"goFonPickupGroup" =>
array(
"image" => "plugins/groups/images/asterisk.png",
"goFonPickupGroup" =>
array(
"image" => "plugins/groups/images/asterisk.png",
- "plugin" => "group",
+ "plugin" => "group__",
"alt" => _("Phone"),
"title" => _("Edit phone properties")
),
"alt" => _("Phone"),
"title" => _("Edit phone properties")
),