diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9c21263924..be74ebd47a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-05-10 Sergio Martin + + * godmode/agentes/massive_operations.php: Fixed the + header using now the print_header function for + bug: 2999269 + 2010-05-09 Raúl Mateos * godmode/setup/file_manager.php: Changed deprecated split() function to diff --git a/pandora_console/godmode/agentes/massive_operations.php b/pandora_console/godmode/agentes/massive_operations.php index 8906034b8f..7d37584241 100644 --- a/pandora_console/godmode/agentes/massive_operations.php +++ b/pandora_console/godmode/agentes/massive_operations.php @@ -29,47 +29,57 @@ require_once ('include/functions_modules.php'); $tab = (string) get_parameter ('tab', 'copy_modules'); -$img_style = array ("class" => "top", "width" => 16); +/* Copy modules */ +$copymoduletab['text'] = '' + . print_image ("images/copy.png", true, array ("title" => __('Copy modules'))) + . ""; +if($tab == 'copy_modules') + $copymoduletab['active'] = true; +else + $copymoduletab['active'] = false; + +/* Edit Modules */ +$editmoduletab['text'] = '' + . print_image ("images/edit.png", true, array ("title" => __('Edit modules'))) + . ""; +if($tab == 'edit_modules') + $editmoduletab['active'] = true; +else + $editmoduletab['active'] = false; + +/* Delete Modules */ +$deletemoduletab['text'] = '' + . print_image ("images/delete_modules.png", true, array ("title" => __('Delete modules'))) + . ""; +if($tab == 'delete_modules') + $deletemoduletab['active'] = true; +else + $deletemoduletab['active'] = false; -echo '"; - -echo '
 
'; - -echo '

'.__('Agent configuration'). ' » '. __('Massive operations').'

'; switch ($tab) { case 'delete_alerts': require_once ('godmode/agentes/massive_delete_alerts.php');