diff --git a/htdocs/public/theme/common/object_calendarday.png b/htdocs/public/theme/common/object_calendarday.png new file mode 100644 index 00000000000..d6484bb1a31 Binary files /dev/null and b/htdocs/public/theme/common/object_calendarday.png differ 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; }