diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index 9f54b072866..3a5e6a785a9 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -1258,12 +1258,7 @@ if (!empty($arrayfields['commercial']['checked'])) {
}
// Start date
if (!empty($arrayfields['p.dateo']['checked'])) {
- print '
';
- /*if (!empty($conf->global->MAIN_LIST_FILTER_ON_DAY)) {
- print '';
- }
- print '';
- print $formother->selectyear($search_syear ? $search_syear : -1, 'search_syear', 1, 20, 5, 0, 0, '', 'widthauto valignmiddle');*/
+ print ' | ';
print ' ';
print $form->selectDate($search_date_start_start ? $search_date_start_start : -1, 'search_date_start_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From'));
print ' ';
@@ -1274,12 +1269,7 @@ if (!empty($arrayfields['p.dateo']['checked'])) {
}
// End date
if (!empty($arrayfields['p.datee']['checked'])) {
- print ' | ';
- /*if (!empty($conf->global->MAIN_LIST_FILTER_ON_DAY)) {
- print '';
- }
- print '';
- print $formother->selectyear($search_eyear ? $search_eyear : -1, 'search_eyear', 1, 20, 5, 0, 0, '', 'widthauto valignmiddle');*/
+ print ' | ';
print ' ';
print $form->selectDate($search_date_end_start ? $search_date_end_start : -1, 'search_date_end_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From'));
print ' ';
|