2006-07-12 15:43:41 +02:00
|
|
|
<?php
|
|
|
|
|
2009-06-08 20:17:33 +02:00
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
|
|
|
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
2008-08-22 20:07:32 +02:00
|
|
|
|
2006-06-29 21:31:53 +02:00
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
2008-08-22 20:07:32 +02:00
|
|
|
// as published by the Free Software Foundation for version 2.
|
2006-06-29 21:31:53 +02:00
|
|
|
// 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.
|
2009-06-08 20:17:33 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2008-08-04 16:29:41 +02:00
|
|
|
if (! isset ($config['id_user'])) {
|
2006-12-15 18:39:11 +01:00
|
|
|
return;
|
2008-08-04 10:15:16 +02:00
|
|
|
}
|
2008-10-22 11:08:03 +02:00
|
|
|
|
2009-03-03 16:21:13 +01:00
|
|
|
require_once ('include/functions_menu.php');
|
|
|
|
|
2008-10-22 11:08:03 +02:00
|
|
|
enterprise_include ('operation/menu.php');
|
2006-12-15 18:39:11 +01:00
|
|
|
|
2009-03-03 16:21:13 +01:00
|
|
|
$menu = array ();
|
2009-03-02 Esteban Sanchez <estebans@artica.es>
* include/functions_menu.php: Added to repository. Functions for menu.
* operation/menu.php, godmode/menu.php: Added class to menu due to
changes in print_menu().
* general/main_menu.php: temp_print_menu() moved to functions_menu.php
* include/functions_themes.php: Added to repository. Implement
functions relative to themes (only CSS themes list at this moment).
* include/styles/pandora.css, include/styles/pandora_black.css,
include/styles/pandora_minimal.css, include/styles/pandora_red.css:
Added author, name and description comments to adopt to new
get_themes() interface.
* include/styles/pandora_width.css: Improved and make lighter by
simply rewrite some classes.
* include/functions.php: Added is_ajax().
* godmode/agentes/module_manager_editor.php,
godmode/alerts/alert_actions.php, godmode/alerts/alert_commands.php,
godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
godmode/alerts/alert_templates.php, godmode/groups/group_list.php,
godmode/reporting/map_builder.php,
godmode/reporting/reporting_builder.php,
operation/agentes/estado_agente.php, operation/agentes/ver_agente.php,
operation/events/events.php, operation/messages/message.php: Use
is_ajax()
* godmode/setup/setup.php: Use enterprise_include() instead of manual
checking. Use get_css_themes() to show the theme list.
* include/styles/common.css: Added to repository. Minimal styles to
make pandora works and common with all the CSS themes.
* include/functions_ui.php: Added common.css file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-02 14:43:15 +01:00
|
|
|
$menu['class'] = 'operation';
|
|
|
|
|
2006-12-15 18:39:11 +01:00
|
|
|
// Agent read, Server read
|
2008-08-04 16:29:41 +02:00
|
|
|
if (give_acl ($config['id_user'], 0, "AR")) {
|
2009-03-31 16:32:58 +02:00
|
|
|
|
|
|
|
enterprise_hook ('dashboard_menu');
|
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
//View agents
|
|
|
|
$menu["estado"]["text"] = __('View agents');
|
|
|
|
$menu["estado"]["sec2"] = "operation/agentes/tactical";
|
|
|
|
$menu["estado"]["refr"] = 60;
|
|
|
|
$menu["estado"]["id"] = "oper-agents";
|
2007-06-08 17:55:53 +02:00
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
$sub = array ();
|
|
|
|
$sub["operation/agentes/tactical"]["text"] = __('Tactical view');
|
|
|
|
$sub["operation/agentes/tactical"]["refr"] = 60;
|
|
|
|
|
|
|
|
$sub["operation/agentes/estado_grupo"]["text"] = __('Group view');
|
|
|
|
$sub["operation/agentes/estado_grupo"]["refr"] = 60;
|
|
|
|
|
2009-06-10 15:37:40 +02:00
|
|
|
$sub["operation/agentes/networkmap"]["text"] = __('Network map');
|
2008-12-19 22:45:20 +01:00
|
|
|
|
|
|
|
$sub["operation/agentes/estado_agente"]["text"] = __('Agent detail');
|
|
|
|
$sub["operation/agentes/estado_agente"]["refr"] = 60;
|
|
|
|
|
2009-01-15 11:21:38 +01:00
|
|
|
$sub["operation/agentes/alerts_status"]["text"] = __('Alert detail');
|
|
|
|
$sub["operation/agentes/alerts_status"]["refr"] = 60;
|
2008-12-19 22:45:20 +01:00
|
|
|
|
|
|
|
$sub["operation/agentes/status_monitor"]["text"] = __('Monitor detail');
|
|
|
|
$sub["operation/agentes/status_monitor"]["refr"] = 60;
|
|
|
|
|
|
|
|
$sub["operation/agentes/exportdata"]["text"] = __('Export data');
|
|
|
|
$sub["operation/agentes/exportdata"]["refr"] = 60;
|
2006-12-15 18:39:11 +01:00
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["estado"]["sub"] = $sub;
|
|
|
|
//End of view agents
|
|
|
|
|
|
|
|
//Visual console
|
|
|
|
$menu["visualc"]["text"] = __('Visual console');
|
|
|
|
$menu["visualc"]["sec2"] = "operation/visual_console/index";
|
|
|
|
$menu["visualc"]["refr"] = 60;
|
|
|
|
$menu["visualc"]["id"] = "oper-visualc";
|
|
|
|
|
|
|
|
$sub = array ();
|
|
|
|
|
|
|
|
$layouts = get_db_all_rows_in_table ('tlayout', 'name');
|
|
|
|
if ($layouts === false) {
|
|
|
|
$layouts = array ();
|
2007-05-20 19:12:31 +02:00
|
|
|
}
|
2008-12-19 22:45:20 +01:00
|
|
|
$id = (int) get_parameter ('id', -1);
|
|
|
|
|
|
|
|
foreach ($layouts as $layout) {
|
|
|
|
if (! give_acl ($config["id_user"], $layout["id_group"], "AR")) {
|
|
|
|
continue;
|
2008-10-20 19:25:37 +02:00
|
|
|
}
|
2008-12-19 22:45:20 +01:00
|
|
|
$sub["operation/visual_console/render_view&id=".$layout["id"]]["text"] = mb_substr ($layout["name"], 0, 15);
|
|
|
|
$sub["operation/visual_console/render_view&id=".$layout["id"]]["refr"] = 0;
|
2007-05-20 19:12:31 +02:00
|
|
|
}
|
2008-12-19 22:45:20 +01:00
|
|
|
|
|
|
|
$menu["visualc"]["sub"] = $sub;
|
|
|
|
//End of visual console
|
|
|
|
|
2007-07-02 11:11:44 +02:00
|
|
|
// Server view
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["estado_server"]["text"] = __('Pandora servers');
|
|
|
|
$menu["estado_server"]["sec2"] = "operation/servers/view_server";
|
|
|
|
$menu["estado_server"]["refr"] = 60;
|
|
|
|
$menu["estado_server"]["id"] = "oper-servers";
|
|
|
|
//End of server view
|
2006-12-15 18:39:11 +01:00
|
|
|
}
|
2009-01-12 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Complete rewritten of the alert
system when assigned alerts to an agent.
* pandoradb.sql: New tables for alert system. These are:
talert_commands, talert_actions, talert_templates,
talert_template_modules, talert_template_module_actions. No migration
tool is available yet.
* godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php,
godmode/alerts/alert_templates.php,
godmode/alerts/configure_alert_command.php,
godmode/alerts/alert_actions.php: Added to repository. Administration
interface to new alert system.
* godmode/alerts/modify_alert.php: Deleted from repository.
* godmode/setup/setup.php: Added an example of the date format. Main
table has now percentage width.
* godmode/menu.php, operation/menu.php: Added new alert options.
Removed refr value when it's not neccesary.
* include/styles/pandora.css: Added width to textarea elements. Style
correction and cleanup. Tables doesn't have a odd-even pattern, but
the hovered row now changes its colour. New styles for alert pages.
* include/functions_custom_graphs.php: Added to repository. custom
graphs functions moved here.
* include/functions_incidents.php, include/functions_events.php: Moved
to LGPL. Style comment corrections.
* include/functions_html.php: Documentation style correction. Added
print_input_file() and print_label().
* include/functions_ui.php: Doc style correction.
* operation/reporting/graph_viewer.php: Include new function file with
custom graphs. Use generic functions.
* index.php: Unset pass from POST and REQUEST arrays.
* include/functions_db.php: Some documentation updated to new format.
Added format_array_to_update_sql() to generate SQL sentences for
updates. Style correction.
* godmode/agentes/configurar_agente.php: Variables renamed to have a
meaning.
* extensions/update_manager/main.php: Mark an string translatable.
* extensions/update_manager/lib/libupdate_manager_client.php,
godmode/alerts/configure_alert.php, include/functions.php,
godmode/agentes/module_manager.php, operation/agentes/networkmap.php,
operation/reporting/reporting_viewer.php,
godmode/agentes/manage_config.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 15:31:01 +01:00
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
enterprise_hook ('inventory_menu');
|
2006-12-15 18:39:11 +01:00
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
//Incidents
|
2008-08-04 16:29:41 +02:00
|
|
|
if (give_acl ($config['id_user'], 0, "IR") == 1) {
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["incidencias"]["text"] = __('Manage incidents');
|
|
|
|
$menu["incidencias"]["sec2"] = "operation/incidents/incident";
|
|
|
|
$menu["incidencias"]["refr"] = 60;
|
|
|
|
$menu["incidencias"]["id"] = "oper-incidents";
|
|
|
|
|
2009-03-25 19:43:30 +01:00
|
|
|
$sub = array ();
|
2008-12-19 22:45:20 +01:00
|
|
|
$sub["operation/incidents/incident_statistics"]["text"] = __('Statistics');
|
|
|
|
|
|
|
|
$menu["incidencias"]["sub"] = $sub;
|
2006-12-15 18:39:11 +01:00
|
|
|
}
|
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
// Rest of options, all with AR privilege (or should events be with incidents?)
|
2008-08-04 16:29:41 +02:00
|
|
|
if (give_acl ($config['id_user'], 0, "AR")) {
|
2006-12-15 18:39:11 +01:00
|
|
|
// Events
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["eventos"]["text"] = __('View events');
|
|
|
|
$menu["eventos"]["refr"] = 60;
|
|
|
|
$menu["eventos"]["sec2"] = "operation/events/events";
|
|
|
|
$menu["eventos"]["id"] = "oper-events";
|
|
|
|
|
|
|
|
$sub = array ();
|
|
|
|
$sub["operation/events/event_statistics"]["text"] = __('Statistics');
|
|
|
|
|
|
|
|
//RSS
|
|
|
|
$sub["operation/events/events_rss.php"]["text"] = __('RSS');
|
|
|
|
$sub["operation/events/events_rss.php"]["type"] = "direct";
|
|
|
|
|
|
|
|
//CSV
|
|
|
|
$sub["operation/events/export_csv.php"]["text"] = __('CSV File');
|
|
|
|
$sub["operation/events/export_csv.php"]["type"] = "direct";
|
|
|
|
|
|
|
|
//Marquee
|
|
|
|
$sub["operation/events/events_marquee.php"]["text"] = __('Marquee');
|
|
|
|
$sub["operation/events/events_marquee.php"]["type"] = "direct";
|
|
|
|
|
|
|
|
$menu["eventos"]["sub"] = $sub;
|
2008-08-18 17:12:20 +02:00
|
|
|
|
2006-12-15 18:39:11 +01:00
|
|
|
// Users
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["usuarios"]["text"] = __('View users');
|
|
|
|
$menu["usuarios"]["sec2"] = "operation/users/user";
|
|
|
|
$menu["usuarios"]["id"] = "oper-users";
|
|
|
|
|
|
|
|
$sub = array ();
|
|
|
|
$sub["operation/users/user_edit"]["text"] = __('Edit my user');
|
|
|
|
$sub["operation/users/user_edit"]["options"]["name"] = "ver";
|
|
|
|
$sub["operation/users/user_edit"]["options"]["value"] = $config["id_user"];
|
|
|
|
|
|
|
|
if (give_acl ($config["id_user"], 0, "UM")) {
|
|
|
|
$sub["operation/users/user_statistics"]["text"] = __('Statistics');
|
2007-01-09 12:18:41 +01:00
|
|
|
}
|
2008-12-19 22:45:20 +01:00
|
|
|
|
|
|
|
$menu["usuarios"]["sub"] = $sub;
|
|
|
|
//End of Users
|
|
|
|
|
|
|
|
//SNMP Console
|
|
|
|
$menu["snmpconsole"]["text"] = __('SNMP console');
|
|
|
|
$menu["snmpconsole"]["refr"] = 60;
|
|
|
|
$menu["snmpconsole"]["sec2"] = "operation/snmpconsole/snmp_view";
|
|
|
|
$menu["snmpconsole"]["id"] = "oper-snmpc";
|
|
|
|
|
2006-12-15 18:39:11 +01:00
|
|
|
// Messages
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["messages"]["text"] = __('Messages');
|
|
|
|
$menu["messages"]["refr"] = 60;
|
|
|
|
$menu["messages"]["sec2"] = "operation/messages/message";
|
|
|
|
$menu["messages"]["id"] = "oper-messages";
|
|
|
|
|
|
|
|
$sub = array ();
|
2009-02-19 22:34:27 +01:00
|
|
|
$sub["operation/messages/message&new_msg=1"]["text"] = __('New message');
|
2008-12-19 22:45:20 +01:00
|
|
|
|
|
|
|
$menu["messages"]["sub"] = $sub;
|
|
|
|
|
2007-01-09 12:18:41 +01:00
|
|
|
// Reporting
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["reporting"]["text"] = __('Reporting');
|
|
|
|
$menu["reporting"]["sec2"] = "operation/reporting/custom_reporting";
|
|
|
|
$menu["reporting"]["id"] = "oper-reporting";
|
|
|
|
|
|
|
|
$sub = array ();
|
|
|
|
$sub["operation/reporting/custom_reporting"]["text"] = __('Custom reporting');
|
2007-06-07 19:46:38 +02:00
|
|
|
|
2008-12-19 22:45:20 +01:00
|
|
|
$sub["operation/reporting/graph_viewer"]["text"] = __('Custom graphs');
|
|
|
|
|
|
|
|
$menu["reporting"]["sub"] = $sub;
|
|
|
|
|
2008-08-04 10:15:16 +02:00
|
|
|
// Extensions menu additions
|
2008-08-12 Esteban Sanchez <estebans@artica.es>
* pandoradb_data.sql: Added default languages.
* include/streams.php, include/gettext.php: Added to repository. New
files to add gettext support of mo files.
* include/functions_db.php: Function lang_string() functionallity
changed to use gettext library.
* include/languages/language_es_es.php,
include/languages/language_gl.php, include/languages/language_en.php,
include/languages/language_pt_br.php,
include/languages/language_it.php,
include/languages/language_ast_es.php,
include/languages/language_es_la.php,
include/languages/language_de.php, include/languages/language_fr.php,
include/languages/language_ca.php: Files deleted, they are
deprecated since we have moved to gettext.
* lude/languages/pt_br.mo, include/languages/es.mo,
include/languages/fr.po, include/languages/it.po,
include/languages/ca.po, include/languages/ast.po,
include/languages/de.po, include/languages/gl.mo: Gettext translations
of the previous languages we have in language_*.php files.
* include/languages/Makefile: Added to repository to generate
index.pot and mo files of each translation.
* include/functions_reporting_pdf.php,
include/functions_reporting.php, include/config_process.php,
include/functions.php, include/functions_visual_map.php, index.php,
operation/incidents/incident.php,
operation/incidents/incident_detail.php,
operation/incidents/incident_note.php,
operation/incidents/incident_search.php,
operation/incidents/incident_statistics.php,
operation/snmpconsole/snmp_alert.php,
operation/snmpconsole/snmp_view.php, operation/users/user.php,
operation/users/user_edit.php, operation/users/user_statistics.php,
operation/events/event_statistics.php, operation/events/events.php,
operation/visual_console/render_view.php,
operation/visual_console/index.php,
operation/agentes/estado_alertas.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_grupo.php,
operation/agentes/datos_agente.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php, operation/agentes/bulbs.php,
operation/agentes/sla_view.php, operation/agentes/exportdata.php,
operation/agentes/estado_monitores.php,
operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
operation/agentes/tactical.php, operation/agentes/networkmap.php,
operation/messages/message.php,
operation/reporting/reporting_viewer.php,
operation/reporting/graph_viewer.php,
operation/reporting/custom_reporting.php,
operation/servers/view_server.php,
operation/servers/view_server_detail.php, operation/menu.php,
reporting/fgraph.php, reporting/stat_win.php, general/logoff.php,
general/pandora_help.php, general/footer.php, general/noaccess.php,
general/logon_failed.php, general/links_menu.php,
general/login_page.php, general/logon_ok.php, general/header.php,
general/main_menu.php, godmode/groups/configure_group.php,
godmode/groups/group_list.php, godmode/setup/news.php,
godmode/setup/links.php, godmode/setup/setup.php,
godmode/users/user_list.php, godmode/users/configure_user.php,
godmode/profiles/profile_list.php, godmode/admin_access_logs.php,
godmode/db/db_info_data.php, godmode/db/db_main.php,
godmode/db/db_audit.php, godmode/db/db_refine.php,
godmode/db/db_info.php, godmode/db/db_event.php,
godmode/db/db_purge.php, godmode/agentes/agent_template.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/alert_manager.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php,
godmode/agentes/alert_manager_editor.php,
godmode/agentes/manage_config.php,
godmode/agentes/module_manager_editor_data.php,
godmode/agentes/module_manager.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/agent_disk_conf_editor.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/manage_config_remote.php,
godmode/agentes/agent_manager.php,
godmode/modules/manage_nc_groups_form.php,
godmode/modules/manage_network_templates.php,
godmode/modules/module_list.php,
godmode/modules/manage_network_templates_form.php,
godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components_form_wmi.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_nc_groups.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/map_builder.php,
godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
godmode/servers/manage_recontask.php,
godmode/servers/modificar_server.php,
godmode/servers/manage_recontask_form.php,
godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
godmode/menu.php: Replaced string parameters of __() callings to
plain english. Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 14:06:25 +02:00
|
|
|
if (is_array ($config['extensions'])) {
|
2008-12-19 22:45:20 +01:00
|
|
|
$menu["extensions"]["text"] = __('Extensions');
|
|
|
|
$menu["extensions"]["sec2"] = "operation/extensions";
|
|
|
|
$menu["extensions"]["id"] = "oper-extensions";
|
|
|
|
|
|
|
|
$sub = array ();
|
|
|
|
foreach ($config["extensions"] as $extension) {
|
|
|
|
if ($extension["operation_menu"] == '') {
|
|
|
|
continue;
|
2008-08-04 10:15:16 +02:00
|
|
|
}
|
2008-12-19 22:45:20 +01:00
|
|
|
$extension_menu = $extension["operation_menu"];
|
|
|
|
$sub[$extension_menu["sec2"]]["text"] = $extension_menu["name"];
|
|
|
|
$sub[$extension_menu["sec2"]]["refr"] = 0;
|
2008-08-04 10:15:16 +02:00
|
|
|
}
|
2008-12-19 22:45:20 +01:00
|
|
|
|
|
|
|
$menu["extensions"]["sub"] = $sub;
|
2009-03-03 16:21:13 +01:00
|
|
|
|
2009-10-26 Ramon Novoa <rnovoa@artica.es>
* extensions/update_manager.php,
operation/incidents/incident.php,
operation/menu.php,
godmode/setup/links.php,
godmode/users/configure_user.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/agent_manager.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/map_builder.php,
godmode/reporting/graphs.php,
godmode/reporting/graph_builder.php,
godmode/alerts/alert_templates.php,
godmode/menu.php: Several ACL related fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-26 19:51:29 +01:00
|
|
|
/**
|
|
|
|
* Add the extensions
|
|
|
|
*/
|
|
|
|
foreach($config['extensions'] as $extension) {
|
|
|
|
$operationModeMenu = $extension['operation_menu'];
|
|
|
|
if ($operationModeMenu == null)
|
|
|
|
continue;
|
|
|
|
|
|
|
|
if (array_key_exists('fatherId',$operationModeMenu)) {
|
|
|
|
if (strlen($operationModeMenu['fatherId']) > 0) {
|
|
|
|
$menu[$operationModeMenu['fatherId']]['sub'][$operationModeMenu['sec2']]["text"] = __($operationModeMenu['name']);
|
|
|
|
$menu[$operationModeMenu['fatherId']]['sub'][$operationModeMenu['sec2']]["refr"] = 60;
|
|
|
|
$menu[$operationModeMenu['fatherId']]['sub'][$operationModeMenu['sec2']]["icon"] = $operationModeMenu['icon'];
|
|
|
|
$menu[$operationModeMenu['fatherId']]['sub'][$operationModeMenu['sec2']]["sec"] = 'extensions';
|
|
|
|
$menu[$operationModeMenu['fatherId']]['sub'][$operationModeMenu['sec2']]["extension"] = true;
|
|
|
|
$menu[$operationModeMenu['fatherId']]['hasExtensions'] = true;
|
|
|
|
}
|
|
|
|
}
|
2009-08-27 18:57:19 +02:00
|
|
|
}
|
|
|
|
}
|
2009-10-26 Ramon Novoa <rnovoa@artica.es>
* extensions/update_manager.php,
operation/incidents/incident.php,
operation/menu.php,
godmode/setup/links.php,
godmode/users/configure_user.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/agent_manager.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/map_builder.php,
godmode/reporting/graphs.php,
godmode/reporting/graph_builder.php,
godmode/alerts/alert_templates.php,
godmode/menu.php: Several ACL related fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-26 19:51:29 +01:00
|
|
|
}
|
2009-08-27 18:57:19 +02:00
|
|
|
|
|
|
|
|
2009-03-03 16:21:13 +01:00
|
|
|
print_menu ($menu);
|
2009-01-12 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Complete rewritten of the alert
system when assigned alerts to an agent.
* pandoradb.sql: New tables for alert system. These are:
talert_commands, talert_actions, talert_templates,
talert_template_modules, talert_template_module_actions. No migration
tool is available yet.
* godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php,
godmode/alerts/alert_templates.php,
godmode/alerts/configure_alert_command.php,
godmode/alerts/alert_actions.php: Added to repository. Administration
interface to new alert system.
* godmode/alerts/modify_alert.php: Deleted from repository.
* godmode/setup/setup.php: Added an example of the date format. Main
table has now percentage width.
* godmode/menu.php, operation/menu.php: Added new alert options.
Removed refr value when it's not neccesary.
* include/styles/pandora.css: Added width to textarea elements. Style
correction and cleanup. Tables doesn't have a odd-even pattern, but
the hovered row now changes its colour. New styles for alert pages.
* include/functions_custom_graphs.php: Added to repository. custom
graphs functions moved here.
* include/functions_incidents.php, include/functions_events.php: Moved
to LGPL. Style comment corrections.
* include/functions_html.php: Documentation style correction. Added
print_input_file() and print_label().
* include/functions_ui.php: Doc style correction.
* operation/reporting/graph_viewer.php: Include new function file with
custom graphs. Use generic functions.
* index.php: Unset pass from POST and REQUEST arrays.
* include/functions_db.php: Some documentation updated to new format.
Added format_array_to_update_sql() to generate SQL sentences for
updates. Style correction.
* godmode/agentes/configurar_agente.php: Variables renamed to have a
meaning.
* extensions/update_manager/main.php: Mark an string translatable.
* extensions/update_manager/lib/libupdate_manager_client.php,
godmode/alerts/configure_alert.php, include/functions.php,
godmode/agentes/module_manager.php, operation/agentes/networkmap.php,
operation/reporting/reporting_viewer.php,
godmode/agentes/manage_config.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 15:31:01 +01:00
|
|
|
?>
|