From ed27b44f62e04a80ae8419db40586927ebdb57df Mon Sep 17 00:00:00 2001 From: atm-ph Date: Sun, 26 Mar 2017 14:58:59 +0200 Subject: [PATCH] Add TODO to print header table as Dolibarr --- htdocs/core/class/listview.class.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/listview.class.php b/htdocs/core/class/listview.class.php index 4394a1230da..15510f58e9c 100644 --- a/htdocs/core/class/listview.class.php +++ b/htdocs/core/class/listview.class.php @@ -589,14 +589,17 @@ class Listview foreach($THeader as $field=>$head) { if(empty($head['width']))$head['width']='auto'; - + + $out.=''.$head['libelle']; - + // TODO replace the actual html by this function call to print a standard output as Dolibarr then add extrafields +// $out .= getTitleFieldOfList($head, $_SERVER["PHP_SELF"],"p.ref"); + if($head['order']) $out.=' '.img_down().' '.img_up().' '; - + $out.=$head['more']; $out.=''; }