| ';
+ $resarray=tree_showpad($fulltree,$key);
+ $a=$resarray[0];
+ $nbofsubdir=$resarray[1];
+ $nboffilesinsubdir=$resarray[2];
+ print ' | ';
+
+ // Show picto
+ print '';
+ //print $val['fullpath']."(".$showline.")";
+ $n='2';
+ if (! in_array($val['id'],$expandedsectionarray)) $n='3';
+ if (! in_array($val['id'],$expandedsectionarray)) $ref=img_picto('',DOL_URL_ROOT.'/theme/common/treemenu/plustop'.$n.'.gif','',1);
+ else $ref=img_picto('',DOL_URL_ROOT.'/theme/common/treemenu/minustop'.$n.'.gif','',1);
+ if ($option == 'indexexpanded') $lien = '';
+ if ($option == 'indexnotexpanded') $lien = '';
+ $newref=str_replace('_',' ',$ref);
+ $lienfin='';
+ print $lien.$newref.$lienfin;
+ if (! in_array($val['id'],$expandedsectionarray)) print img_picto('','object_category');
+ else print img_picto('','object_category-expanded');
+ print ' | ';
+ // Show link
+ print '';
+ //if ($section == $val['id']) print ' ';
+ // We don't want a link ... why ?
+ $userstatic->id=$val['id'];
+ $userstatic->ref=$val['label'];
+ $userstatic->type=$type;
+ print ' '.$userstatic->getNomUrl(0,'',60);
+
+ //print ' '.dol_trunc($val['label'],28);
+ //if ($section == $val['id']) print '';
+ print ' | ';
+ print '