From: hickert Date: Tue, 6 Apr 2010 12:43:24 +0000 (+0000) Subject: Updated ACL listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3600ab9d4418e38910d5a7dfae0ea33e1ee89841;p=gosa.git Updated ACL listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17482 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index ebe5da1b4..34a9fc344 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -298,14 +298,12 @@ class acl extends plugin // Get listing actions. Delete or Edit. $this->list->save_object(); $lAction = $this->list->getAction(); - if($lAction['action'] == "reorder" || $lAction['action'] == "delete"){ - $this->gosaAclEntry = $this->list->getMaintainedData(); - } + $this->gosaAclEntry = $this->list->getMaintainedData(); /* Act on HTML post and gets here. */ if($lAction['action'] == "edit"){ - $this->currentIndex = $lAction['targets'][0]; + $this->currentIndex = $this->list->getKey($lAction['targets'][0]); $this->dialogState= 'create'; $firstedit= TRUE; $this->dialog= TRUE; @@ -504,7 +502,7 @@ class acl extends plugin } if ($this->dialogState == 'create'){ - /* Draw list */ + $aclList= new divSelectBox("aclList"); $aclList->SetHeight(150); @@ -554,6 +552,7 @@ class acl extends plugin } $smarty->assign("aclList", $aclList->DrawList()); + $smarty->assign("aclType", $this->aclType); $smarty->assign("aclFilter", $this->aclFilter); $smarty->assign("aclTypes", $this->aclTypes);