2012-08-17 Sergio Martin <sergio.martin@artica.es>

* 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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-08-17 12:18:00 +00:00
parent 67913c1fb9
commit b2b23c7cb0
5 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,13 @@
2012-08-17 Sergio Martin <sergio.martin@artica.es>
* 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 <miguel.dedios@artica.es>
* include/functions_api.php: fixed the error messages althought you

View File

@ -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';

View File

@ -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';

View File

@ -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)

View File

@ -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);
}
});
}
}