diff --git a/htdocs/compta/salaries/index.php b/htdocs/compta/salaries/index.php index 5926d42bb8e..5492c7b9e4f 100644 --- a/htdocs/compta/salaries/index.php +++ b/htdocs/compta/salaries/index.php @@ -49,6 +49,7 @@ $pagenext = $page + 1; $limit = $conf->liste_limit; if (! $sortfield) $sortfield="s.datep"; if (! $sortorder) $sortorder="DESC"; +$optioncss = GETPOST('optioncss','alpha'); $filtre=$_GET["filtre"]; @@ -120,6 +121,7 @@ if ($result) $param=''; if ($typeid) $param.='&typeid='.$typeid; + if ($optioncss != '') $param.='&optioncss='.$optioncss; print_barre_liste($langs->trans("SalariesPayments"),$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',$num,$totalnboflines, 'title_accountancy.png'); diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index 118cd1f4798..78044dd4ff1 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -56,6 +56,7 @@ $pagenext = $page + 1; $limit = $conf->liste_limit; if (! $sortorder) $sortorder="DESC"; if (! $sortfield) $sortfield="p.rowid"; +$optioncss = GETPOST('optioncss','alpha'); $amounts = array(); @@ -531,6 +532,7 @@ if (empty($action)) $paramlist.=(! empty($search_ref)?"&search_ref=".$search_ref:""); $paramlist.=(! empty($search_company)?"&search_company=".$search_company:""); $paramlist.=(! empty($search_amount)?"&search_amount='".$search_amount:""); + if ($optioncss != '') $paramlist.='&optioncss='.$optioncss; print_barre_liste($langs->trans('SupplierPayments'), $page, $_SERVER["PHP_SELF"],$paramlist,$sortfield,$sortorder,'',$num); diff --git a/htdocs/loan/index.php b/htdocs/loan/index.php index 31985251300..16cda8446a5 100644 --- a/htdocs/loan/index.php +++ b/htdocs/loan/index.php @@ -51,6 +51,7 @@ $search_ref=GETPOST('search_ref','int'); $search_label=GETPOST('search_label','alpha'); $search_amount=GETPOST('search_amount','alpha'); $filtre=GETPOST("filtre"); +$optioncss = GETPOST('optioncss','alpha'); // Purge search criteria if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both test are required to be compatible with all browsers @@ -94,6 +95,9 @@ if ($resql) print load_fiche_titre($langs->trans("Loans")); + $param=""; + if ($optioncss != '') $param.='&optioncss='.$optioncss; + print '