diff --git a/htdocs/intracommreport/list.php b/htdocs/intracommreport/list.php index 6c128e0c644..6f7ecbc2580 100644 --- a/htdocs/intracommreport/list.php +++ b/htdocs/intracommreport/list.php @@ -291,7 +291,7 @@ if ($resql) print '
'; if ($optioncss != '') print ''; - print ''; + print ''; print ''; print ''; print ''; @@ -300,7 +300,7 @@ if ($resql) print ''; if (empty($arrayfields['i.fk_product_type']['checked'])) print ''; - print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'title_products.png', 0, $newcardbutton, '', $limit); + print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'title_products.png', 0, $newcardbutton, '', $limit); $topicmail="Information"; $modelmail="product"; diff --git a/htdocs/intracommreport/list_det b/htdocs/intracommreport/list_det deleted file mode 100644 index afd6509f693..00000000000 --- a/htdocs/intracommreport/list_det +++ /dev/null @@ -1,40 +0,0 @@ -function _liste($exporttype='deb') { - -global $db, $conf, $langs; - -$langs->load('intracommreport'); - -llxHeader(); -$l = new TListviewTBS('intracommreport'); - -$sql = 'SELECT numero_declaration, type_declaration, periode, rowid as dl -FROM '.MAIN_DB_PREFIX.'intracommreport -WHERE entity = '.$conf->entity.' AND exporttype = '.$PDOdb->quote($exporttype); - -print $l->render($PDOdb, $sql, array( -'type'=>array( -//'date_cre'=>'date' -) -,'link'=>array( -'dl'=>''.img_picto('', 'file.png').'' -) -,'eval'=>array( -'numero_declaration'=>'TDebProdouane::getNumeroDeclaration("@val@")' -,'type_declaration'=>'TDebProdouane::$TType["@val@"]' -) -,'liste'=>array( -'titre'=>$langs->trans('IntracommReportList'.$exporttype) -,'image'=>img_picto('','title.png', '', 0) -,'picto_precedent'=>img_picto('','back.png', '', 0) -,'picto_suivant'=>img_picto('','next.png', '', 0) -,'messageNothing'=>"Il n'y a aucune déclaration à afficher" -,'picto_search'=>img_picto('','search.png', '', 0) -) -,'title'=>array( -'numero_declaration'=>$langs->trans('IntracommReportNumber') -,'type_declaration'=>$langs->trans('IntracommReportTypeDeclaration') -,'periode'=>$langs->trans('IntracommReportPeriod') -,'dl'=>$langs->trans('IntracommReportDownload') -) -)); -} \ No newline at end of file diff --git a/htdocs/loan/card.php b/htdocs/loan/card.php index 1c4116b34c2..974f758bdc9 100644 --- a/htdocs/loan/card.php +++ b/htdocs/loan/card.php @@ -151,7 +151,7 @@ if (empty($reshook)) } } } else { - header("Location: index.php"); + header("Location: list.php"); exit(); } }