Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 460 → Rev 461

/trunk/modules/fiche/formateurs/Bibliographie.php
53,6 → 53,10
$donnees['autresFlores'] = count($flores) - 3;
$references = $this->getBiblioBota();
$donnees['references'] = array_slice($references, 0, 3);
foreach ($donnees['references'] as $id=>$reference) {
preg_match('/.*<strong>(.*)<\/strong>.*/', $reference['reference_html'], $titre);
$donnees['references'][$id]['reference_html'] = $titre[1];
}
$donnees['autresReferences'] = count($references) - 3;
if ($donnees['flores'] == array() && $donnees['references'] == array()) {
$donnees['wikini'] = $this->getWikini();