2010-03-02 Raul Mateos <raulofpandora@gmail.com>

* godmode/agentes/*.php, godmode/group/*.php, godmode/modules/*.php:
	Updated year and headers in several files. Little by little I'll change
	the rest...

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-03-02 16:41:27 +00:00
parent 01245adaee
commit 2ca62440fa
17 changed files with 44 additions and 43 deletions

View File

@ -1,3 +1,9 @@
2010-03-02 Raúl Mateos <raulofpandora@gmail.com>
* godmode/agentes/*.php, godmode/group/*.php, godmode/modules/*.php:
Updated year and headers in several files. Little by little I'll change
the rest...
2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/OpenLayers/lib/*,

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -60,14 +60,13 @@ if ($new_agent) {
$nombre_agente = $direccion_agente;
}
echo "<h2>".__('Agent configuration')." &raquo; ";
// Header
if ($id_agente) {
echo __('Update agent');
print_page_header (__('Agent configuration')." &raquo; ".__('Update agent'), "", false, "", true);
} else {
echo __('Create agent');
print_page_header (__('Agent configuration')." &raquo; ".__('Create agent'), "", false, "", true);
}
echo "</h2>";
echo '<div style="height: 5px">&nbsp;</div>';
if (!$new_agent) {

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or

View File

@ -36,7 +36,9 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
// DATA COPY
// ---------
if (isset($_POST["copy"])) {
echo "<h2>".__('Data Copy')."</h2>";
// Header
print_page_header (__("Data Copy"), "images/god1.png", false, "", true, "");
// Initial checkings
// if selected more than 0 agents
@ -91,7 +93,8 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
} else {
// title
echo '<h2>'.__('Agent configuration'). ' &raquo; '. __('Remote configuration management').'</h2>';
// Header
print_page_header (__("Remote configuration management"), "images/god1.png", false, "", true, "");
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/manage_config_remote&operacion=1">';
echo "<table width='650' border='0' cellspacing='4' cellpadding='4' class='databox'>";

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -50,7 +50,9 @@ if (isset ($_GET["borrar_agente"])) { // if delete agent
exit;
}
}
echo "<h2>".__('Agent configuration')." &raquo; ".__('Agents defined in Pandora')."</h2>";
// Header
print_page_header (__('Agent configuration')." &raquo; ".__('Agents defined in Pandora'), "", false, "", true);
// Show group selector
if (isset($_POST["ag_group"])){

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -49,6 +49,9 @@ $delete_downtime_agent = (int) get_parameter ("delete_downtime_agent", 0);
$groups = get_user_groups ();
// Header
print_page_header (__("Planned Downtime"), "images/god1.png", false, "", true, "");
// INSERT A NEW DOWNTIME_AGENT ASSOCIATION
if ($insert_downtime_agent == 1){
$agents = $_POST["id_agent"];
@ -118,9 +121,6 @@ if ($create_downtime || $update_downtime) {
}
}
// Header
print_page_header (__("Planned Downtime"), "images/god1.png", false, "", true, "");
// Show create / update form
if (($first_create != 0) OR ($first_update != 0)){

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -50,13 +50,12 @@ if ($id_group) {
}
}
echo "<h2>".__('Group management')." &raquo; ";
// Header
if ($id_group) {
echo __('Update group');
print_page_header (__("Update group"), "images/god1.png", false, "", true, "");
} else {
echo __('Create group');
print_page_header (__("Create group"), "images/god1.png", false, "", true, "");
}
echo "</h2>";
$table->width = '450px';
$table->data = array ();

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -63,6 +63,9 @@ if (is_ajax ()) {
return;
}
// Header
print_page_header (__("Groups defined in Pandora"), "images/god1.png", false, "", true, "");
$create_group = (bool) get_parameter ('create_group');
$update_group = (bool) get_parameter ('update_group');
$delete_group = (bool) get_parameter ('delete_group');
@ -120,8 +123,6 @@ if ($delete_group) {
echo "<h3 class='suc'>".__('Group successfully deleted')."</h3>";
}
echo "<h2>".__('Group management')." &raquo; ";
echo __('Groups defined in Pandora')."</h2>";
$table->width = '65%';
$table->head = array ();

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -26,8 +26,7 @@ if (! give_acl ($config['id_user'], 0, "PM")) {
}
// Header
print_page_header (__('Module management')." &raquo; ". __('Module component management'), "", false, "", true);
print_page_header (__('Module management').' &raquo; '.__('Module component management'), "", false, "", true);
require_once ('include/functions_network_components.php');

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -29,8 +29,6 @@ if (! $id) {
$snmp_community = "public";
}
echo "<h2>".__('Module management')." &raquo; ";
echo __('Module component management')."</h2>";
echo "<h3>".__('Network component')."</h3>";
$snmp_versions['1'] = 'v. 1';
@ -57,9 +55,6 @@ $data[3] = print_input_text ('snmp_community', $snmp_community, '', 15, 60, true
push_table_row ($data, 'snmp_2');
$data = array();
$data[0] = __('Auth user');
$data[1] = print_input_text ('snmp3_auth_user', $snmp3_auth_user, '', 15, 60, true);
@ -99,4 +94,4 @@ $data[1] = print_textarea ('tcp_rcv', 2, 65, $tcp_rcv, '', true);
$table->colspan['tcp_receive'][1] = 3;
push_table_row ($data, 'tcp_receive');
?>
?>

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -18,8 +18,6 @@ require_once ('include/config.php');
check_login ();
echo "<h2>".__('Module management')." &raquo; ";
echo __('Module component management')."</h2>";
echo "<h3>".__('Plugin component').'</h3>';
$data = array ();

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -26,8 +26,6 @@ if (! give_acl ($config['id_user'], 0, "PM")) {
return;
}
echo "<h2>".__('Module management')." &raquo; ";
echo __('Module component management')."</h2>";
echo "<h3>".__('WMI component management').'</h3>';
$data = array ();

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or

View File

@ -28,6 +28,8 @@ if (! give_acl ($config['id_user'], 0, "PM")) {
require_once ('include/functions_network_components.php');
print_page_header (__('Module management')." &raquo; ".__('Module template management'), "", false, "", true);
$id_np = get_parameter ("id_np", -1); //Network Profile
$ncgroup = get_parameter ("ncgroup", -1); //Network component group
$id_nc = get_parameter ("components", array ());
@ -97,7 +99,6 @@ if (isset ($_GET["create"]) || isset ($_GET["update"])) {
$name = "";
}
echo "<h2>".__('Module management')." &raquo; ".__('Module template management')."</h2>";
if ($id_np < 1) {
echo '<form name="new_temp" method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates_form&id_np='.$id_np.'&create=1">';