diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index af9122faa4..6046675fbc 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2012-08-17 Sergio Martin + + * include/javascript/pandora_modules.js + godmode/agentes/module_manager_editor_plugin.php + godmode/modules/manage_network_components_form_plugin.php: Fix some + little issues in the interface of new plugin system + + * include/functions_visual_map.php: Fix a problem that the simple + values didnt appear in view screen + 2012-08-17 Miguel de Dios * include/functions_api.php: fixed the error messages althought you diff --git a/pandora_console/godmode/agentes/module_manager_editor_plugin.php b/pandora_console/godmode/agentes/module_manager_editor_plugin.php index 826da32564..59ff435ab3 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_plugin.php +++ b/pandora_console/godmode/agentes/module_manager_editor_plugin.php @@ -66,7 +66,7 @@ push_table_simple ($data, 'plugin_1'); $data = array (); $data[0] = 'macro_desc'; $data[0] .= ui_print_help_tip ('macro_help', true); -$data[1] = html_print_input_text ('macro_name', 'macro_value', '', 15, 60, true); +$data[1] = html_print_input_text ('macro_name', 'macro_value', '', 100, 255, true); $table_simple->colspan['macro_field'][1] = 3; $table_simple->rowstyle['macro_field'] = 'display:none'; diff --git a/pandora_console/godmode/modules/manage_network_components_form_plugin.php b/pandora_console/godmode/modules/manage_network_components_form_plugin.php index 20dac5998f..678af36ab4 100644 --- a/pandora_console/godmode/modules/manage_network_components_form_plugin.php +++ b/pandora_console/godmode/modules/manage_network_components_form_plugin.php @@ -35,7 +35,7 @@ push_table_row ($data, 'plugin_1'); $data = array (); $data[0] = 'macro_desc'; $data[0] .= ui_print_help_tip ('macro_help', true); -$data[1] = html_print_input_text ('macro_name', 'macro_value', '', 15, 60, true); +$data[1] = html_print_input_text ('macro_name', 'macro_value', '', 100, 255, true); $table->colspan['macro_field'][1] = 3; $table->rowstyle['macro_field'] = 'display:none'; diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index d2a476859d..c7b797dcba 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -984,8 +984,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line break; case MODULE_GRAPH: break; - case SIMPLE_VALUE: - break; + case LABEL: $z_index = 4; if ($resizedMap) diff --git a/pandora_console/include/javascript/pandora_modules.js b/pandora_console/include/javascript/pandora_modules.js index d5abd77a12..211c9ac8d0 100644 --- a/pandora_console/include/javascript/pandora_modules.js +++ b/pandora_console/include/javascript/pandora_modules.js @@ -573,7 +573,9 @@ function load_plugin_macros_fields(row_model_id) { if(data['array'] != null) { $('#hidden-macros').val(data['base64']); jQuery.each (data['array'], function (i, macro) { - add_macro_field(macro, row_model_id); + if(macro['desc'] != '') { + add_macro_field(macro, row_model_id); + } }); } }