diff --git a/gosa-core/plugins/admin/acl/tabs_acl_role.inc b/gosa-core/plugins/admin/acl/tabs_acl_role.inc
index ce8f984c64181c0c10c8197f966351469fd468e7..28be2338567e20491201b33fb37ac71e510fe6ae 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
/* 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){
if ($this->dn != $new_dn){
function execute()
{
$display= tabs::execute();
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.= "<p style=\"text-align:right\">\n";
- $display.= " <input type=submit name=\"edit_finish\" style=\"width:80px\" value=\"".msgPool::okButton()."\">\n";
- $display.= " \n";
- $display.= " <input type=submit name=\"edit_cancel\" value=\"".msgPool::cancelButton()."\">\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);
}
$display.= "</p>";
}
return($display);
}
-
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>