From 78e60249a7323444b9b62bbe730877885df416ad Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 1 Jul 2015 14:50:00 +0200 Subject: [PATCH 1/2] Change visual of metaconsole and console --- .../godmode/events/event_filter.php | 41 +++---- .../reporting_builder.item_editor.php | 100 +++++++++--------- .../reporting/reporting_builder.main.php | 5 +- .../godmode/reporting/reporting_builder.php | 12 +-- .../include/functions_reporting_html.php | 6 +- .../operation/reporting/reporting_viewer.php | 6 +- 6 files changed, 80 insertions(+), 90 deletions(-) diff --git a/pandora_console/godmode/events/event_filter.php b/pandora_console/godmode/events/event_filter.php index a249c08351..894d29254c 100644 --- a/pandora_console/godmode/events/event_filter.php +++ b/pandora_console/godmode/events/event_filter.php @@ -111,12 +111,12 @@ $table->head[5] = __('Action') . $table->style = array (); $table->style[0] = 'font-weight: bold'; $table->align = array (); -$table->align[1] = 'center'; -$table->align[2] = 'center'; -if(!defined("METACONSOLE")) - $table->align[3] = 'left'; -$table->align[4] = 'center'; -$table->align[5] = 'center'; +$table->align[1] = 'left'; +$table->align[2] = 'left'; +$table->align[3] = 'left'; + +$table->align[4] = 'left'; +$table->align[5] = 'left'; $table->size = array (); $table->size[0] = '50%'; $table->size[1] = '5px'; @@ -148,30 +148,31 @@ foreach ($filters as $filter) { } if (isset($data)) { - echo "
"; - html_print_input_hidden('multiple_delete', 1); html_print_table ($table); - if(!defined("METACONSOLE")) - echo "
"; - else - echo "
"; - html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); - echo "
"; - echo ""; } else { ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no defined filters') ) ); } -echo '
'; +if (isset($data)) { + echo ""; + html_print_input_hidden('multiple_delete', 1); if(!defined("METACONSOLE")) - echo "
"; + echo "
"; else - echo "
"; - html_print_submit_button (__('Create filter'), 'crt', false, 'class="sub wand"'); + echo "
"; + html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); echo "
"; + echo ""; +} +if(!defined("METACONSOLE")) + echo "
"; +else + echo "
"; + echo '
'; + html_print_submit_button (__('Create filter'), 'crt', false, 'class="sub wand"'); echo '
'; - +echo "
"; ?>