Skip to content

Commit

Permalink
Optioncss
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Oct 4, 2015
1 parent 835633f commit ed917ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/compta/salaries/index.php
Expand Up @@ -49,6 +49,7 @@
$limit = $conf->liste_limit;
if (! $sortfield) $sortfield="s.datep";
if (! $sortorder) $sortorder="DESC";
$optioncss = GETPOST('optioncss','alpha');

$filtre=$_GET["filtre"];

Expand Down Expand Up @@ -120,6 +121,7 @@

$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');

Expand Down
2 changes: 2 additions & 0 deletions htdocs/fourn/facture/paiement.php
Expand Up @@ -56,6 +56,7 @@
$limit = $conf->liste_limit;
if (! $sortorder) $sortorder="DESC";
if (! $sortfield) $sortfield="p.rowid";
$optioncss = GETPOST('optioncss','alpha');

$amounts = array();

Expand Down Expand Up @@ -531,6 +532,7 @@
$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);

Expand Down
4 changes: 4 additions & 0 deletions htdocs/loan/index.php
Expand Up @@ -51,6 +51,7 @@
$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
Expand Down Expand Up @@ -94,6 +95,9 @@

print load_fiche_titre($langs->trans("Loans"));

$param="";
if ($optioncss != '') $param.='&optioncss='.$optioncss;

print '<form method="GET" action="'.$_SERVER["PHP_SELF"].'">'."\n";
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
Expand Down

0 comments on commit ed917ab

Please sign in to comment.