diff --git a/include/themes/deepness/images/favicon.ico b/include/themes/deepness/images/favicon.ico index c0331f5a9..29719a997 100644 Binary files a/include/themes/deepness/images/favicon.ico and b/include/themes/deepness/images/favicon.ico differ diff --git a/include/themes/deepness/images/favicon.png b/include/themes/deepness/images/favicon.png index 932f962f7..9c3d915af 100644 Binary files a/include/themes/deepness/images/favicon.png and b/include/themes/deepness/images/favicon.png differ diff --git a/lib/functions.php b/lib/functions.php index 3fd3dc824..4f4bb3ab1 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -9191,12 +9191,17 @@ function get_md5_include_css(string $path, bool $async = false, string|null $the * @param string|null $theme Theme to use * @param string|null $file File to include * @param string|null $rel Rel type output when not null (eg, icon, shortcut icon) + * @param string|null $type Icon type output when not null (eg, image/svg+xml) * @param string|null $sizes Sizes output when not null (eg, 96x96) * * @return string */ -function get_md5_include_icon(string $path, bool $async = false, string|null $theme = null, string|null $file = null, string|null $rel = null, string|null $sizes = null) : string { - $format = ''; +function get_md5_include_icon(string $path, bool $async = false, string|null $theme = null, string|null $file = null, string|null $rel = null, string|null $type = null, string|null $sizes = null) : string { + if ($type === null) { + $format = ''; + } else { + $format = ""; + } if (!empty($rel)) { $rel = " rel='" . htmlspecialchars($rel) . "'"; diff --git a/lib/html.php b/lib/html.php index 32e91dd53..ad580d6df 100644 --- a/lib/html.php +++ b/lib/html.php @@ -3109,7 +3109,7 @@ function html_spikekill_js() : void { * @return void */ function html_common_header(string $title, string $selectedTheme = '') : void { - global $path2calendar, $path2timepicker, $path2colorpicker, $path2ms, $path2msfilter; + global $config, $path2calendar, $path2timepicker, $path2colorpicker, $path2ms, $path2msfilter; if ($selectedTheme == '') { $selectedTheme = get_selected_theme(); @@ -3261,13 +3261,11 @@ function html_common_header(string $title, string $selectedTheme = '') : void { var zoom_i18n_zoom_out_factor = ''; var zoom_i18n_zoom_out_positioning = ''; var zoom_outOfRangeTitle=''; - var zoom_outOfRangeMessage= ; + var zoom_outOfRangeMessage= ;