From 9f9383e75d380ebf35a3aa7e66372104551400fc Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Mon, 6 Aug 2012 08:58:00 +0000 Subject: [PATCH] 2012-08-06 Sergio Martin * godmode/modules/manage_network_components_form_plugin.php: Fixed a bug where print the add/delete macro git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 ++++ .../manage_network_components_form_plugin.php | 30 +++++++++---------- 2 files changed, 20 insertions(+), 15 deletions(-) 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'); + ?>