Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 454 → Rev 455

/trunk/modules/fiche/squelettes/fiche_synthese.tpl.html
143,7 → 143,7
<h4>Taxons supérieurs</h4>
<?php if($classification['taxons_sup'] != array()) { ?>
<?php foreach($classification['taxons_sup'] as $taxon) : ?>
<div><?= $taxon['rang']; ?> : <?= $taxon['nom_sci']; ?></div>
<div><?= $taxon['rang.libelle']; ?> : <?= $taxon['nom_sci']; ?></div>
<?php endforeach; ?>
<?php } else { ?>
<div>Aucun taxon supérieur référencé </div>
151,7 → 151,7
<h4>Taxons inférieurs</h4>
<?php if($classification['taxons_inf'] != array()) { ?>
<?php foreach($classification['taxons_inf'] as $taxon) : ?>
<div><?= $taxon['rang']; ?> : <?= $taxon['nom_sci']; ?></div>
<div><?= $taxon['rang.libelle']; ?> : <?= $taxon['nom_sci']; ?></div>
<?php endforeach; ?>
<?php } else { ?>
<div>Aucun taxon inférieur référencé </div>
/trunk/modules/fiche/formateurs/Repartition.php
70,7 → 70,7
private function getChorodepMiniature() {
$this->cartes->setProjet('chorodep');
$this->cartes->setLargeur('190x178');
$id = 'nn:'.$this->nomCourant->getNns();
$id = 'nn:'.$this->nomCourant->getNnr();
$this->cartes->setId($id);
return $this->cartes->getUrlPng();
}
/trunk/modules/fiche/formateurs/Ethnobotanique.php
92,11 → 92,11
}
private function traiterChampsStatuts($tableau_donnees, $code, $valeur) {
if ($code == 'statut_origine') {
if ($code == 'statut_origine.libelle') {
$tableau_donnees['Statut d\'origine']['France'] = $valeur;
} elseif ($code == 'statut_introduction') {
} elseif ($code == 'statut_introduction.libelle') {
$tableau_donnees['Statut d\'introduction']['France'] = $valeur;
} elseif ($code == 'statut_culture') {
} elseif ($code == 'statut_culture.libelle') {
$tableau_donnees['Statut de culture']['France'] = $valeur;
}
108,7 → 108,7
$prefixe = (count($tableau_presence) == 2) ? $tableau_presence[0] : '';
$lieu = (count($tableau_presence) == 2) ? $tableau_presence[1] : '';
if($code == 'presence') {
if($code == 'presence.libelle') {
$lieu = 'France';
} elseif (($lieu != '') && strpos($lieu , '.') === false) {
$lieu = 'France ('.$this->getCorrespondanceLieu($lieu).')';