diff --git a/pandora_console/godmode/setup/setup.php b/pandora_console/godmode/setup/setup.php index 665543ef60..b1bad59936 100644 --- a/pandora_console/godmode/setup/setup.php +++ b/pandora_console/godmode/setup/setup.php @@ -323,6 +323,8 @@ switch ($section) { break; } +// Put header inside div for special sizing.(No right margin). +echo '
'; // Header. ui_print_page_header( __('Configuration').$subpage, @@ -330,8 +332,15 @@ ui_print_page_header( false, $help_header, true, - $buttons + $buttons, + false, + '', + GENERIC_SIZE_TEXT, + '', + '', + true ); +echo '
'; if (isset($config['error_config_update_config'])) { if ($config['error_config_update_config']['correct'] == false) { diff --git a/pandora_console/godmode/setup/setup_ehorus.php b/pandora_console/godmode/setup/setup_ehorus.php index eeabebf0d5..136c0e6075 100644 --- a/pandora_console/godmode/setup/setup_ehorus.php +++ b/pandora_console/godmode/setup/setup_ehorus.php @@ -120,9 +120,17 @@ $table_remote->data['ehorus_test'] = $row; echo '
'; echo ''; if ($config['style'] === 'pandora_black' && !is_metaconsole()) { - html_print_image('include/ehorus/images/ehorus-logo.png'); + html_print_image( + 'include/ehorus/images/ehorus-logo.png', + false, + ['class' => 'w400px'] + ); } else { - html_print_image('include/ehorus/images/ehorus-logo-grey.png'); + html_print_image( + 'include/ehorus/images/ehorus-logo-grey.png', + false, + ['class' => 'w400px'] + ); } echo ''; diff --git a/pandora_console/godmode/setup/setup_integria.php b/pandora_console/godmode/setup/setup_integria.php index 460b20e8c6..7f9b419fac 100644 --- a/pandora_console/godmode/setup/setup_integria.php +++ b/pandora_console/godmode/setup/setup_integria.php @@ -574,7 +574,11 @@ $table_remote->data['integria_test'] = $row; // Print. echo '
'; echo ''; -html_print_image('images/integria_logo.svg'); +html_print_image( + 'images/integria_logo.svg', + false, + ['class' => 'w400px' ] +); echo ''; echo '
'; echo '
'; diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index e25a5d74bb..7de44e0478 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -4577,19 +4577,19 @@ function ui_print_standard_header( /** * Return a standard page header (Pandora FMS 3.1 version) * - * @param string $title Title. - * @param string $icon Icon path. - * @param boolean $return Return (false will print using a echo). - * @param boolean $help Help (Help ID to print the Help link). - * @param boolean $godmode Godmode (false = operation mode). - * @param string $options Options (HTML code for make tabs or just a brief - * info string. - * @param mixed $modal Modal. - * @param mixed $message Message. - * @param mixed $numChars NumChars. - * @param mixed $alias Alias. - * @param mixed $breadcrumbs Breadcrumbs. - * + * @param string $title Title. + * @param string $icon Icon path. + * @param boolean $return Return (false will print using a echo). + * @param boolean $help Help (Help ID to print the Help link). + * @param boolean $godmode Godmode (false = operation mode). + * @param string $options Options (HTML code for make tabs or just a brief + * info string. + * @param mixed $modal Modal. + * @param mixed $message Message. + * @param mixed $numChars NumChars. + * @param mixed $alias Alias. + * @param mixed $breadcrumbs Breadcrumbs. + * @param boolean $hide_left_small Hide title id screen is small. * @return string Header HTML */ function ui_print_page_header( @@ -4603,7 +4603,8 @@ function ui_print_page_header( $message='', $numChars=GENERIC_SIZE_TEXT, $alias='', - $breadcrumbs='' + $breadcrumbs='', + $hide_left_small=false ) { $title = io_safe_input_html($title); if (($icon == '') && ($godmode == true)) { @@ -4632,7 +4633,6 @@ function ui_print_page_header( } $buffer .= ''; + if ($hide_left_small) { + $buffer .= ''; + } + if (!$return) { echo $buffer; } diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 8467374769..cd60523341 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -1520,10 +1520,6 @@ div.title_line { } /* End - Breadcrum */ -#menu_tab { - margin-right: 10px; -} - #menu_tab .mn, #menu_tab ul, #menu_tab .mn ul {