"aclrole" , "NAME" => _("ACL Templates"))); tabs::tabs($config, $data, $dn,"acl"); } function save($ignore_account= FALSE) { $baseobject= $this->by_object['aclrole']; /* Check for new 'dn', in order to propagate the 'dn' to all plugins */ $new_dn= 'cn='.$baseobject->cn.",".get_ou('aclRoleRDN').$baseobject->base; if ($this->dn != $new_dn){ /* Write entry on new 'dn' */ if ($this->dn != "new"){ $baseobject->move($this->dn, $new_dn); $this->by_object['aclrole']= $baseobject; } /* Happen to use the new one */ $this->dn= $new_dn; } $ret= tabs::save(); return $ret; } function save_object($ignore_account= FALSE) { tabs::save_object(); } function execute() { $display= tabs::execute(); if($this->read_only){ $display.= "

\n"; $display.= " \n"; $display.= "

"; }elseif(!$this->by_object['aclrole']->dialog){ $display.= "

\n"; $display.= " \n"; $display.= "  \n"; $display.= " \n"; $display.= "

"; } return($display); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>