index a2c3489c7e34e35dcf10895f0a70d129acb40a17..e707ebfd3c8bdae4f9cfa369f4f00cae1caaaf07 100644 (file)
/* Adjust acl's to mode */
if (isset($_SESSION['edit'])){
$acl= get_permissions ($ui->dn, $ui->subtreeACL);
- $nagiosAccount->acl= get_module_permission($acl, "nagios", $ui->dn);
+ $nagiosAccount->acl= get_module_permission($acl, "nagiosAccount", $ui->dn);
} else {
$acl= get_permissions ($ui->dn, $ui->subtreeACL);
- $editacl= get_module_permission($acl, "nagios", $ui->dn);
+ $editacl= get_module_permission($acl, "nagiosAccount", $ui->dn);
$nagiosAccount->acl= "#none#";
}
$info= "";
/* Show page footer depending on the mode */
- if (!$nagiosAccount->forward_dialog && $nagiosAccount->is_account){
+ if ($nagiosAccount->is_account){
$display.= "<p class=\"plugbottom\">";
/* Are we in edit mode? */
if (isset($_SESSION['edit'])){
- $display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
+ $display.= "<input type=submit name=\"edit_finish\" style=\"width:80px\" value=\""._("Ok")."\">\n";
$display.= " ";
$display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
$info= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png').
}
/* Page header*/
- $display= print_header(get_template_path('images/email.png'), _("User nagios settings"), $info).$display;
+ $display= print_header(get_template_path('images/monitoring.png'), _("Nagios settings"), $info).$display;
}