NEW Option MAIN_LIST_FILTER_ON_DAY is supported on proposal list
This commit is contained in:
parent
e79633fa8d
commit
334cdbc2f5
@ -64,8 +64,9 @@ $object_statut=GETPOST('propal_statut');
|
|||||||
|
|
||||||
$sall=GETPOST("sall");
|
$sall=GETPOST("sall");
|
||||||
$mesg=(GETPOST("msg") ? GETPOST("msg") : GETPOST("mesg"));
|
$mesg=(GETPOST("msg") ? GETPOST("msg") : GETPOST("mesg"));
|
||||||
$year=GETPOST("year");
|
$day=GETPOST("day","int");
|
||||||
$month=GETPOST("month");
|
$year=GETPOST("year","int");
|
||||||
|
$month=GETPOST("month","int");
|
||||||
|
|
||||||
$limit = GETPOST("limit")?GETPOST("limit","int"):$conf->liste_limit;
|
$limit = GETPOST("limit")?GETPOST("limit","int"):$conf->liste_limit;
|
||||||
$sortfield = GETPOST("sortfield",'alpha');
|
$sortfield = GETPOST("sortfield",'alpha');
|
||||||
@ -109,6 +110,7 @@ if (GETPOST("button_removefilter") || GETPOST("button_removefilter_x")) // Both
|
|||||||
$search_town='';
|
$search_town='';
|
||||||
$year='';
|
$year='';
|
||||||
$month='';
|
$month='';
|
||||||
|
$day='';
|
||||||
$viewstatut='';
|
$viewstatut='';
|
||||||
$object_statut='';
|
$object_statut='';
|
||||||
}
|
}
|
||||||
@ -349,6 +351,7 @@ if ($result)
|
|||||||
// Date
|
// Date
|
||||||
print '<td class="liste_titre" colspan="1" align="center">';
|
print '<td class="liste_titre" colspan="1" align="center">';
|
||||||
//print $langs->trans('Month').': ';
|
//print $langs->trans('Month').': ';
|
||||||
|
if (! empty($conf->global->MAIN_LIST_FILTER_ON_DAY)) print '<input class="flat" type="text" size="1" maxlength="2" name="day" value="'.$day.'">';
|
||||||
print '<input class="flat" type="text" size="1" maxlength="2" name="month" value="'.$month.'">';
|
print '<input class="flat" type="text" size="1" maxlength="2" name="month" value="'.$month.'">';
|
||||||
//print ' '.$langs->trans('Year').': ';
|
//print ' '.$langs->trans('Year').': ';
|
||||||
$syear = $year;
|
$syear = $year;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user