From 780ff93473d5835d4acbf33a35eb8f479791819f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Jun 2026 02:30:13 +0200 Subject: [PATCH] fix picto in select date webportal list (#38603) Co-authored-by: Laurent Destailleur --- htdocs/public/theme/common/object_calendarday.png | Bin 0 -> 119 bytes .../webportal/class/html.formwebportal.class.php | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 htdocs/public/theme/common/object_calendarday.png diff --git a/htdocs/public/theme/common/object_calendarday.png b/htdocs/public/theme/common/object_calendarday.png new file mode 100644 index 0000000000000000000000000000000000000000..d6484bb1a316008c5cddd6b9d0da1ea50ef67ad0 GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^JV4CN!2~3a2>s>&Qg)s$jv*C{$urDevpTW_eUax` z7q_=->c*U#MvFvaS(|^RMn8C=CFEepsnMR0Fso%{hs^7Yht@s~8}cLt85o`fI<8qi SOVR;o5`(9!pUXO@geCw@=Olgr literal 0 HcmV?d00001 diff --git a/htdocs/webportal/class/html.formwebportal.class.php b/htdocs/webportal/class/html.formwebportal.class.php index be9d8190f66..8bd2532108e 100644 --- a/htdocs/webportal/class/html.formwebportal.class.php +++ b/htdocs/webportal/class/html.formwebportal.class.php @@ -3,7 +3,7 @@ * Copyright (C) 2023-2024 Lionel Vessiller * Copyright (C) 2023-2024 Patrice Andreani * Copyright (C) 2024-2025 MDW - * Copyright (C) 2024-2025 Frédéric France + * Copyright (C) 2024-2026 Frédéric France * Copyright (C) 2026 Charlene Benke * * This program is free software; you can redistribute it and/or modify @@ -92,7 +92,7 @@ class FormWebPortal extends Form $out .= '>'; */ - $out = $this->selectDate($value === '' ? -1 : $value, $name, 0, 0, 0, "", 1, 0, 0, '', '', '', '', 1, '', $placeholder); + $out = $this->selectDate($value === '' ? -1 : $value, $name, 0, 0, 0, "", 1, 0, 0, '', '', '', '', 1, '', $placeholder, 'auto', DOL_URL_ROOT . "/theme/common/object_calendarday.png"); return $out; }