Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 825 → Rev 826

/trunk/modules/liste_fancy_box_phytosocio/ListeFancyBoxPhytosocio.php
1,6 → 1,14
<?php
/**
* Cette classe est le contrôleur pour l'affichage de listes dans des fancy box.(fenêtres)
* Cette classe est le contrôleur pour l'affichage de listes dans des fenêtre fancy box.(fenêtres phytosociologie)
*
* @category PHP 5.2
* @package eflore-consultation
* @author Mathilde Salthun-lassalle <mathilde@tela-botanica.org>
* @copyright 2012 Tela-Botanica
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
* @version $Id$
*/
 
 
121,9 → 129,17
$this->syntaxons->setProjet('baseveg');
$this->syntaxons->setCatminat($this->catminat);
$syntaxons = $this->syntaxons->getSyntaxonsCatminat();
if (is_array($syntaxons)) {
$ref['liste'] = $syntaxons['resultat'][0]['ref_der_biblio'];
$ref['liste']['der'] = $syntaxons['resultat'][0]['ref_der_biblio'];
if ($syntaxons['resultat'][0]['ref_anteriorite_deux'] != '') {
$ref['liste']['anteriorites'][0] = $syntaxons['resultat'][0]['ref_anteriorite_deux'];
}
if ($syntaxons['resultat'][0]['ref_anteriorite_trois'] != '') {
$ref['liste']['anteriorites'][1]= $syntaxons['resultat'][0]['ref_anteriorite_trois'];
}
if ($syntaxons['resultat'][0]['ref_anteriorite_quatre'] != '') {
$ref['liste']['anteriorites'][2] = $syntaxons['resultat'][0]['ref_anteriorite_quatre'];
}
}
return $ref;
}