|
@@ -814,17 +814,7 @@ if ($resql)
|
|
|
print_liste_field_titre($langs->trans("Received"),$_SERVER["PHP_SELF"],"am","",$param,'align="right"',$sortfield,$sortorder);
|
|
|
print_liste_field_titre($langs->trans("Rest"),$_SERVER["PHP_SELF"],"","",$param,'align="right"',$sortfield,$sortorder);
|
|
|
print_liste_field_titre($langs->trans("Status"),$_SERVER["PHP_SELF"],"fk_statut,paye,am","",$param,'align="right"',$sortfield,$sortorder);
|
|
|
-
|
|
|
- $searchpitco='<input type="image" class="liste_titre" name="button_search" src="'.img_picto($langs->trans("Search"),'search.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("Search")).'" title="'.dol_escape_htmltag($langs->trans("Search")).'">';
|
|
|
- $searchpitco.='<input type="image" class="liste_titre" name="button_removefilter" src="'.img_picto($langs->trans("Reset"),'searchclear.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'" title="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'">';
|
|
|
- if (empty($mode))
|
|
|
- {
|
|
|
- print_liste_field_titre($searchpitco,$_SERVER["PHP_SELF"],"","",$param,'align="center"',$sortfield,$sortorder);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- print_liste_field_titre($searchpitco,$_SERVER["PHP_SELF"],"","",$param,'align="center"',$sortfield,$sortorder);
|
|
|
- }
|
|
|
+ print_liste_field_titre('',$_SERVER["PHP_SELF"],"","",$param,'align="center"',$sortfield,$sortorder);
|
|
|
print "</tr>\n";
|
|
|
|
|
|
// Lignes des champs de filtre
|
|
@@ -858,6 +848,8 @@ if ($resql)
|
|
|
print $form->selectarray('filtre', $liststatus, $filter, 1);
|
|
|
print '</td>';
|
|
|
print '<td class="liste_titre" align="center">';
|
|
|
+ $searchpitco=$form->showFilterAndCheckAddButtons(0);
|
|
|
+ print $searchpitco;
|
|
|
if (empty($mode))
|
|
|
{
|
|
|
if ($conf->use_javascript_ajax) print '<a href="#" id="checkall">'.$langs->trans("All").'</a> / <a href="#" id="checknone">'.$langs->trans("None").'</a>';
|