diff --git a/gosa-core/plugins/admin/acl/tabs_acl_role.inc b/gosa-core/plugins/admin/acl/tabs_acl_role.inc
index 4d06c75d33652678ad3d5e7988984d2998cfb017..28be2338567e20491201b33fb37ac71e510fe6ae 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
- $new_dn= 'cn='.$baseobject->cn.",".get_ou('aclroleou').$baseobject->base;
+ $new_dn= 'cn='.$baseobject->cn.",".get_ou('aclRoleRDN').$baseobject->base;
if ($this->dn != $new_dn){
function execute()
{
$display= tabs::execute();
- if(!$this->by_object['aclrole']->dialog){
+ if($this->read_only){
+ $display.= "<div class='plugin-actions'>";
+ $display.= " <button type=submit name=\"edit_cancel\">".msgPool::cancelButton()."</button>\n";
+ $display.= "</div>";
+ }elseif(!$this->by_object['aclrole']->dialog){
$display.= "<p style=\"text-align:right\">\n";
- $display.= " <input type=submit name=\"edit_finish\" style=\"width:80px\" value=\""._("Ok")."\">\n";
- $display.= " \n";
- $display.= " <input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= " <button type=submit name=\"edit_finish\">".msgPool::okButton()."</button>\n";
+ $display.= " <button type=submit name=\"edit_cancel\">".msgPool::cancelButton()."</button>\n";
$display.= "</p>";
}
return($display);
}
-
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>