From b1e17887b1ddc829cf280c078a101394a1b2bafa Mon Sep 17 00:00:00 2001 From: vgilc Date: Thu, 9 Feb 2012 10:15:03 +0000 Subject: [PATCH] 2012-02-09 Vanessa Gil * godmode/events/custom_events.php: Changed combo box update. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 3 +++ .../godmode/events/custom_events.php | 22 ++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cdf7c01223..8b5f1c1c17 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,6 @@ +2012-02-09 Vanessa Gil + * godmode/events/custom_events.php: Changed combo box update. + 2012-02-08 Vanessa Gil * godmode/events/custom_events.php: Added default fields button. diff --git a/pandora_console/godmode/events/custom_events.php b/pandora_console/godmode/events/custom_events.php index 0fd99877c4..95292fc199 100644 --- a/pandora_console/godmode/events/custom_events.php +++ b/pandora_console/godmode/events/custom_events.php @@ -151,37 +151,37 @@ foreach ($fields_available as $key=>$available) { } $table->data[1][0] = '' . __('Fields available').''; -$table->data[1][1] = html_print_select ($fields_available, 'fields_available[]', true, '', '', '', true, true, false); +$table->data[1][1] = html_print_select ($fields_available, 'fields_available[]', true, '', '', '', true, true, false, '', false, 'width: 200px'); $table->data[1][2] = html_print_image('images/darrowright.png', true, array('id' => 'right', 'title' => __('Add fields to select'))); //html_print_input_image ('add', 'images/darrowright.png', 1, '', true, array ('title' => __('Add tags to module'))); $table->data[1][2] .= '



' . html_print_image('images/darrowleft.png', true, array('id' => 'left', 'title' => __('Delete fields to select'))); //html_print_input_image ('add', 'images/darrowleft.png', 1, '', true, array ('title' => __('Delete tags to module'))); $table->data[1][3] = '' . __('Fields selected') . ''; -$table->data[1][4] = html_print_select($result_selected, 'fields_selected[]', true, '', '', '', true, true, false); +$table->data[1][4] = html_print_select($result_selected, 'fields_selected[]', true, '', '', '', true, true, false, '', false, 'width: 200px'); echo '
'; - +echo '
'; + html_print_input_hidden ('default', 1); + html_print_submit_button (__('Default'), 'default_fields', false, 'class="sub upd"'); +echo '
'; html_print_table($table); echo '
'; html_print_input_hidden ('update_config', 1); html_print_submit_button (__('Update'), 'upd_button', false, 'class="sub upd"'); echo ''; -echo '
'; - html_print_input_hidden ('default', 1); - html_print_submit_button (__('Default fields'), 'default_fields', false, 'class="sub upd"'); -echo '
'; echo '
'; ?>