diff --git a/gosa-core/plugins/admin/acl/tabs_acl_role.inc b/gosa-core/plugins/admin/acl/tabs_acl_role.inc
index 4b8a211a2cf10a51def2a9475d3b1614cd41fefa..28be2338567e20491201b33fb37ac71e510fe6ae 100644 (file)
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=\"".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);
}
-
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>