diff --git a/pandora_console/godmode/setup/setup.php b/pandora_console/godmode/setup/setup.php index 665543ef60..30a53b600f 100644 --- a/pandora_console/godmode/setup/setup.php +++ b/pandora_console/godmode/setup/setup.php @@ -330,7 +330,13 @@ ui_print_page_header( false, $help_header, true, - $buttons + $buttons, + false, + '', + GENERIC_SIZE_TEXT, + '', + '', + true ); if (isset($config['error_config_update_config'])) { 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 b3b66a4a9b..0fd39a9ad0 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -4569,19 +4569,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( @@ -4595,7 +4595,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)) { @@ -4623,7 +4624,11 @@ function ui_print_page_header( $buffer .= ''; } - $buffer .= '