Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1129 → Rev 1130

/trunk/modules/fiche/formateurs/Bibliographie.php
38,8 → 38,7
$this->donnees['bibliobota']['references'] = $this->getBiblioBota();
$this->meta->setProjet('bibliobota');
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$this->donnees['bibliobota']['meta']['titre'] = $titreMeta;
$this->donnees['bibliobota']['meta'] = $meta[0];
$this->donnees['bibliobota']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('bibliobota');
$this->donnees['wikini'] = $this->getWikini();
69,8 → 68,7
$this->donnees['flores']['liste_flores'] = $this->remplacerCorrespondancesFlores($flores);
$this->meta->setProjet($this->referentiel);
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$this->donnees['flores']['meta']['titre'] = $titreMeta;
$this->donnees['flores']['meta'] = $meta[0];
$this->donnees['flores']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($this->referentiel);
}
}
/trunk/modules/fiche/formateurs/Repartition.php
74,8 → 74,7
$repartition['legende'] = $this->cartes->getLegendeId();
$this->meta->setProjet($projetRepartition);
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$repartition['meta']['citation'] = $citation;
$repartition['meta'] = $meta[0];
$repartition['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projetRepartition);
$this->donnees['repartition'] = $repartition;
}
/trunk/modules/fiche/formateurs/Description.php
123,8 → 123,7
$baseflor['description']=$baseflor;
$this->meta->setProjet('baseflor');
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$baseflor['meta']['citation'] = $citation;
$baseflor['meta'] = $meta[0];
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
}
$this->donnees['baseflor'] = $baseflor;
195,8 → 194,7
}
$this->meta->setProjet('coste');
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$coste['meta']['citation'] = $citation;
$coste['meta'] = $meta[0];
$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste');
$this->donnees['coste'] = $coste;
}
/trunk/modules/fiche/formateurs/Statut.php
17,15 → 17,18
private $nomCourant = null;
private $wikini = null;
private $statuts = null;
private $meta;
private $referentiel = null;
private $appUrls;
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->nomCourant = $this->conteneur->getNomCourant();
$this->wikini = $this->conteneur->getApiWikini();
$this->statuts = $this->conteneur->getApiStatuts();
$this->meta = $this->conteneur->getApiMetaDonnees();
$this->referentiel = $this->conteneur->getParametre('referentiel');
$this->appUrls = $this->conteneur->getAppUrls();
}
public function getBloc() {
50,6 → 53,10
if ($projet != "") {
$nnr = $this->nomCourant->getNnr();
$statuts = $this->statuts->getStatuts($projet, $nnr);
$this->meta->setProjet($projet);
$meta = $this->meta->getMetaDonnees();
$statuts['meta'] = $meta[0];
$statuts['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet);
}
return $statuts;
}
60,6 → 67,10
if ($projet != "") {
$nnr = $this->nomCourant->getNnr();
$statuts = $this->statuts->getStatutsZoneGeo($projet, $nnr);
$this->meta->setProjet($projet);
$meta = $this->meta->getMetaDonnees();
$statuts['meta'] = $meta[0];
$statuts['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet);
}
return $statuts;
}
/trunk/modules/fiche/formateurs/Ethnobotanique.php
47,8 → 47,7
$this->donnees[$projet]['noms'] = $nomsVerna['resultat'];
$this->meta->setProjet($projet);
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$this->donnees[$projet]['meta']['titre'] = $titreMeta;
$this->donnees[$projet]['meta'] = $meta[0];
$this->donnees[$projet]['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet);
}
}
70,8 → 69,7
$this->donnees['chorologie'] = $this->traiterTableauChorologie($infos_choro);
$this->meta->setProjet($this->referentiel);
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$this->donnees['chorologie']['meta']['titre'] = $titreMeta;
$this->donnees['chorologie']['meta'] = $meta[0];
$this->donnees['chorologie']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($this->referentiel);
}
/trunk/modules/fiche/formateurs/Ecologie.php
61,7 → 61,7
if($informations != ""){
$baseflorCatminat['catminat'] = $informations['resultat'][0]['catminat_code'];
$baseflorCatminat['lien-liste-fancy'] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_taxons',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$baseflorCatminat['catminat']);
}else {
} else {
$baseflorCatminat['aucune'] = 'Aucune donnée';
}
return $baseflorCatminat;
90,8 → 90,7
$baseveg['ref']['lien-liste-fancy'][$baseflor['catminat']] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_ref',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$catminat);
$this->meta->setProjet('baseveg');
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$baseveg['meta']['citation'] = $citation;
$baseveg['meta'] = $meta[0];
$baseveg['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseveg');
}else {
$baseveg['aucune'] = 'Aucune donnée';
148,8 → 147,7
$baseflor['legende_eco'] = $this->urls->obtenirUrlBaseDossier() . Config::get('dossier_images') . '/legende_formes.png';
$this->meta->setProjet('baseflor');
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$baseflor['meta']['citation'] = $citation;
$baseflor['meta']= $meta[0];
}else {
$baseflor['aucune'] = 'Aucune donnée';
}
196,8 → 194,7
}
$this->meta->setProjet('baseflor');
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$baseflor['meta']['citation'] = $citation;
$baseflor['meta'] = $meta[0];
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
$this->conteneur->getCache()->sauver(serialize($baseflor),
/trunk/modules/fiche/formateurs/Illustrations.php
94,7 → 94,7
}
$this->meta->setProjet('coste');
$meta = $this->meta->getMetaDonnees();
$coste['meta']['titre']= $meta[0]['titre'];
$coste['meta'] = $meta[0];
$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste');
return $coste;
}
112,7 → 112,7
}
$this->meta->setProjet('coste');
$meta = $this->meta->getMetaDonnees();
$dessin['meta']['titre']= $meta[0]['titre'];
$dessin['meta'] = $meta[0];
$dessin['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet);
$this->donnees['coste'] = $dessin;
}
227,8 → 227,8
private function formaterMetaPhotos($projet) {
$this->meta->setProjet($projet);
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$this->donnees[$projet]['meta']['titre'] = $titreMeta;
$titreMeta = $meta[0];
$this->donnees[$projet]['meta'] = $titreMeta;
$this->donnees[$projet]['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet);
}
248,8 → 248,7
$cel['images']['auteur'] = $img[0]['auteur.libelle'];
$this->meta->setProjet('cel');
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$cel['meta']['titre'] = $titreMeta;
$cel['meta'] = $meta[0];
$cel['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('cel');
}
return $cel;
/trunk/modules/fiche/formateurs/Nomenclature.php
41,8 → 41,7
$this->donnees['synonymes']['noms'] = $this->getSynonymes();
$this->donnees['date_maj'] = $this->nomCourant->getNomRetenu()->get('maj_modif');
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$this->donnees['synonymes']['meta']['titre'] = $titreMeta;
$this->donnees['synonymes']['meta'] = $meta[0];
$this->donnees['synonymes']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($this->referentiel);
$this->donnees['num_type'] = $this->nomCourant->getNomSelectionne()->get('num_type');
$this->donnees['urls'] = $this->appUrls;
/trunk/modules/fiche/squelettes/fiche_nomenclature.tpl.html
92,7 → 92,7
<? endif; ?>
<hr class="nettoyage" />
<div class="conteneur_lien_metadonnees">
<?= $synonymes['meta']['titre']?>
<?= $synonymes['meta']['citation']?>
<span class="conteneur_lien_metadonnees">
<a class="lien_metadonnees lien_popup" href="<?= $synonymes['meta']['url']; ?>">Voir toutes les metadonnées</a>
</span>
200,7 → 200,7
<div class="conteneur_lien_metadonnees">
<?= $synonymes['meta']['titre']?>
<?= $synonymes['meta']['citation']?>
<span class="conteneur_lien_metadonnees">
<a class="lien_metadonnees lien_popup" href="<?= $synonymes['meta']['url']; ?>">Voir toutes les metadonnées</a>
</span>
/trunk/modules/fiche/squelettes/fiche_bibliographie.tpl.html
20,7 → 20,7
</ul>
<a class="acceder-outil" href="http://www.tela-botanica.org/page:accueil_biblio">Participez aux projets collaboratifs liés à la bibliothèque</a>
<div class="conteneur_lien_metadonnees">
<?= $bibliobota['meta']['titre']?>
<?= $bibliobota['meta']['citation']?>
<a class="lien_metadonnees lien_popup" href="<?= $bibliobota['meta']['url']; ?>">Voir toutes les metadonnées</a>
</div>
/trunk/modules/fiche/squelettes/fiche_illustrations.tpl.html
15,7 → 15,7
</ul>
<hr class="nettoyage" />
<div class="conteneur_lien_metadonnees">
<?= $coste['meta']['titre']?>
<?= $coste['meta']['citation']?>
<a class="lien_metadonnees lien_popup" href="<?= $coste['meta']['url']; ?>">Voir toutes les metadonnées</a>
</div>
<?php else : echo ' <br/> Aucune illustration. <br/> <br/>'; endif;?>
138,7 → 138,7
<hr class="nettoyage" />
</div>
<div class="conteneur_lien_metadonnees">
<?= $cel['meta']['titre']?>
<?= $cel['meta']['citation']?>
<a class="lien_metadonnees lien_popup" href="<?= $cel['meta']['url']; ?>">Voir toutes les metadonnées</a>
</div>
<a class="acceder-outil-vert lien-externe"
181,7 → 181,7
</div>
<div class="conteneur_lien_metadonnees">
<?= $photoflora['meta']['titre']?>
<?= $photoflora['meta']['citation']?>
<a class="lien_metadonnees lien_popup" href="<?= $photoflora['meta']['url']; ?>">Voir toutes les metadonnées</a>
</div>
<?php endif; ?>
/trunk/modules/fiche/squelettes/fiche_statut.tpl.html
19,6 → 19,12
<?php endforeach; ?>
<?php endif; ?>
</table>
<div class="conteneur_lien_metadonnees">
<?=$statuts['meta']['citation']?>
<span class="conteneur_lien_metadonnees">
<a class="lien_metadonnees lien_popup" href="<?= $statuts['meta']['url']; ?>">Voir toutes les metadonnées</a>
</span>
</div>
<?php } else { ?>
<h3 class="aucune_info"> Aucun statut de protection connu </h3>
<?php } ?>
/trunk/modules/fiche/squelettes/fiche_ethnobotanique.tpl.html
31,12 → 31,12
<h3 class="aucune_info">Aucun nom vernaculaire référencé</h3>
<?php } ?>
<div class="conteneur_lien_metadonnees">
<?=$nvjfl['meta']['titre']?>
<?=$nvjfl['meta']['citation']?>
<span class="conteneur_lien_metadonnees">
<a class="lien_metadonnees lien_popup" href="<?=$nvjfl['meta']['url']; ?>">Voir toutes les metadonnées</a>
</span>
</div><div class="conteneur_lien_metadonnees">
<?=$nvps['meta']['titre']?>
<?=$nvps['meta']['citation']?>
<span class="conteneur_lien_metadonnees">
<a class="lien_metadonnees lien_popup" href="<?=$nvps['meta']['url']; ?>">Voir toutes les metadonnées</a>
</span>
60,7 → 60,7
<h3 class="aucune_info">Aucun nom vernaculaire référencé</h3>
<?php } ?>
<div class="conteneur_lien_metadonnees">
<?=$nva['meta']['titre']?>
<?=$nva['meta']['citation']?>
<span class="conteneur_lien_metadonnees">
<a class="lien_metadonnees lien_popup" href="<?=$nva['meta']['url']; ?>">Voir toutes les metadonnées</a>
</span>
96,7 → 96,7
<h3 class="aucune_info">Aucun statut référencé</h3>
<?php } ?>
<div class="conteneur_lien_metadonnees">
<?= $chorologie['meta']['titre']?>
<?= $chorologie['meta']['citation']?>
<span class="conteneur_lien_metadonnees">
<a class="lien_metadonnees lien_popup" href="<?= $chorologie['meta']['url']; ?>">Voir toutes les metadonnées</a>
</span>
/trunk/modules/pdf_export/squelettes/pdf_illustrations.tpl.html
6,7 → 6,7
<?php if (empty($illustrations['coste']['images']) == false) :?>
<div class="deux-colonnes">
<h2>Illustration de la flore de Coste</h2>
<span class="citation"><?= $illustrations['coste']['meta']['titre']?></span><br/>
<span class="citation"><?= $illustrations['coste']['meta']['citation']?></span><br/>
<div id="illustrations">
<ul class="liste-illustrations allow-break">
<?php foreach($illustrations['coste']['images'] as $url) : ?>
24,7 → 24,7
<?php if (isset($illustrations['cel']['images'])) : ?>
<div class="deux-colonnes">
<h2>Carnet En Ligne (CEL)</h2>
<span class="citation"><?= $illustrations['cel']['meta']['titre']?></span><br/>
<span class="citation"><?= $illustrations['cel']['meta']['citation']?></span><br/>
<div id="illustrations">
<ul class="liste-illustrations allow-break">
<li>
/trunk/modules/pdf_export/squelettes/pdf_nomenclature.tpl.html
6,7 → 6,7
|| !empty($nomenclature['nom_retenu']) || !empty($nomenclature['nom_retenu_formate'])) :?>
<div class="no-break">
<h2>Nom retenu</h2>
<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
<span class="citation"><?= $nomenclature['synonymes']['meta']['citation']?></span>
<div style="float:right">
<div class="legende">
<b>Légende</b><br />
44,7 → 44,7
<?php if(is_array($nomenclature['synonymes']['noms']) && count($nomenclature['synonymes']['noms']) > 0) { ?>
<div class="no-break">
<h2>Synonymes</h2>
<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
<span class="citation"><?= $nomenclature['synonymes']['meta']['citation']?></span>
<?php foreach ($nomenclature['synonymes']['noms'] as $id => $synonyme) : ?>
<ul class="allow-break">
<li class="item_nomenclature">
64,7 → 64,7
<div class="no-break">
<?php if (!empty($nomenclature['taxons_sup'])) : ?>
<h2> Place du taxon dans la classification </h2>
<span class="citation"><?= $nomenclature['meta']['titre']?></span>
<span class="citation"><?= $nomenclature['meta']['citation']?></span>
<table class="allow-break">
<tr>
<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
107,7 → 107,7
<?php if(is_array($nomenclature['flores_synonymes']) && count($nomenclature['flores_synonymes']) > 0) { ?>
<div class="no-break">
<h2>Flores</h2>
<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
<span class="citation"><?= $nomenclature['synonymes']['meta']['citation']?></span>
<?php foreach ($nomenclature['flores_synonymes'] as $num_nom_syn => $infos_flore) : ?>
<?php foreach ($infos_flore as $code => $flore) : ?>
/trunk/modules/pdf_export/squelettes/pdf_bibliographie.tpl.html
6,7 → 6,7
<? if(!empty($bibliographie['flores']['liste_flores'])) : ?>
<div class ="no-break">
<h2 > Flores </h2>
<span class='citation'><?= $bibliographie['flores']['meta']['titre']?></span>
<span class='citation'><?= $bibliographie['flores']['meta']['citation']?></span>
<ul class="liste_biblio_flores allow-break">
<?php foreach($bibliographie['flores']['liste_flores'] as $flore) : ?>
<li class="item_biblio_flore"><span class="nom"> <?= $flore ?></span></li>
/trunk/modules/pdf_export/squelettes/pdf_ethnobotanique.tpl.html
6,7 → 6,7
<?php if($ethnobotanique['nvjfl']['noms'] != array()) : ?>
<div class="no-break">
<h2>Noms communs</h2>
<span class="citation"><?=$ethnobotanique['nvjfl']['meta']['titre']?></span>
<span class="citation"><?=$ethnobotanique['nvjfl']['meta']['citation']?></span>
<table class="allow-break">
<tr>
<th>Langue</th><th>Nom</th><th>Genre et Nombre</th><th>Conseil d'emploi</th><th>Notes</th>
40,7 → 40,7
<?php if($ethnobotanique['chorologie']['donnees'] != array()) : ?>
<div class="no-break">
<h2>Statuts</h2>
<span class="citation"><?=$ethnobotanique['chorologie']['meta']['titre']?></span>
<span class="citation"><?=$ethnobotanique['chorologie']['meta']['citation']?></span>
<table class="liste_statuts allow-break">
<tr>
<th></th>