diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7487d5c980..d9a7a48a59 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-08-06 Sergio Martin + + * godmode/modules/manage_network_components_form_plugin.php: + Fixed a bug where print the add/delete macro + 2012-08-06 Sergio Martin * include/functions_users.php 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 c0deba6b04..42e1449860 100644 --- a/pandora_console/godmode/modules/manage_network_components_form_plugin.php +++ b/pandora_console/godmode/modules/manage_network_components_form_plugin.php @@ -109,22 +109,22 @@ while(1) { push_table_row ($data, 'plugin_'.$next_name_number); $next_name_number++; $i++; - - $table->colspan['plugin_n'][2] = 2; - - $data = array (); - $data[0] = ''; - $data[1] = __('Add macro').' '.html_print_image('images/add.png',true).''; - $data[1] .= ''; - $data[1] .= ''; - $delete_macro_style = ''; - if($i <= 2) { - $delete_macro_style = 'display:none;'; - } - $data[2] = ''; - - push_table_row ($data, 'plugin_n'); } +$table->colspan['plugin_n'][2] = 2; + +$data = array (); +$data[0] = ''; +$data[1] = __('Add macro').' '.html_print_image('images/add.png',true).''; +$data[1] .= ''; +$data[1] .= ''; +$delete_macro_style = ''; +if($i <= 2) { + $delete_macro_style = 'display:none;'; +} +$data[2] = ''; + +push_table_row ($data, 'plugin_n'); + ?>