2013-05-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php include/styles/pandora.css include/functions_visual_map.php include/functions_agents.php include/languages/util-bzr-update include/languages/util-generate-tarball include/languages/util-all include/languages/util-create-po include/languages/util-README include/languages/util-update-po include/languages/util-create-template include/languages/util-compile-mo include/constants.php operation/tree.php operation/visual_console/render_view.php operation/users/user_edit.php operation/events/events.build_table.php operation/events/events_list.php operation/events/events.php operation/agentes/status_monitor.php images/status_sets/faces/severity_warning_pixel.png images/status_sets/faces/agent_critical_ball.png images/status_sets/faces/severity_major_pixel.png images/status_sets/faces/module_warning_ball.png images/status_sets/faces/module_ok_ball.png images/status_sets/faces/agent_no_data_ball.png images/status_sets/faces/severity_minor_pixel.png images/status_sets/faces/agent_ok_ball.png images/status_sets/faces/severity_normal_pixel.png images/status_sets/faces/server_down_ball.png images/status_sets/faces/alert_not_fired_ball.png images/status_sets/faces/severity_informational_pixel.png images/status_sets/faces/agent_down_ball.png.png images/status_sets/faces/module_no_data_ball.png images/status_sets/faces/alert_fired_ball.png images/status_sets/faces/agent_warning_ball.png images/status_sets/faces/severity_maintenance_pixel.png images/status_sets/faces/agent_no_monitors_ball.png images/status_sets/faces/agent_down_ball.png images/status_sets/faces/severity_critical_pixel.png images/status_sets/faces/alert_disabled_ball.png images/status_sets/faces/module_critical_ball.png images/status_sets/faces/server_ok_ball.png images/status_sets/color_text/severity_informational.png images/status_sets/color_text/module_critical.png images/status_sets/color_text/server_ok.png images/status_sets/color_text/alert_not_fired.png images/status_sets/color_text/severity_warning_pixel.png images/status_sets/color_text/agent_critical_ball.png images/status_sets/color_text/severity_major_pixel.png images/status_sets/color_text/module_warning_ball.png images/status_sets/color_text/module_unknown.png images/status_sets/color_text/module_ok_ball.png images/status_sets/color_text/module_alertsfired.png images/status_sets/color_text/module_no_data.png images/status_sets/color_text/severity_maintenance.png images/status_sets/color_text/agent_no_data_ball.png images/status_sets/color_text/severity_minor_pixel.png images/status_sets/color_text/alert_fired.png images/status_sets/color_text/agent_ok_ball.png images/status_sets/color_text/severity_normal_pixel.png images/status_sets/color_text/agent_no_data.png images/status_sets/color_text/severity_critical.png images/status_sets/color_text/agent_no_monitors.png images/status_sets/color_text/agent_ok.png images/status_sets/color_text/server_down_ball.png images/status_sets/color_text/alert_not_fired_ball.png images/status_sets/color_text/severity_informational_pixel.png images/status_sets/color_text/server_down.png images/status_sets/color_text/alert_disabled.png images/status_sets/color_text/module_unknown_ball.png images/status_sets/color_text/severity_warning.png images/status_sets/color_text/severity_major.png images/status_sets/color_text/module_no_data_ball.png images/status_sets/color_text/agent_critical.png images/status_sets/color_text/module_warning.png images/status_sets/color_text/alert_fired_ball.png images/status_sets/color_text/agent_warning_ball.png images/status_sets/color_text/severity_maintenance_pixel.png images/status_sets/color_text/module_ok.png images/status_sets/color_text/agent_no_monitors_ball.png images/status_sets/color_text/severity_minor.png images/status_sets/color_text/agent_down_ball.png images/status_sets/color_text/severity_normal.png images/status_sets/color_text/agent_warning.png images/status_sets/color_text/agent_down.png images/status_sets/color_text/severity_critical_pixel.png images/status_sets/color_text/alert_disabled_ball.png images/status_sets/color_text/module_critical_ball.png images/status_sets/color_text/server_ok_ball.png images/status_sets/default/severity_informational.png images/status_sets/default/module_critical.png images/status_sets/default/server_ok.png images/status_sets/default/alert_not_fired.png images/status_sets/default/severity_warning_pixel.png images/status_sets/default/agent_critical_ball.png images/status_sets/default/severity_major_pixel.png images/status_sets/default/module_warning_ball.png images/status_sets/default/module_unknown.png images/status_sets/default/module_ok_ball.png images/status_sets/default/module_alertsfired.png images/status_sets/default/module_no_data.png images/status_sets/default/severity_maintenance.png images/status_sets/default/agent_no_data_ball.png images/status_sets/default/severity_minor_pixel.png images/status_sets/default/alert_fired.png images/status_sets/default/agent_ok_ball.png images/status_sets/default/severity_normal_pixel.png images/status_sets/default/agent_no_data.png images/status_sets/default/severity_critical.png images/status_sets/default/agent_no_monitors.png images/status_sets/default/agent_ok.png images/status_sets/default/server_down_ball.png images/status_sets/default/alert_not_fired_ball.png images/status_sets/default/severity_informational_pixel.png images/status_sets/default/server_down.png images/status_sets/default/alert_disabled.png images/status_sets/default/severity_warning.png images/status_sets/default/severity_major.png images/status_sets/default/module_no_data_ball.png images/status_sets/default/agent_critical.png images/status_sets/default/module_warning.png images/status_sets/default/alert_fired_ball.png images/status_sets/default/agent_warning_ball.png images/status_sets/default/severity_maintenance_pixel.png images/status_sets/default/module_ok.png images/status_sets/default/agent_no_monitors_ball.png images/status_sets/default/alert_disabled_square.png images/status_sets/default/severity_minor.png images/status_sets/default/agent_down_ball.png images/status_sets/default/severity_normal.png images/status_sets/default/agent_warning.png images/status_sets/default/agent_down.png images/status_sets/default/severity_critical_pixel.png images/status_sets/default/alert_disabled_ball.png images/status_sets/default/module_critical_ball.png images/status_sets/default/server_ok_ball.png godmode/groups/configure_group.php godmode/groups/group_list.php godmode/servers/plugin.php godmode/alerts/configure_alert_template.php godmode/alerts/alert_templates.php godmode/alerts/configure_alert_action.php godmode/alerts/configure_alert_command.php godmode/alerts/alert_actions.php godmode/alerts/alert_commands.php godmode/users/user_list.php godmode/users/profile_list.php godmode/users/configure_user.php godmode/users/configure_profile.php godmode/modules/manage_network_components_form_common.php godmode/modules/manage_network_components.php godmode/modules/manage_nc_groups.php godmode/reporting/visual_console_builder.php godmode/reporting/visual_console_builder.data.php godmode/reporting/reporting_builder.php godmode/reporting/visual_console_builder.editor.php godmode/tag/tag.php godmode/category/category.php: Visual changes in icons and colors. Add visual layers for metaconsole git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
|
@ -1,3 +1,166 @@
|
|||
2013-05-20 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_html.php
|
||||
include/styles/pandora.css
|
||||
include/functions_visual_map.php
|
||||
include/functions_agents.php
|
||||
include/languages/util-bzr-update
|
||||
include/languages/util-generate-tarball
|
||||
include/languages/util-all
|
||||
include/languages/util-create-po
|
||||
include/languages/util-README
|
||||
include/languages/util-update-po
|
||||
include/languages/util-create-template
|
||||
include/languages/util-compile-mo
|
||||
include/constants.php
|
||||
operation/tree.php
|
||||
operation/visual_console/render_view.php
|
||||
operation/users/user_edit.php
|
||||
operation/events/events.build_table.php
|
||||
operation/events/events_list.php
|
||||
operation/events/events.php
|
||||
operation/agentes/status_monitor.php
|
||||
images/status_sets/faces/severity_warning_pixel.png
|
||||
images/status_sets/faces/agent_critical_ball.png
|
||||
images/status_sets/faces/severity_major_pixel.png
|
||||
images/status_sets/faces/module_warning_ball.png
|
||||
images/status_sets/faces/module_ok_ball.png
|
||||
images/status_sets/faces/agent_no_data_ball.png
|
||||
images/status_sets/faces/severity_minor_pixel.png
|
||||
images/status_sets/faces/agent_ok_ball.png
|
||||
images/status_sets/faces/severity_normal_pixel.png
|
||||
images/status_sets/faces/server_down_ball.png
|
||||
images/status_sets/faces/alert_not_fired_ball.png
|
||||
images/status_sets/faces/severity_informational_pixel.png
|
||||
images/status_sets/faces/agent_down_ball.png.png
|
||||
images/status_sets/faces/module_no_data_ball.png
|
||||
images/status_sets/faces/alert_fired_ball.png
|
||||
images/status_sets/faces/agent_warning_ball.png
|
||||
images/status_sets/faces/severity_maintenance_pixel.png
|
||||
images/status_sets/faces/agent_no_monitors_ball.png
|
||||
images/status_sets/faces/agent_down_ball.png
|
||||
images/status_sets/faces/severity_critical_pixel.png
|
||||
images/status_sets/faces/alert_disabled_ball.png
|
||||
images/status_sets/faces/module_critical_ball.png
|
||||
images/status_sets/faces/server_ok_ball.png
|
||||
images/status_sets/color_text/severity_informational.png
|
||||
images/status_sets/color_text/module_critical.png
|
||||
images/status_sets/color_text/server_ok.png
|
||||
images/status_sets/color_text/alert_not_fired.png
|
||||
images/status_sets/color_text/severity_warning_pixel.png
|
||||
images/status_sets/color_text/agent_critical_ball.png
|
||||
images/status_sets/color_text/severity_major_pixel.png
|
||||
images/status_sets/color_text/module_warning_ball.png
|
||||
images/status_sets/color_text/module_unknown.png
|
||||
images/status_sets/color_text/module_ok_ball.png
|
||||
images/status_sets/color_text/module_alertsfired.png
|
||||
images/status_sets/color_text/module_no_data.png
|
||||
images/status_sets/color_text/severity_maintenance.png
|
||||
images/status_sets/color_text/agent_no_data_ball.png
|
||||
images/status_sets/color_text/severity_minor_pixel.png
|
||||
images/status_sets/color_text/alert_fired.png
|
||||
images/status_sets/color_text/agent_ok_ball.png
|
||||
images/status_sets/color_text/severity_normal_pixel.png
|
||||
images/status_sets/color_text/agent_no_data.png
|
||||
images/status_sets/color_text/severity_critical.png
|
||||
images/status_sets/color_text/agent_no_monitors.png
|
||||
images/status_sets/color_text/agent_ok.png
|
||||
images/status_sets/color_text/server_down_ball.png
|
||||
images/status_sets/color_text/alert_not_fired_ball.png
|
||||
images/status_sets/color_text/severity_informational_pixel.png
|
||||
images/status_sets/color_text/server_down.png
|
||||
images/status_sets/color_text/alert_disabled.png
|
||||
images/status_sets/color_text/module_unknown_ball.png
|
||||
images/status_sets/color_text/severity_warning.png
|
||||
images/status_sets/color_text/severity_major.png
|
||||
images/status_sets/color_text/module_no_data_ball.png
|
||||
images/status_sets/color_text/agent_critical.png
|
||||
images/status_sets/color_text/module_warning.png
|
||||
images/status_sets/color_text/alert_fired_ball.png
|
||||
images/status_sets/color_text/agent_warning_ball.png
|
||||
images/status_sets/color_text/severity_maintenance_pixel.png
|
||||
images/status_sets/color_text/module_ok.png
|
||||
images/status_sets/color_text/agent_no_monitors_ball.png
|
||||
images/status_sets/color_text/severity_minor.png
|
||||
images/status_sets/color_text/agent_down_ball.png
|
||||
images/status_sets/color_text/severity_normal.png
|
||||
images/status_sets/color_text/agent_warning.png
|
||||
images/status_sets/color_text/agent_down.png
|
||||
images/status_sets/color_text/severity_critical_pixel.png
|
||||
images/status_sets/color_text/alert_disabled_ball.png
|
||||
images/status_sets/color_text/module_critical_ball.png
|
||||
images/status_sets/color_text/server_ok_ball.png
|
||||
images/status_sets/default/severity_informational.png
|
||||
images/status_sets/default/module_critical.png
|
||||
images/status_sets/default/server_ok.png
|
||||
images/status_sets/default/alert_not_fired.png
|
||||
images/status_sets/default/severity_warning_pixel.png
|
||||
images/status_sets/default/agent_critical_ball.png
|
||||
images/status_sets/default/severity_major_pixel.png
|
||||
images/status_sets/default/module_warning_ball.png
|
||||
images/status_sets/default/module_unknown.png
|
||||
images/status_sets/default/module_ok_ball.png
|
||||
images/status_sets/default/module_alertsfired.png
|
||||
images/status_sets/default/module_no_data.png
|
||||
images/status_sets/default/severity_maintenance.png
|
||||
images/status_sets/default/agent_no_data_ball.png
|
||||
images/status_sets/default/severity_minor_pixel.png
|
||||
images/status_sets/default/alert_fired.png
|
||||
images/status_sets/default/agent_ok_ball.png
|
||||
images/status_sets/default/severity_normal_pixel.png
|
||||
images/status_sets/default/agent_no_data.png
|
||||
images/status_sets/default/severity_critical.png
|
||||
images/status_sets/default/agent_no_monitors.png
|
||||
images/status_sets/default/agent_ok.png
|
||||
images/status_sets/default/server_down_ball.png
|
||||
images/status_sets/default/alert_not_fired_ball.png
|
||||
images/status_sets/default/severity_informational_pixel.png
|
||||
images/status_sets/default/server_down.png
|
||||
images/status_sets/default/alert_disabled.png
|
||||
images/status_sets/default/severity_warning.png
|
||||
images/status_sets/default/severity_major.png
|
||||
images/status_sets/default/module_no_data_ball.png
|
||||
images/status_sets/default/agent_critical.png
|
||||
images/status_sets/default/module_warning.png
|
||||
images/status_sets/default/alert_fired_ball.png
|
||||
images/status_sets/default/agent_warning_ball.png
|
||||
images/status_sets/default/severity_maintenance_pixel.png
|
||||
images/status_sets/default/module_ok.png
|
||||
images/status_sets/default/agent_no_monitors_ball.png
|
||||
images/status_sets/default/alert_disabled_square.png
|
||||
images/status_sets/default/severity_minor.png
|
||||
images/status_sets/default/agent_down_ball.png
|
||||
images/status_sets/default/severity_normal.png
|
||||
images/status_sets/default/agent_warning.png
|
||||
images/status_sets/default/agent_down.png
|
||||
images/status_sets/default/severity_critical_pixel.png
|
||||
images/status_sets/default/alert_disabled_ball.png
|
||||
images/status_sets/default/module_critical_ball.png
|
||||
images/status_sets/default/server_ok_ball.png
|
||||
godmode/groups/configure_group.php
|
||||
godmode/groups/group_list.php
|
||||
godmode/servers/plugin.php
|
||||
godmode/alerts/configure_alert_template.php
|
||||
godmode/alerts/alert_templates.php
|
||||
godmode/alerts/configure_alert_action.php
|
||||
godmode/alerts/configure_alert_command.php
|
||||
godmode/alerts/alert_actions.php
|
||||
godmode/alerts/alert_commands.php
|
||||
godmode/users/user_list.php
|
||||
godmode/users/profile_list.php
|
||||
godmode/users/configure_user.php
|
||||
godmode/users/configure_profile.php
|
||||
godmode/modules/manage_network_components_form_common.php
|
||||
godmode/modules/manage_network_components.php
|
||||
godmode/modules/manage_nc_groups.php
|
||||
godmode/reporting/visual_console_builder.php
|
||||
godmode/reporting/visual_console_builder.data.php
|
||||
godmode/reporting/reporting_builder.php
|
||||
godmode/reporting/visual_console_builder.editor.php
|
||||
godmode/tag/tag.php
|
||||
godmode/category/category.php: Visual changes in icons
|
||||
and colors. Add visual layers for metaconsole
|
||||
|
||||
2013-05-20 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* include/functions_snmp_browser.php: Added default binary path for
|
||||
|
|
|
@ -65,6 +65,8 @@ if ((!$copy_action) && (!$delete_action) && (!$update_action)) {
|
|||
}
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if ($copy_action) {
|
||||
$id = get_parameter ('id');
|
||||
|
||||
|
@ -389,4 +391,7 @@ html_print_submit_button (__('Create'), 'create', false, 'class="sub next"');
|
|||
html_print_input_hidden ('create_alert', 1);
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -128,6 +128,8 @@ if (defined('METACONSOLE'))
|
|||
else
|
||||
ui_print_page_header (__('Alerts').' » '.__('Alert commands'), "images/gm_alerts.png", false, "alert_command", true);
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$update_command = (bool) get_parameter ('update_command');
|
||||
$create_command = (bool) get_parameter ('create_command');
|
||||
$delete_command = (bool) get_parameter ('delete_command');
|
||||
|
@ -308,4 +310,7 @@ html_print_submit_button (__('Create'), 'create', false, 'class="sub next"');
|
|||
html_print_input_hidden ('create_alert', 1);
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -130,6 +130,9 @@ if (!$delete_template) {
|
|||
ui_print_page_header (__('Alerts')." » ". __('Alert templates'), "images/gm_alerts.png", false, "alert_template", true);
|
||||
}
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if ($update_template) {
|
||||
$id = (int) get_parameter ('id');
|
||||
|
||||
|
@ -329,4 +332,7 @@ html_print_submit_button (__('Create'), 'create', false, 'class="sub next"');
|
|||
html_print_input_hidden ('create_alert', 1);
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -88,6 +88,8 @@ else {
|
|||
ui_print_page_header (__('Alerts').' » '.__('Configure alert action'), "images/gm_alerts.png", false, "", true);
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$name = '';
|
||||
$id_command = '';
|
||||
$group = 0; //All group is 0
|
||||
|
@ -167,6 +169,8 @@ else {
|
|||
echo '</div>';
|
||||
echo '</form>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
ui_require_javascript_file ('pandora_alerts');
|
||||
?>
|
||||
|
||||
|
|
|
@ -60,6 +60,8 @@ else
|
|||
ui_print_page_header (__('Alerts') . ' » ' .
|
||||
__('Configure alert command'), "images/gm_alerts.png", false, "", true);
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$table->width = '98%';
|
||||
$table->style = array ();
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
|
@ -129,4 +131,7 @@ else {
|
|||
}
|
||||
echo '</div>';
|
||||
echo '</form>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -106,6 +106,7 @@ else {
|
|||
}
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if ($duplicate_template) {
|
||||
$source_id = (int) get_parameter ('source_id');
|
||||
|
@ -706,6 +707,8 @@ else {
|
|||
echo '</div>';
|
||||
echo '</form>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
ui_require_javascript_file ('pandora_alerts');
|
||||
ui_require_jquery_file ("ui-timepicker-addon");
|
||||
?>
|
||||
|
|
|
@ -50,6 +50,8 @@ else {
|
|||
ui_print_page_header (__('Categories configuration'), "images/gm_modules.png", false, "", true, $buttons);
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
// Two actions can performed in this page: search and delete categories
|
||||
|
||||
// Delete action: This will delete a category
|
||||
|
@ -130,4 +132,6 @@ else {
|
|||
echo "<div class='nf'>".__('No categories found')."</div>";
|
||||
}
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -26,7 +26,7 @@ if (! check_acl ($config['id_user'], 0, "PM")) {
|
|||
|
||||
include_once($config['homedir'] . "/include/functions_groups.php");
|
||||
include_once($config['homedir'] . '/include/functions_users.php');
|
||||
enterprise_include_once ('meta/include/functions_users_meta.php');
|
||||
enterprise_include_once ('meta/include/functions_agents_meta.php');
|
||||
|
||||
// Init vars
|
||||
$icon = "";
|
||||
|
@ -79,7 +79,7 @@ if ($id_group) {
|
|||
// Header
|
||||
if (defined('METACONSOLE')) {
|
||||
|
||||
user_meta_print_header();
|
||||
agents_meta_print_header();
|
||||
$sec = 'advanced';
|
||||
|
||||
}
|
||||
|
@ -94,6 +94,8 @@ else {
|
|||
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$table->width = '98%';
|
||||
$table->data = array ();
|
||||
$table->data[0][0] = __('Name');
|
||||
|
@ -165,6 +167,9 @@ else {
|
|||
}
|
||||
echo '</div>';
|
||||
echo '</form>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
<script language="javascript" type="text/javascript">
|
||||
function icon_changed () {
|
||||
|
|
|
@ -22,7 +22,7 @@ check_login();
|
|||
require_once($config['homedir'] . "/include/functions_groups.php");
|
||||
require_once($config['homedir'] . "/include/functions_agents.php");
|
||||
require_once($config['homedir'] . '/include/functions_users.php');
|
||||
enterprise_include_once ('meta/include/functions_users_meta.php');
|
||||
enterprise_include_once ('meta/include/functions_agents_meta.php');
|
||||
|
||||
if (is_ajax ()) {
|
||||
if (! check_acl($config['id_user'], 0, "AR")) {
|
||||
|
@ -107,7 +107,7 @@ if (! check_acl($config['id_user'], 0, "PM")) {
|
|||
// Header
|
||||
if (defined('METACONSOLE')) {
|
||||
|
||||
user_meta_print_header();
|
||||
agents_meta_print_header();
|
||||
$sec = 'advanced';
|
||||
|
||||
}
|
||||
|
@ -118,6 +118,8 @@ else {
|
|||
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$create_group = (bool) get_parameter ('create_group');
|
||||
$update_group = (bool) get_parameter ('update_group');
|
||||
$delete_group = (bool) get_parameter ('delete_group');
|
||||
|
@ -427,6 +429,8 @@ html_print_submit_button (__('Create group'), 'crt', false, 'class="sub next"');
|
|||
echo '</div>';
|
||||
echo '</form>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -39,6 +39,8 @@ else {
|
|||
$sec = 'gmodules';
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$create = (bool) get_parameter ('create');
|
||||
$update = (bool) get_parameter ('update');
|
||||
$delete = (bool) get_parameter ('delete');
|
||||
|
@ -238,6 +240,9 @@ html_print_input_hidden ('new', 1);
|
|||
html_print_submit_button (__('Create'), 'crt', false, 'class="sub next"');
|
||||
echo '</div>';
|
||||
echo '</form>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function check_all_checkboxes() {
|
||||
|
@ -248,4 +253,4 @@ echo '</form>';
|
|||
$(".check_delete").attr('checked', false);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
@ -42,6 +42,8 @@ else {
|
|||
$sec = 'gmodules';
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$type = (int) get_parameter ('type');
|
||||
$name = (string) get_parameter ('name');
|
||||
$description = (string) get_parameter ('description');
|
||||
|
@ -548,7 +550,10 @@ html_print_select (array (2 => __('Create a new network component'),
|
|||
'id_component_type', '', '', '', '', '');
|
||||
html_print_submit_button (__('Create'), 'crt', false, 'class="sub next" style="margin-left: 5px;"');
|
||||
echo '</div>';
|
||||
echo '</form>'
|
||||
echo '</form>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function check_all_checkboxes() {
|
||||
|
|
|
@ -36,7 +36,7 @@ function push_table_row ($row, $id = false) {
|
|||
|
||||
$table->id = 'network_component';
|
||||
$table->width = '98%';
|
||||
$table->class = 'databox_color';
|
||||
$table->class = 'databox';
|
||||
$table->style = array ();
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->style[2] = 'font-weight: bold';
|
||||
|
|
|
@ -268,6 +268,8 @@ switch ($action) {
|
|||
else
|
||||
ui_print_page_header (__('Reporting').' » '.__('Custom reporting'), "images/op_reporting.png", false, "", false, $buttons);
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if ($action == 'delete_report') {
|
||||
$result = reports_delete_report ($idReport);
|
||||
if ($result !== false)
|
||||
|
@ -476,6 +478,9 @@ switch ($action) {
|
|||
echo "</div>";
|
||||
echo "</form>";
|
||||
}
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
return;
|
||||
break;
|
||||
case 'new':
|
||||
|
@ -1378,8 +1383,11 @@ switch ($action) {
|
|||
else
|
||||
ui_print_page_header (__('Reporting') . $subsection, "images/op_reporting.png", false, "", false, $buttons);
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
reporting_enterprise_select_main_tab($action);
|
||||
enterprise_hook('close_meta_frame');
|
||||
}
|
||||
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
@ -1437,6 +1445,8 @@ if ($enterpriseEnable and defined('METACONSOLE')) {
|
|||
else
|
||||
ui_print_page_header(__('Reporting') . $textReportName, "images/op_reporting.png", false, "reporting_" . $activeTab . "_tab", false, $buttons);
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if ($resultOperationDB !== null) {
|
||||
ui_print_result_message ($resultOperationDB, __('Successfull action'), __('Unsuccessfull action'));
|
||||
}
|
||||
|
@ -1455,4 +1465,6 @@ switch ($activeTab) {
|
|||
reporting_enterprise_select_tab($activeTab);
|
||||
break;
|
||||
}
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
?>
|
||||
|
|
|
@ -49,7 +49,7 @@ switch ($action) {
|
|||
}
|
||||
else {
|
||||
//echo '<form action="index.php?operation=edit_visualmap&sec=screen&sec2=screens/screens&action=visualmap&pure=' . $pure . '" method="post">';
|
||||
echo "<form action='index.php?operation=edit_visualmap&sec=screen&sec2=screens/screens&tab=" . $activeTab . "&id_visual_console=" . $idVisualConsole . "&action=visualmap' method='post' >";
|
||||
echo "<form action='index.php?sec=screen&sec2=screens/screens&tab=" . $activeTab . "&id_visual_console=" . $idVisualConsole . "&id_visualmap=" . $idVisualConsole . "&action=visualmap' method='post' >";
|
||||
html_print_input_hidden('action2', 'update');
|
||||
}
|
||||
break;
|
||||
|
@ -105,4 +105,4 @@ html_print_submit_button ($textButtonSubmit, 'update_layout', false, 'class="' .
|
|||
echo '</div>';
|
||||
|
||||
echo "</form>";
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -56,10 +56,10 @@ visual_map_editor_print_hack_translate_strings();
|
|||
visual_map_editor_print_item_palette($visualConsole['id'], $background);
|
||||
|
||||
if (!defined('METACONSOLE')) {
|
||||
echo '<div id="frame_view" style="width: 100%; height: 500px; overflow: scroll;">';
|
||||
echo '<div id="frame_view" style="width: 100%; height: 500px; overflow: scroll; margin: 0 auto;">';
|
||||
}
|
||||
else {
|
||||
echo '<div id="frame_view" style="width: 700px; height: 500px; overflow: scroll;">';
|
||||
echo '<div id="frame_view" style="width: 919px; height: 500px; overflow: scroll; margin: 0 auto;">';
|
||||
}
|
||||
echo '<div id="background" class="" style="
|
||||
margin: 0px auto;border: 2px black solid; width: ' . $widthBackground . 'px; height: ' . $heightBackground . 'px;">';
|
||||
|
@ -145,4 +145,4 @@ ui_require_javascript_file ('encode_decode_base64');
|
|||
height: "200",
|
||||
nowrap: true
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
@ -50,6 +50,7 @@ $activeTab = get_parameterBetweenListValues('tab', array('data', 'list_elements'
|
|||
|
||||
$refr = (int) get_parameter ('refr', $config['vc_refr']);
|
||||
|
||||
|
||||
//Save/Update data in DB
|
||||
$statusProcessInDB = null;
|
||||
switch ($activeTab) {
|
||||
|
@ -95,24 +96,19 @@ switch ($activeTab) {
|
|||
break;
|
||||
|
||||
case 'save':
|
||||
if (!defined('METACONSOLE')) {
|
||||
if ($values['name'] != "" && $values['background'])
|
||||
$idVisualConsole = db_process_sql_insert('tlayout', $values);
|
||||
else
|
||||
$idVisualConsole = false;
|
||||
|
||||
if ($idVisualConsole !== false) {
|
||||
db_pandora_audit( "Visual console builder", "Create visual console #$idVisualConsole");
|
||||
$action = 'edit';
|
||||
$statusProcessInDB = array('flag' => true, 'message' => '<h3 class="suc">'.__('Successfully created.').'</h3>');
|
||||
}
|
||||
else {
|
||||
db_pandora_audit( "Visual console builder", "Fail try to create visual console");
|
||||
$statusProcessInDB = array('flag' => false, 'message' => '<h3 class="error">'.__('Could not be created.').'</h3>');
|
||||
}
|
||||
if ($values['name'] != "" && $values['background'])
|
||||
$idVisualConsole = db_process_sql_insert('tlayout', $values);
|
||||
else
|
||||
$idVisualConsole = false;
|
||||
|
||||
if ($idVisualConsole !== false) {
|
||||
db_pandora_audit( "Visual console builder", "Create visual console #$idVisualConsole");
|
||||
$action = 'edit';
|
||||
$statusProcessInDB = array('flag' => true, 'message' => '<h3 class="suc">'.__('Successfully created.').'</h3>');
|
||||
}
|
||||
else {
|
||||
|
||||
db_pandora_audit( "Visual console builder", "Fail try to create visual console");
|
||||
$statusProcessInDB = array('flag' => false, 'message' => '<h3 class="error">'.__('Could not be created.').'</h3>');
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,9 @@ if (($create != "") OR ($view != "")) {
|
|||
ui_print_page_header (__('Plugin update'), "images/gm_servers.png", false, "plugin_definition", true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if ($create == "") {
|
||||
$plugin_id = get_parameter ("view","");
|
||||
echo "<form name=plugin method='post' action='index.php?sec=gservers&sec2=godmode/servers/plugin&update_plugin=$plugin_id&pure=" . $config['pure'] . "'>";
|
||||
|
@ -129,6 +131,7 @@ if (($create != "") OR ($view != "")) {
|
|||
$table->data['plugin_desc'] = $data;
|
||||
|
||||
echo '<br>';
|
||||
echo '<table class="databox" style="margin: 0 auto;"><tr><td>';
|
||||
|
||||
echo '<fieldset style="width:96%"><legend>'.__('General').'</legend>';
|
||||
html_print_table($table);
|
||||
|
@ -284,6 +287,10 @@ if (($create != "") OR ($view != "")) {
|
|||
__('Update') . "'>";
|
||||
}
|
||||
echo '</form></table>';
|
||||
|
||||
echo '</td></tr></table>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
}
|
||||
else {
|
||||
if(defined('METACONSOLE')) {
|
||||
|
@ -294,6 +301,8 @@ else {
|
|||
ui_print_page_header (__('Plugins registered in Pandora FMS'), "images/gm_servers.png", false, "", true);
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
// Update plugin
|
||||
if (isset($_GET["update_plugin"])) { // if modified any parameter
|
||||
$plugin_id = get_parameter ("update_plugin", 0);
|
||||
|
@ -474,6 +483,8 @@ else {
|
|||
echo "<form name=plugin method='post' action='index.php?sec=gservers&sec2=godmode/servers/plugin&create=1&pure=" . $config['pure'] . "'>";
|
||||
echo "<input name='crtbutton' type='submit' class='sub next' value='".__('Add')."'>";
|
||||
echo "</td></tr></table>";
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
}
|
||||
|
||||
ui_require_javascript_file('pandora_modules');
|
||||
|
|
|
@ -82,6 +82,8 @@ else {
|
|||
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
// Two actions can performed in this page: search and delete tags
|
||||
|
||||
// Delete action: This will delete a tag
|
||||
|
@ -205,6 +207,8 @@ if (!empty($result)) {
|
|||
html_print_table ($table);
|
||||
}
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
ui_require_css_file ('cluetip');
|
||||
ui_require_jquery_file ('cluetip');
|
||||
|
||||
|
|
|
@ -54,6 +54,8 @@ else {
|
|||
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$new_profile = (bool) get_parameter ('new_profile');
|
||||
$id_profile = (int) get_parameter ('id');
|
||||
|
||||
|
@ -196,4 +198,7 @@ if ($id_profile || $new_profile) {
|
|||
}
|
||||
echo "</div></form>";
|
||||
}
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -89,6 +89,8 @@ else {
|
|||
$sec = 'gusuarios';
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if ($config['user_can_update_info']) {
|
||||
$view_mode = false;
|
||||
}
|
||||
|
@ -640,6 +642,9 @@ array_push ($table->data, $data);
|
|||
|
||||
html_print_table ($table);
|
||||
unset ($table);
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -56,6 +56,8 @@ else {
|
|||
$sec = 'advanced';
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$delete_profile = (bool) get_parameter ('delete_profile');
|
||||
$create_profile = (bool) get_parameter ('create_profile');
|
||||
$update_profile = (bool) get_parameter ('update_profile');
|
||||
|
@ -265,4 +267,7 @@ html_print_submit_button (__('Create'), "crt", false, 'class="sub next"');
|
|||
echo "</div>";
|
||||
echo '</form>';
|
||||
unset ($table);
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -123,6 +123,8 @@ else {
|
|||
|
||||
}
|
||||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
$disable_user = get_parameter ("disable_user", false);
|
||||
|
||||
if (isset ($_GET["user_del"])) { //delete user
|
||||
|
@ -381,4 +383,7 @@ else {
|
|||
echo '<i>'.__('The current authentication scheme doesn\'t support creating users from Pandora FMS').'</i>';
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 482 B |
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 468 B |
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 605 B |
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 558 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 587 B After Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 482 B |
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 429 B |
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 605 B |
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 558 B |
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 409 B |
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 468 B |
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 420 B |
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 558 B |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 429 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 591 B After Width: | Height: | Size: 424 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 427 B |
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 193 B After Width: | Height: | Size: 978 B |
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 1022 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 976 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 978 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 1020 B |
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 978 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 1023 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 1022 B |
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 1018 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 976 B |