Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 354 → Rev 355

/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
258,12 → 258,6
"FROM {$this->tableChorodep} ".
(isset($conditions) ? 'WHERE '.implode(' AND ', $conditions) : '');
$resultat = $this->Bdd->recupererTous($requete);
 
if (!is_array($resultat) || count($resultat) <= 0) {
$message = "Aucune donnée ne correspond à la ressource demandée";
$code = RestServeur::HTTP_CODE_RESSOURCE_INTROUVABLE;
throw new Exception($message, $code);
}
$this->donnees = $resultat;
}
 
391,11 → 385,15
}
 
private function creerTitre() {
$titre = "Carte en cours d'élaboration pour ".$this->creerTitreTaxon();
$titre = "Carte en cours d'élaboration";
if ($this->donnees != array()) {
$titre .= ' pour '.$this->creerTitreTaxon();
}
return $titre;
}
 
private function creerTitreTaxon() {
$titre = '';
$noms = array();
foreach ($this->donnees as $donnee) {
$noms[] = $donnee['nom_sci'];
/trunk/services/presentations/images/cartes/france_02.svg
276,7 → 276,7
<text id="titre-texte" x="295" y="522" class="txt titre" xml:space="preserve">
<tspan id="titre-taxon" x="285" y="525"></tspan>
<tspan id="titre-msg" x="285" y="540">Carte en cours d'élaboration.</tspan>
<tspan id="titre-msg" x="285" y="540"><a xlink:href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&amp;act=description">Carte en cours d'élaboration. Participez au projet</a></tspan>
</text>
<g id="couche-num-dep" desc="Numéros des départements" transform="translate(45,-7)">