index 3ef237aa9b5a4ab2e6fa46795e57f8d8bf76744f..706edc95a1753f4c951769670c2a54b576a30200 100644 (file)
/* WorkAround */
include "acl_definition.inc";
$this->objects= $ACLD;
/* WorkAround */
include "acl_definition.inc";
$this->objects= $ACLD;
- $this->object= reset(array_keys($this->objects));
+ $tmp= array_keys($this->objects);
+ $this->object= reset($tmp);
$this->selfflag= FALSE;
if (isset($this->attrs['gosaSubtreeACL'][0])){
$this->selfflag= FALSE;
if (isset($this->attrs['gosaSubtreeACL'][0])){
function execute()
{
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Do we represent a valid group? */
if (!$this->is_account && $this->parent == NULL){
/* Do we represent a valid group? */
if (!$this->is_account && $this->parent == NULL){
- $display= "<img src=\"images/stop.png\" align=center> <b>".
+ $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\"> <b>".
_("This 'dn' is no acl container.")."</b>";
return ($display);
}
_("This 'dn' is no acl container.")."</b>";
return ($display);
}
if ($this->object == "all"){
$this->current_acl= preg_replace ( "/[,]?all[,]?/", "", $this->current_acl);
}
if ($this->object == "all"){
$this->current_acl= preg_replace ( "/[,]?all[,]?/", "", $this->current_acl);
}
- $this->current_acl= preg_replace ( "/[,]?$this->object#[^,]*[,]?/", "", $this->current_acl);
+ $this->current_acl= preg_replace ( "/[^a-z0-9A-Z]$this->object#[^,]*[,]?/", "", $this->current_acl);
/* assemble new attributes */
$attrs= "";
/* assemble new attributes */
$attrs= "";
asort ($name);
# Generate checklist
asort ($name);
# Generate checklist
- $display.= "<table style=\"width:100%;\">\n";
+ $display.= "<table summary=\"\" style=\"width:100%;\">\n";
$switch= 0;
foreach ($name as $key => $val){
if ($switch == 0){
$switch= 0;
foreach ($name as $key => $val){
if ($switch == 0){