2008-03-06 Sancho Lerena <slerena@gmail.com>
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0
* pandoradb_data.sql: Added correct tnetwork_components, fixed
ttipo_modulo (categoria values).
* include/styles/pandora.css: Added some server icons, tab style
for module editor has been improved.
* include/functions_db.php: added new functions, lang_string and
check_login, and a first review of several functions that currently
need change for new config session parameters in array $config[]
* include/javascript/pandora.js: Added a new global include for
spare javascript functions before included into a few pages.
* include/languages/language_en.php: New tokens.
* include/help*: New contextual help system.
* include/config_process.php: New way to manage config.
* include/functions.php: Added new functions to manage global
* operation/agentes/estado_ultimopaquete.php: removed old javascript
code from there.
* operation/agentes/estado_agente.php: Removed references to deprecated
field "agent_type".
* operation/agentes/tactical.php: Some code cleanup and progressbar
issues merged from 1.3.1 branch. Need to add support to new server
types and new module types.
* operation/servers/view_server.php: Added support to new servers, code
cleanup.
* reporting/fgraph.php: Code cleanup, changes to use new config method,
and a lot of style change.
* general/pandora_help.php: New source for contextual help in the way
of moodle.
* general/footer.php, general/noaccess.php: Code cleanup and uses of
new config.
* module_manager_editor: New editors for each module family. Need
finish and implement EDITION of data, now only inserts data.
* godmode/agentes/agent_manager.php: Implemented new server assigment
and edition.
* godmode/agentes/configurar_agente.php: Small changes that affects
module management, visualization and agent management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 17:22:16 +01:00
|
|
|
<?PHP
|
|
|
|
// Pandora FMS - the Free Monitoring System
|
|
|
|
// ========================================
|
|
|
|
// Copyright (c) 2004-2008 Sancho Lerena, slerena@gmail.com
|
|
|
|
// Main PHP/SQL code development, project architecture and management.
|
|
|
|
// 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.
|
|
|
|
|
|
|
|
include "../include/config.php";
|
|
|
|
include "../include/languages/language_".$config["language"].".php";
|
|
|
|
echo '<link rel="stylesheet" href="../include/styles/'.$config['style'].'.css" type="text/css">';
|
|
|
|
|
|
|
|
if (isset($_GET["id"])) {
|
|
|
|
$id = $_GET["id"];
|
|
|
|
$protofile = $config["homedir"]."/include/help/".$config["language"]."/help_".$id.".php";
|
|
|
|
if (file_exists ($protofile)){
|
2008-07-31 18:14:04 +02:00
|
|
|
echo "<div>";
|
|
|
|
echo "<p align=right>";
|
|
|
|
echo "<b>Pandora FMS Help System</b></p>";
|
|
|
|
echo "</div>";
|
|
|
|
|
|
|
|
echo "<hr width=100% size=1><div style='font-family: verdana, arial; font-size: 11px; text-align:left'>";
|
|
|
|
echo "<div style='font-size: 12px; margin-left: 30px; margin-right:25px;'>";
|
2008-03-06 Sancho Lerena <slerena@gmail.com>
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0
* pandoradb_data.sql: Added correct tnetwork_components, fixed
ttipo_modulo (categoria values).
* include/styles/pandora.css: Added some server icons, tab style
for module editor has been improved.
* include/functions_db.php: added new functions, lang_string and
check_login, and a first review of several functions that currently
need change for new config session parameters in array $config[]
* include/javascript/pandora.js: Added a new global include for
spare javascript functions before included into a few pages.
* include/languages/language_en.php: New tokens.
* include/help*: New contextual help system.
* include/config_process.php: New way to manage config.
* include/functions.php: Added new functions to manage global
* operation/agentes/estado_ultimopaquete.php: removed old javascript
code from there.
* operation/agentes/estado_agente.php: Removed references to deprecated
field "agent_type".
* operation/agentes/tactical.php: Some code cleanup and progressbar
issues merged from 1.3.1 branch. Need to add support to new server
types and new module types.
* operation/servers/view_server.php: Added support to new servers, code
cleanup.
* reporting/fgraph.php: Code cleanup, changes to use new config method,
and a lot of style change.
* general/pandora_help.php: New source for contextual help in the way
of moodle.
* general/footer.php, general/noaccess.php: Code cleanup and uses of
new config.
* module_manager_editor: New editors for each module family. Need
finish and implement EDITION of data, now only inserts data.
* godmode/agentes/agent_manager.php: Implemented new server assigment
and edition.
* godmode/agentes/configurar_agente.php: Small changes that affects
module management, visualization and agent management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 17:22:16 +01:00
|
|
|
include $protofile;
|
2008-07-31 18:14:04 +02:00
|
|
|
echo "</div>";
|
|
|
|
echo "<br><br><hr width=100% size=1><div style='font-family: verdana, arial; font-size: 11px;'>";
|
|
|
|
include "footer.php";
|
|
|
|
|
2008-03-06 Sancho Lerena <slerena@gmail.com>
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0
* pandoradb_data.sql: Added correct tnetwork_components, fixed
ttipo_modulo (categoria values).
* include/styles/pandora.css: Added some server icons, tab style
for module editor has been improved.
* include/functions_db.php: added new functions, lang_string and
check_login, and a first review of several functions that currently
need change for new config session parameters in array $config[]
* include/javascript/pandora.js: Added a new global include for
spare javascript functions before included into a few pages.
* include/languages/language_en.php: New tokens.
* include/help*: New contextual help system.
* include/config_process.php: New way to manage config.
* include/functions.php: Added new functions to manage global
* operation/agentes/estado_ultimopaquete.php: removed old javascript
code from there.
* operation/agentes/estado_agente.php: Removed references to deprecated
field "agent_type".
* operation/agentes/tactical.php: Some code cleanup and progressbar
issues merged from 1.3.1 branch. Need to add support to new server
types and new module types.
* operation/servers/view_server.php: Added support to new servers, code
cleanup.
* reporting/fgraph.php: Code cleanup, changes to use new config method,
and a lot of style change.
* general/pandora_help.php: New source for contextual help in the way
of moodle.
* general/footer.php, general/noaccess.php: Code cleanup and uses of
new config.
* module_manager_editor: New editors for each module family. Need
finish and implement EDITION of data, now only inserts data.
* godmode/agentes/agent_manager.php: Implemented new server assigment
and edition.
* godmode/agentes/configurar_agente.php: Small changes that affects
module management, visualization and agent management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 17:22:16 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
show_help_error();
|
|
|
|
} else {
|
|
|
|
show_help_error();
|
|
|
|
}
|
|
|
|
|
|
|
|
function show_help_error(){
|
|
|
|
global $config;
|
|
|
|
global $lang_label;
|
|
|
|
echo "<div class='databox' id='login'><div id='login_f' class='databox'>";
|
|
|
|
echo '<h1 id="log_f" style="margin-top: 0px;" class="error">';
|
|
|
|
echo $lang_label['help_error'];
|
|
|
|
echo "</h1><div id='noa' style='width:120px' >";
|
|
|
|
echo "<img src='../images/help.jpg' alt='No help section'></div>";
|
|
|
|
echo "<div style='width: 350px'>";
|
|
|
|
echo '<a href="index.php"><img src="../images/pandora_logo.png" border="0"></a><br>';
|
|
|
|
echo "</div>";
|
|
|
|
echo '<div class="msg">'.$lang_label["help_error_msg"].'</div></div></div>';
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|