From 771ad439468ca1182d1b7d58435ccf987b6aab58 Mon Sep 17 00:00:00 2001 From: slerena Date: Thu, 2 Feb 2012 16:54:46 +0000 Subject: [PATCH] 2012-02-02 Sancho Lerena * godmode/massive/massive_edit_modules.php: Fixed problem with export server target edition. "None" was missing. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/godmode/massive/massive_edit_modules.php | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 64c200873c..0c0f821478 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-02-02 Sancho Lerena + + * godmode/massive/massive_edit_modules.php: Fixed problem with export + server target edition. "None" was missing. + + 2012-02-02 Juan Manuel Ramon * general/shortcut_bar.php: Fixed bug when the user doesn't have diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index 54621b72bc..66b90fc966 100644 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -348,10 +348,11 @@ $table->data['edit5'][1] = html_print_input_text ('plugin_user', '', '', 15, 60, $table->data['edit5'][2] = __('Password'); $table->data['edit5'][3] = html_print_input_password ('plugin_pass', '', '', 15, 60, true); +// Export target $table->data['edit6'][0] = __('Export target'); -$table->data['edit6'][1] = html_print_select_from_sql ('SELECT id, name - FROM tserver_export ORDER BY name', - 'id_export', '', '',__('No change'),'', true, false, false); +$targets2 = db_get_all_rows_sql ("SELECT id, name FROM tserver_export ORDER by name"); +$targets = array_merge(array(0 => __('None')), $targets2 ); +$table->data['edit6'][1] = html_print_select ($targets, 'id_export', '','', __('No change'), '', true, false, false); /* FF stands for Flip-flop */ $table->data['edit7'][0] = __('FF threshold') . ' ' . ui_print_help_icon ('ff_threshold', true);