diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2f8b3d8fe5..2e91c52f37 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2010-05-04 Sergio Martin + + * godmode/db/db_audit.php + godmode/db/db_sanity.php + godmode/db/db_refine.php + godmode/db/db_info.php + godmode/db/db_event.php + godmode/db/db_purge.php: Fixed the screens + without headers for bug: 2996488 + 2010-05-04 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: added tooltip for to diff --git a/pandora_console/godmode/db/db_audit.php b/pandora_console/godmode/db/db_audit.php index 0b4a2b7b2f..cd806ddd89 100644 --- a/pandora_console/godmode/db/db_audit.php +++ b/pandora_console/godmode/db/db_audit.php @@ -16,7 +16,7 @@ // Load global vars global $config; -print_page_header (__('Database audit purge'), "", false, "", true); +print_page_header (__('Database maintenance').' » '.__('Database audit purge'), "images/god8.png", false, "", true); check_login (); diff --git a/pandora_console/godmode/db/db_event.php b/pandora_console/godmode/db/db_event.php index 4c89466193..35fb6ee85a 100644 --- a/pandora_console/godmode/db/db_event.php +++ b/pandora_console/godmode/db/db_event.php @@ -18,7 +18,7 @@ global $config; check_login (); -print_page_header (__('Event database cleanup'), "", false, "", true); +print_page_header (__('Database maintenance').' » '.__('Event database cleanup'), "images/god8.png", false, "", true); if (! give_acl ($config['id_user'], 0, "DM")) { audit_db ($config['id_user'], $_SERVER['REMOTE_ADDR'], "ACL Violation", "Trying to access Database Management Event"); diff --git a/pandora_console/godmode/db/db_info.php b/pandora_console/godmode/db/db_info.php index c2aa2f7f7e..272557bb8e 100644 --- a/pandora_console/godmode/db/db_info.php +++ b/pandora_console/godmode/db/db_info.php @@ -22,7 +22,7 @@ if ($config['flash_charts']) { require('include/fgraph.php'); } -print_page_header (__('Database information'), "", false, "", true); +print_page_header (__('Database maintenance').' » '.__('Database information'), "images/god8.png", false, "", true); check_login (); diff --git a/pandora_console/godmode/db/db_purge.php b/pandora_console/godmode/db/db_purge.php index 951ce2d176..499d91914c 100644 --- a/pandora_console/godmode/db/db_purge.php +++ b/pandora_console/godmode/db/db_purge.php @@ -34,7 +34,8 @@ if (! give_acl ($config['id_user'], 0, "DM")) { //id_agent = -1: None selected; id_agent = 0: All $id_agent = (int) get_parameter_post ("agent", -1); -echo '

'.__('Database maintenance').' » '.__('Database purge').'

'; +print_page_header (__('Database maintenance').' » '.__('Database purge'), "images/god8.png", false, "", true); + if ($config['flash_charts']) { echo grafico_db_agentes_purge ($id_agent, $width, $height); } else { diff --git a/pandora_console/godmode/db/db_refine.php b/pandora_console/godmode/db/db_refine.php index da71addb49..aa265b6d09 100644 --- a/pandora_console/godmode/db/db_refine.php +++ b/pandora_console/godmode/db/db_refine.php @@ -26,7 +26,7 @@ if (! give_acl ($config['id_user'], 0, "DM")) { exit; } -echo '

'.__('Database maintenance').' » '.__('Database debug').'

'; +print_page_header (__('Database maintenance').' » '.__('Database debug'), "images/god8.png", false, "", true); if ((isset ($_GET["operacion"])) && (!isset ($_POST["update_agent"]))) { diff --git a/pandora_console/godmode/db/db_sanity.php b/pandora_console/godmode/db/db_sanity.php index 822113e942..75a8059fde 100644 --- a/pandora_console/godmode/db/db_sanity.php +++ b/pandora_console/godmode/db/db_sanity.php @@ -26,8 +26,7 @@ if (! give_acl ($config["id_user"], 0, "DM")) { return; } -echo '

'.__('Database maintenance').' » '; -echo __('Database sanity tool')."

"; +print_page_header (__('Database maintenance').' » '.__('Database sanity tool'), "images/god8.png", false, "", true); $sanity = get_parameter ("sanity", 0);