From a1ccf34e56dc13e7c8a289236744735010f9b32e Mon Sep 17 00:00:00 2001 From: slerena Date: Fri, 22 Aug 2008 18:07:32 +0000 Subject: [PATCH] 2008-08-22 Sancho Lerena * Massive header update. We're now officially on Beta1. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++ pandora_console/ajax.php | 10 +-- pandora_console/extensions/hello.php | 19 +++++- pandora_console/general/error_install.php | 9 +-- pandora_console/general/error_noconfig.php | 7 ++- pandora_console/general/error_perms.php | 8 +-- pandora_console/general/header.php | 7 ++- pandora_console/general/login_page.php | 13 ++-- pandora_console/general/logoff.php | 13 ++-- pandora_console/general/logon_failed.php | 13 ++-- pandora_console/general/logon_ok.php | 6 +- pandora_console/general/main_menu.php | 13 ++-- pandora_console/general/noaccess.php | 19 ++++-- pandora_console/general/pandora_help.php | 20 ++++-- pandora_console/godmode/admin_access_logs.php | 14 ++--- .../godmode/agentes/agent_manager.php | 5 +- .../godmode/agentes/agent_template.php | 16 ++--- .../godmode/agentes/alert_manager.php | 8 ++- .../godmode/agentes/alert_manager_editor.php | 11 ++-- .../godmode/agentes/configurar_agente.php | 10 +-- .../godmode/agentes/manage_config.php | 7 ++- .../godmode/agentes/manage_config_remote.php | 6 +- .../godmode/agentes/modificar_agente.php | 4 +- .../godmode/agentes/module_manager.php | 21 +++++-- .../godmode/agentes/module_manager_editor.php | 21 +++++-- .../agentes/module_manager_editor_data.php | 12 ++-- .../module_manager_editor_prediction.php | 11 ++-- .../agentes/module_manager_editor_wmi.php | 11 ++-- .../godmode/agentes/planned_downtime.php | 61 ++++++++++--------- .../godmode/alerts/configure_alert.php | 20 +++--- .../godmode/alerts/modify_alert.php | 23 +++++-- pandora_console/godmode/db/db_audit.php | 17 +++--- pandora_console/godmode/db/db_event.php | 22 +++++-- pandora_console/godmode/db/db_info.php | 24 ++++++-- pandora_console/godmode/db/db_info_data.php | 16 ++--- pandora_console/godmode/db/db_main.php | 14 ++--- pandora_console/godmode/db/db_purge.php | 14 +++-- pandora_console/godmode/db/db_refine.php | 18 +++--- pandora_console/godmode/db/db_sanity.php | 15 +++-- pandora_console/godmode/db/times_incl.php | 17 ++++++ pandora_console/godmode/extensions.php | 13 ++-- .../godmode/groups/configure_group.php | 23 +++---- pandora_console/godmode/groups/group_list.php | 22 +++---- .../godmode/modules/manage_nc_groups.php | 23 +++---- .../godmode/modules/manage_nc_groups_form.php | 23 +++---- .../modules/manage_network_components.php | 14 +++-- .../manage_network_components_form.php | 13 ++-- ...manage_network_components_form_network.php | 14 +++-- .../manage_network_components_form_wmi.php | 14 +++-- .../modules/manage_network_templates.php | 14 +++-- .../modules/manage_network_templates_form.php | 11 ++-- .../godmode/modules/module_list.php | 21 +++---- .../godmode/profiles/profile_list.php | 13 ++-- .../godmode/reporting/graph_builder.php | 17 +++--- .../godmode/reporting/map_builder.php | 37 +++++------ .../godmode/servers/manage_recontask.php | 4 +- .../godmode/servers/manage_recontask_form.php | 7 ++- .../godmode/servers/modificar_server.php | 13 ++-- pandora_console/godmode/servers/plugin.php | 7 ++- pandora_console/godmode/setup/news.php | 21 +++++-- .../godmode/users/configure_user.php | 14 ++--- pandora_console/godmode/users/user_list.php | 21 +++++-- pandora_console/include/config_process.php | 8 +-- pandora_console/include/functions.php | 2 +- pandora_console/include/functions_db.php | 12 ++-- .../include/functions_extensions.php | 16 +++++ pandora_console/include/functions_html.php | 5 +- .../include/functions_reporting.php | 2 +- .../include/functions_reporting_pdf.php | 7 ++- .../include/functions_visual_map.php | 14 ++--- pandora_console/include/styles/install.css | 39 ++++++++---- pandora_console/index.php | 4 +- pandora_console/install.php | 40 ++++++------ pandora_console/operation/agentes/bulbs.php | 14 ++--- .../operation/agentes/datos_agente.php | 15 ++--- .../operation/agentes/estadisticas.php | 18 +++--- .../operation/agentes/estado_agente.php | 4 +- .../operation/agentes/estado_alertas.php | 10 +-- .../agentes/estado_generalagente.php | 4 +- .../operation/agentes/estado_grupo.php | 8 ++- .../operation/agentes/estado_monitores.php | 18 +++--- .../agentes/estado_ultimopaquete.php | 7 ++- .../operation/agentes/export_csv.php | 21 +++---- .../operation/agentes/exportdata.php | 24 +++----- .../operation/agentes/networkmap.php | 14 +++-- .../operation/agentes/sla_view.php | 13 ++-- .../operation/agentes/status_events.php | 14 +++-- .../operation/agentes/status_monitor.php | 14 +++-- .../operation/agentes/ver_agente.php | 7 ++- .../operation/events/event_statistics.php | 15 ++--- pandora_console/operation/events/events.php | 4 +- .../operation/events/events_marquee.php | 11 ++-- .../operation/events/export_csv.php | 10 +-- pandora_console/operation/extensions.php | 13 ++-- .../operation/incidents/incident.php | 8 ++- .../operation/incidents/incident_detail.php | 15 +++-- .../operation/incidents/incident_note.php | 15 +++-- .../operation/incidents/incident_search.php | 15 +++-- .../incidents/incident_statistics.php | 14 ++--- pandora_console/operation/menu.php | 13 ++-- .../operation/messages/message.php | 14 ++--- .../operation/reporting/custom_reporting.php | 14 ++--- .../operation/reporting/graph_viewer.php | 16 ++--- .../operation/reporting/reporting_viewer.php | 14 ++--- .../reporting/reporting_viewer_pdf.php | 16 ++--- .../operation/servers/view_server_detail.php | 5 +- .../operation/snmpconsole/snmp_alert.php | 14 ++--- .../operation/snmpconsole/snmp_view.php | 13 ++-- pandora_console/operation/users/user.php | 14 ++--- pandora_console/operation/users/user_edit.php | 14 ++--- .../operation/users/user_statistics.php | 15 ++--- .../operation/visual_console/index.php | 45 +++++++------- .../operation/visual_console/render_view.php | 15 ++--- pandora_console/pandoradb_data.sql | 9 ++- pandora_console/reporting/fgraph.php | 2 +- pandora_console/reporting/stat_win.php | 16 ++--- pandora_console/upgrade.php | 11 ++-- 117 files changed, 930 insertions(+), 742 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index df8f3d1ed8..18913a9c02 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2008-08-22 Sancho Lerena + + * Massive header update. We're now officially on Beta1. + 2008-08-22 Sancho Lerena * pandoradb_data.sql: Removed data for locale, added for new diff --git a/pandora_console/ajax.php b/pandora_console/ajax.php index fce9c4738c..295d709d93 100644 --- a/pandora_console/ajax.php +++ b/pandora_console/ajax.php @@ -1,8 +1,8 @@ Hello world!"; + echo "This is a sample of minimal plugin"; } /* This adds a option in the operation menu */ diff --git a/pandora_console/general/error_install.php b/pandora_console/general/error_install.php index b218c894b2..0a17bab138 100644 --- a/pandora_console/general/error_install.php +++ b/pandora_console/general/error_install.php @@ -1,7 +1,8 @@ - \ No newline at end of file + diff --git a/pandora_console/general/error_noconfig.php b/pandora_console/general/error_noconfig.php index 88957a7040..6f46a4804e 100644 --- a/pandora_console/general/error_noconfig.php +++ b/pandora_console/general/error_noconfig.php @@ -1,7 +1,8 @@ diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index 52edd96909..726f9f0f3f 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -1,7 +1,8 @@ 0) + $notinit_percentage = (($data_not_init + $monitor_not_init) / ($total_checks / 100)); +else + $notinit_percentage = 0; + $module_sanity = format_numeric (100 - $notinit_percentage); $total_alerts = $data_alert + $monitor_alert; $total_fired_alerts = $monitor_alert_total+$data_alert_total; diff --git a/pandora_console/general/main_menu.php b/pandora_console/general/main_menu.php index 2bdb1b5e51..ed97d43f47 100644 --- a/pandora_console/general/main_menu.php +++ b/pandora_console/general/main_menu.php @@ -1,18 +1,21 @@
diff --git a/pandora_console/general/pandora_help.php b/pandora_console/general/pandora_help.php index ce9e10bbfc..0988e15752 100644 --- a/pandora_console/general/pandora_help.php +++ b/pandora_console/general/pandora_help.php @@ -1,12 +1,20 @@ - -// Copyright (c) 2008 Jorge Gonz谩lez - +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es // Please see http://pandora.sourceforge.net for full contribution list // This program is free software; you can redistribute it and/or @@ -19,6 +16,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + $add_component = get_parameter ("add_component",0); echo "

".__('Alert association form'); pandora_help ("alerts"); diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 5c792b54e9..cee32ea4cc 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -1,9 +1,8 @@ -// Copyright (c) 2008 Sancho Lerena + +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es // Please see http://pandora.sourceforge.net for full contribution list // This program is free software; you can redistribute it and/or @@ -17,6 +16,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + // Load global vars require("include/config.php"); diff --git a/pandora_console/godmode/agentes/manage_config.php b/pandora_console/godmode/agentes/manage_config.php index b1fbbd3c0d..2a43fbd118 100644 --- a/pandora_console/godmode/agentes/manage_config.php +++ b/pandora_console/godmode/agentes/manage_config.php @@ -2,13 +2,12 @@ // Pandora FMS - the Flexible Monitoring System // ============================================ -// Copyright (c) 2008 Artica Soluciones Tecnol贸gicas, http://www.artica.es +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es // Please see http://pandora.sourceforge.net for full contribution list // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// as published by the Free Software Foundation for version 2. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -17,6 +16,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + // Load global vars require ("include/config.php"); diff --git a/pandora_console/godmode/agentes/manage_config_remote.php b/pandora_console/godmode/agentes/manage_config_remote.php index a8cd11b6c0..494c22e33e 100644 --- a/pandora_console/godmode/agentes/manage_config_remote.php +++ b/pandora_console/godmode/agentes/manage_config_remote.php @@ -2,12 +2,12 @@ // Pandora FMS - the Flexible Monitoring System // ============================================ -// Copyright (c) 2008 Artica Soluciones Tecnol贸gicas, http://www.artica.es +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es // Please see http://pandora.sourceforge.net for full contribution list // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; version 2. +// as published by the Free Software Foundation for version 2. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -16,6 +16,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + // Load global vars require ("include/config.php"); diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index 772c5d8862..0a90268b50 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -2,7 +2,7 @@ // Pandora FMS - the Flexible Monitoring System // ============================================ -// Copyright (c) 2008 Artica Soluciones Tecnol贸gicas, http://www.artica.es +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es // Please see http://pandora.sourceforge.net for full contribution list // This program is free software; you can redistribute it and/or @@ -15,6 +15,8 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + // Load global vars require("include/config.php"); diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php index 72bae93ef4..3c35586099 100644 --- a/pandora_console/godmode/agentes/module_manager.php +++ b/pandora_console/godmode/agentes/module_manager.php @@ -1,12 +1,21 @@ -// Main PHP/SQL code development, project architecture and management. + +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es +// Please see http://pandora.sourceforge.net for full contribution list + // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation, version 2. +// as published by the Free Software Foundation for version 2. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + // Load global vars require("include/config.php"); diff --git a/pandora_console/godmode/agentes/module_manager_editor.php b/pandora_console/godmode/agentes/module_manager_editor.php index 3b784de35c..d19842d426 100644 --- a/pandora_console/godmode/agentes/module_manager_editor.php +++ b/pandora_console/godmode/agentes/module_manager_editor.php @@ -1,12 +1,21 @@ -// Main PHP/SQL code development, project architecture and management. + +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es +// Please see http://pandora.sourceforge.net for full contribution list + // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation, version 2. +// as published by the Free Software Foundation for version 2. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + // General startup for established session diff --git a/pandora_console/godmode/agentes/module_manager_editor_data.php b/pandora_console/godmode/agentes/module_manager_editor_data.php index 92351a6641..de372f1b89 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_data.php +++ b/pandora_console/godmode/agentes/module_manager_editor_data.php @@ -1,8 +1,8 @@ - + + + -// Copyright (c) 2008 Esteban Sanchez +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es // Please see http://pandora.sourceforge.net for full contribution list // This program is free software; you can redistribute it and/or @@ -16,6 +16,11 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +// Copyright (c) 2008 Evi Vanoost +// Please see http://pandora.sourceforge.net for full contribution list + + // Load global vars require("include/config.php"); @@ -272,36 +277,34 @@ if ($create_downtime || $update_downtime) { $sql = "SELECT * FROM tplanned_downtime"; $downtimes = get_db_all_rows_sql ($sql); - if ($downtimes === false) { - $table->colspan[0][0] = 5; - $table->data[0][0] = __('No planned downtime'); - $downtimes = array(); + if (!$downtimes) { + echo '
'.('No planned downtime').'
'; } - - foreach ($downtimes as $downtime) { - $data = array(); - $total = get_db_sql ("SELECT COUNT(id_agent) FROM tplanned_downtime_agents WHERE id_downtime = ".$downtime["id"]); + else { + foreach ($downtimes as $downtime) { + $data = array(); + $total = get_db_sql ("SELECT COUNT(id_agent) FROM tplanned_downtime_agents WHERE id_downtime = ".$downtime["id"]); - $data[0] = $downtime['name']. " ($total)"; - $data[1] = $downtime['description']; - $data[2] = date ("Y-m-d H:i", $downtime['date_from']); - $data[3] = date ("Y-m-d H:i", $downtime['date_to']); - if ($downtime["executed"] == 0){ - $data[4] = ' - '.__('Delete').''; - $data[5] = ' - '.__('Update').''; + $data[0] = $downtime['name']. " ($total)"; + $data[1] = $downtime['description']; + $data[2] = date ("Y-m-d H:i", $downtime['date_from']); + $data[3] = date ("Y-m-d H:i", $downtime['date_to']); + if ($downtime["executed"] == 0){ + $data[4] = ' + '.__('Delete').''; + $data[5] = ' + '.__('Update').''; + } + if ($downtime["executed"] == 0) + $data[6] = ""; + else + $data[6] = ""; + + array_push ($table->data, $data); } - if ($downtime["executed"] == 0) - $data[6] = ""; - else - $data[6] = ""; - - array_push ($table->data, $data); + print_table ($table); } - print_table ($table); - echo '
'; echo "
"; diff --git a/pandora_console/godmode/alerts/configure_alert.php b/pandora_console/godmode/alerts/configure_alert.php index 9bc09aaabc..9ad82046a0 100644 --- a/pandora_console/godmode/alerts/configure_alert.php +++ b/pandora_console/godmode/alerts/configure_alert.php @@ -1,20 +1,13 @@ -// Additions to Pandora FMS 1.2 graph code and new XML reporting template management -// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es -// +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es +// Please see http://pandora.sourceforge.net for full contribution list + // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; version 2 +// as published by the Free Software Foundation for version 2. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -23,6 +16,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + // Load global vars require ("include/config.php"); diff --git a/pandora_console/godmode/alerts/modify_alert.php b/pandora_console/godmode/alerts/modify_alert.php index 0aff32c58c..8f92756457 100644 --- a/pandora_console/godmode/alerts/modify_alert.php +++ b/pandora_console/godmode/alerts/modify_alert.php @@ -1,9 +1,22 @@ , 2003-2007 -// Raul Mateos , 2005-2007 + +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es +// Please see http://pandora.sourceforge.net for full contribution list + +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation for version 2. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + // Load global vars require ("include/config.php"); diff --git a/pandora_console/godmode/db/db_audit.php b/pandora_console/godmode/db/db_audit.php index c1d3f16913..357e1ea064 100644 --- a/pandora_console/godmode/db/db_audit.php +++ b/pandora_console/godmode/db/db_audit.php @@ -1,14 +1,13 @@ - +, 2003-2006 -// Raul Mateos , 2005-2006 +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es +// Please see http://pandora.sourceforge.net for full contribution list + +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation for version 2. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Load global vars require_once ("include/config.php"); diff --git a/pandora_console/godmode/db/db_info.php b/pandora_console/godmode/db/db_info.php index e26434afd4..3e661dfbbd 100644 --- a/pandora_console/godmode/db/db_info.php +++ b/pandora_console/godmode/db/db_info.php @@ -1,9 +1,21 @@ -, 2003-2006 -// Raul Mateos , 2005-2006 + 2008 // Load global vars diff --git a/pandora_console/godmode/db/db_info_data.php b/pandora_console/godmode/db/db_info_data.php index 899d7688e6..ca2b14d4f2 100644 --- a/pandora_console/godmode/db/db_info_data.php +++ b/pandora_console/godmode/db/db_info_data.php @@ -1,13 +1,13 @@ - -// Additions to Pandora FMS 1.2 graph code and new XML reporting template management -// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es -// + +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es +// Please see http://pandora.sourceforge.net for full contribution list + // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; version 2 +// as published by the Free Software Foundation for version 2. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -21,7 +15,8 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// Load global vars + + require ("include/config.php"); diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 7c901ea0f5..b6e91e13bf 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -1,19 +1,13 @@ -// Additions to Pandora FMS 1.2 graph code and new XML reporting template management -// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es -// + +// Pandora FMS - the Flexible Monitoring System +// ============================================ +// Copyright (c) 2008 Artica Soluciones Tecnologicas, http://www.artica.es +// Please see http://pandora.sourceforge.net for full contribution list + // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; version 2 +// as published by the Free Software Foundation for version 2. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -21,6 +15,8 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + // Load global vars require ("include/config.php"); diff --git a/pandora_console/godmode/modules/manage_nc_groups.php b/pandora_console/godmode/modules/manage_nc_groups.php index 78130ffd62..370f4bb4f6 100644 --- a/pandora_console/godmode/modules/manage_nc_groups.php +++ b/pandora_console/godmode/modules/manage_nc_groups.php @@ -1,19 +1,13 @@ - -// Additions to Pandora FMS 1.2 graph code and new XML reporting template management -// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es -// + -// Additions to Pandora FMS 1.2 graph code and new XML reporting template management -// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas, info@artica.es -// +