diff --git a/pandora_console/godmode/events/custom_events.php b/pandora_console/godmode/events/custom_events.php index fb5dce8830..00e1cc9fb7 100644 --- a/pandora_console/godmode/events/custom_events.php +++ b/pandora_console/godmode/events/custom_events.php @@ -45,7 +45,7 @@ if ($default != 0) { 'token' => 'event_fields', 'value' => $event_fields, ]; - // update 'event_fields' in tconfig table to keep the value at update. + // Update 'event_fields' in tconfig table to keep the value at update. $result = db_process_sql_update( 'tconfig', $values, @@ -147,7 +147,7 @@ $table->data[1][1] .= '



'.html_print_image( $table->data[0][1] = ''; $table->data[0][2] = ''.__('Fields selected').''; -$table->data[1][2] = html_print_select( +$table->data[1][2] = '
'.html_print_select( $result_selected, 'fields_selected[]', true, @@ -162,6 +162,25 @@ $table->data[1][2] = html_print_select( 'width: 300px' ); +$table->data[1][2] .= '
'; +$table->data[1][2] .= ''.html_print_image( + 'images/darrowup.png', + true, + [ + 'onclick' => 'sortUpDown(\'up\');', + 'title' => __('Move down selected fields'), + ] +).''; +$table->data[1][2] .= ''.html_print_image( + 'images/darrowdown.png', + true, + [ + 'onclick' => 'sortUpDown(\'down\');', + 'title' => __('Move up selected fields'), + ] +).''; +$table->data[1][2] .= '
'; + echo '
'; html_print_table($table); @@ -174,7 +193,7 @@ echo ''; diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 83f2a89ac2..59ce3d1005 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -7483,6 +7483,11 @@ div.graph div.legend table { align-items: center; } +.flex_justify { + display: flex; + justify-content: center; +} + .span_priority { width: 20px; height: 10px;