diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc
index 68009793e4016d85a51f15c523f3d7a0ce4b0f2e..d43c66a0160e74bef3e7b1aa45f5bcac47219d26 100644 (file)
// Tab definition
protected $tabClass = "aclroletab";
// Tab definition
protected $tabClass = "aclroletab";
- protected $tabType = NULL;
+ protected $tabType = "ACLROLETAB";
protected $aclCategory = "acl";
protected $aclPlugin = "acl";
protected $objectName = "acl";
protected $aclCategory = "acl";
protected $aclPlugin = "acl";
protected $objectName = "acl";
function removeEntryConfirmed($action="",$target=array(),$all=array(),
$altTabClass="",$altTabType="",$altAclCategory="")
{
function removeEntryConfirmed($action="",$target=array(),$all=array(),
$altTabClass="",$altTabType="",$altAclCategory="")
{
- $this->config->data['TABS'][$this->tabClass] =NULL;
- $tabType = $this->tabType;
- $tabClass = $this->tabClass;
- $aclCategory = $this->aclCategory;
-
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$target,"Entry removel confirmed!");
$headpage = $this->getHeadpage();
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$target,"Entry removel confirmed!");
$headpage = $this->getHeadpage();
if($headpage->getType($dn) == "gosaRole"){
$tabClass = "aclroletab";
if($headpage->getType($dn) == "gosaRole"){
$tabClass = "aclroletab";
+ $tabTape = "ACLROLETAB";
}else{
$tabClass = "acltab";
}else{
$tabClass = "acltab";
+ $tabTape = "ACLTAB";
}
// Delete the object
}
// Delete the object
{
$this->skipFooter = TRUE;
$altTabClass = "aclroletab";
{
$this->skipFooter = TRUE;
$altTabClass = "aclroletab";
- $altTabType = "ACLROLES";
- $this->config->data['TABS'][$altTabType] =NULL;
- management::newEntry($action,$target,$all,$altTabClass,$altTabType,$altAclCategory);
+ $altTabType = "ACLROLETAB";
+ return(management::newEntry($action,$target,$all,$altTabClass,$altTabType,$altAclCategory));
}
function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
{
}
function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
{
- $this->config->data['TABS'][$this->tabClass] =NULL;
$this->skipFooter = TRUE;
if(count($target) == 1){
$this->skipFooter = TRUE;
if(count($target) == 1){
$headpage = $this->getHeadpage();
if($headpage->getType($this->dn) == "gosaRole"){
$altTabClass = "aclroletab";
$headpage = $this->getHeadpage();
if($headpage->getType($this->dn) == "gosaRole"){
$altTabClass = "aclroletab";
+ $altTabType = "ACLROLETAB";
}else{
$altTabClass = "acltab";
}else{
$altTabClass = "acltab";
+ $altTabType = "ACLTAB";
}
}
- management::editEntry($action,array($this->dn),$all,$altTabClass,$altTabType,$altAclCategory);
+ return(management::editEntry($action,array($this->dn),$all,$altTabClass,$altTabType,$altAclCategory));
}
}
}
}