0) { $svgIcon = '\' alt="'._t('HISTORY').'">'; $curday = ''; foreach ($fiches as $fiche) { list($day, $time) = explode(' ', $fiche['date_maj_fiche']); if ($day != $curday) { if ($curday) { echo "
\n"; } echo ''.date('d.m.Y', strtotime($day)).' :
'."\n"; $curday = $day; } $icon = getCustomValueForEntry( $param['icon'], $param['iconfield'], $fiche, '' ); if (!empty($icon)) { $fiche['bf_titre'] = ' '.$fiche['bf_titre']; } $color = getCustomValueForEntry( $param['color'], $param['colorfield'], $fiche, '' ); if (!empty($color)) { $fiche['bf_titre'] = ' '.$fiche['bf_titre']; } // echo entry echo '
'.$svgIcon.' '.$time.' '.$fiche['bf_titre'].' par '.$GLOBALS['wiki']->Format($fiche['createur']).'
'."\n"; } } else { echo 'Il n\'y a pas de fiche pour cette période.'; }