From 04bae1b4fb66472e5088b107464c822958e0729c Mon Sep 17 00:00:00 2001 From: Marcos Alconada Date: Thu, 18 Mar 2021 17:05:50 +0000 Subject: [PATCH] fixed visual errors --- pandora_console/godmode/category/category.php | 2 +- pandora_console/godmode/modules/manage_nc_groups.php | 2 +- .../godmode/modules/manage_network_components.php | 6 +++--- pandora_console/godmode/reporting/map_builder.php | 2 +- pandora_console/godmode/setup/license.php | 2 +- pandora_console/include/functions_treeview.php | 4 ++-- pandora_console/operation/events/events.build_table.php | 4 ++-- pandora_console/operation/events/events.php | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pandora_console/godmode/category/category.php b/pandora_console/godmode/category/category.php index 7285e402f6..04aa74e7ca 100755 --- a/pandora_console/godmode/category/category.php +++ b/pandora_console/godmode/category/category.php @@ -175,7 +175,7 @@ if (!empty($result)) { } // Form to add new categories or search categories -echo "
"; +echo "
"; if (defined('METACONSOLE')) { echo '
'; } else { diff --git a/pandora_console/godmode/modules/manage_nc_groups.php b/pandora_console/godmode/modules/manage_nc_groups.php index 6ee07af31c..dce3b40dda 100644 --- a/pandora_console/godmode/modules/manage_nc_groups.php +++ b/pandora_console/godmode/modules/manage_nc_groups.php @@ -279,7 +279,7 @@ if (isset($data)) { html_print_input_hidden('multiple_delete', 1); html_print_table($table); if (is_management_allowed() === true) { - echo "
"; + echo "
"; html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); echo '
'; } diff --git a/pandora_console/godmode/modules/manage_network_components.php b/pandora_console/godmode/modules/manage_network_components.php index 5a68fb86c2..8dc5552e55 100644 --- a/pandora_console/godmode/modules/manage_network_components.php +++ b/pandora_console/godmode/modules/manage_network_components.php @@ -900,7 +900,7 @@ if (isset($data)) { true, 'pagination-bottom' ); - echo "
"; + echo "
"; html_print_submit_button( __('Delete'), 'delete_btn', @@ -918,8 +918,8 @@ if (isset($data)) { ); } -echo ''; -echo '
'; +echo ''; +echo '
'; html_print_input_hidden('new_component', 1); html_print_select( [ diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 0af0bdea4f..60e1567ef0 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -517,7 +517,7 @@ if ($maps) { if (!is_metaconsole()) { echo '
'; } else { - echo '
'; + echo '
'; } } diff --git a/pandora_console/godmode/setup/license.php b/pandora_console/godmode/setup/license.php index d16759ff84..e9b382c3cd 100644 --- a/pandora_console/godmode/setup/license.php +++ b/pandora_console/godmode/setup/license.php @@ -105,7 +105,7 @@ if (is_metaconsole()) { $table->data = []; $table->data[0][0] = ''.__('Customer key').''; -$table->data[0][1] = html_print_textarea('keys[customer_key]', 10, 255, $settings->customer_key, 'class="height_50px w450px"', true); +$table->data[0][1] = html_print_textarea('keys[customer_key]', 10, 255, $settings->customer_key, 'style="width: 450px" class="height_50px w450px"', true); $table->data[1][0] = ''.__($license['expiry_caption']).''; $table->data[1][1] = html_print_input_text('expires', $license['expiry_date'], '', 10, 255, true, true); diff --git a/pandora_console/include/functions_treeview.php b/pandora_console/include/functions_treeview.php index 6fbb67deeb..e5648babb8 100755 --- a/pandora_console/include/functions_treeview.php +++ b/pandora_console/include/functions_treeview.php @@ -337,7 +337,7 @@ function treeview_printModuleTable($id_module, $server_data=false, $no_head=fals if ($user_access_node && check_acl($config['id_user'], $id_group, 'AW')) { // Actions table - echo '
'; + echo '
'; echo ''; html_print_submit_button(__('Go to module edition'), 'upd_button', false, 'class="sub config"'); echo ''; @@ -694,7 +694,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false) $agent_table = html_print_table($table, true); if ($user_access_node && check_acl($config['id_user'], $agent['id_grupo'], 'AW')) { - $go_to_agent = '
'; + $go_to_agent = '
'; if ($agent['id_os'] == CLUSTER_OS_ID) { if (enterprise_installed()) { diff --git a/pandora_console/operation/events/events.build_table.php b/pandora_console/operation/events/events.build_table.php index b0893d8d5c..c37ae43f39 100644 --- a/pandora_console/operation/events/events.build_table.php +++ b/pandora_console/operation/events/events.build_table.php @@ -1004,12 +1004,12 @@ if ($group_rep == 2) { true ).''; echo ''; - echo ''; + echo ''; - echo ''; + echo ''; diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index b216a3fe2f..4884280080 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -1654,12 +1654,12 @@ if (check_acl( true ).''; echo ''; - echo ''; + echo ''; - echo ''; + echo '';