Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 990 → Rev 989

/trunk/modules/mobile/Mobile.php
File deleted
\ No newline at end of file
/trunk/modules/mobile/presentations/js/mobile.js
File deleted
\ No newline at end of file
/trunk/modules/mobile/presentations/icones/altitude.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
/trunk/modules/mobile/presentations/icones/zoom.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
/trunk/modules/mobile/presentations/logos/tela.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
/trunk/modules/mobile/presentations/logos/tela_transparent.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
/trunk/modules/mobile/presentations/less/pyracantha_tela.less
File deleted
\ No newline at end of file
/trunk/modules/mobile/presentations/less/gentiana.less
File deleted
/trunk/modules/mobile/presentations/less/README
File deleted
\ No newline at end of file
/trunk/modules/mobile/presentations/less/functions.less
File deleted
/trunk/modules/mobile/presentations/less/pyracantha_blanc.less
File deleted
\ No newline at end of file
/trunk/modules/mobile/presentations/less/pyracantha.less
File deleted
\ No newline at end of file
/trunk/modules/mobile/presentations/less/pyracantha_vert.less
File deleted
\ No newline at end of file
/trunk/modules/mobile/presentations/css/pyracantha_tela.css
File deleted
/trunk/modules/mobile/presentations/css/gentiana.css
File deleted
/trunk/modules/mobile/presentations/css/pyracantha_blanc.css
File deleted
/trunk/modules/mobile/presentations/css/pyracantha_vert.css
File deleted
/trunk/modules/mobile/squelettes/theme_pyracantha_niveau1.tpl.html
File deleted
\ No newline at end of file
/trunk/modules/mobile/squelettes/fiche.tpl.html
File deleted
\ No newline at end of file
/trunk/modules/mobile/squelettes/theme_gentiana_niveau1.tpl.html
File deleted
\ No newline at end of file
/trunk/modules/mobile/squelettes/theme_gentiana2_niveau1.tpl.html
File deleted
\ No newline at end of file
/trunk/modules/mobile/sources/NomsCommuns.php
File deleted
\ No newline at end of file
/trunk/modules/mobile/sources/Repartition.php
File deleted
\ No newline at end of file
/trunk/modules/mobile/sources/Texte.php
File deleted
\ No newline at end of file
/trunk/modules/mobile/sources/Floraison.php
File deleted
\ No newline at end of file
/trunk/modules/mobile/sources/Illustrations.php
File deleted
\ No newline at end of file
/trunk/modules/fiche/squelettes/fiche_pied_page.tpl.html
3,11 → 3,6
<h2>Téléchargements</h2>
<div class="conteneur_telechargements">
<?= $export_pdf; ?>
<br />
<span>QR Code Version Mobile</span>
<a href="<?= $mobile; ?>">
<img src="<?= $qr_code_png; ?>" alt="QR Code" />
</a>
</div>
</div>
<div class="droite infos_liens_permanents">
17,45 → 12,37
<h2>Liens permanents :</h2>
<div class="conteneur_permalien">
<span>Nom sélectionné :</span>
<span class="conteneur_permalien">
<a class="lien_externe" href="<?=htmlentities($permalien_num_nom)?>" title="Lien permanent vers <?=$nom_retenu;?>">
<?=htmlentities($permalien_num_nom)?>
</a>
</span>
<span>Nom séléctionné :</span>
<span class="conteneur_permalien">
<a class="lien_externe" href="<?=htmlentities($permalien_num_nom)?>" title="Lien permanent vers <?=$nom_retenu;?>">
<?=htmlentities($permalien_num_nom)?>
</a>
</span>
</div>
<!-- <div class="conteneur_permalien">
<span class="titre_lien_permanent">Taxon :</span>
<span>
<a class="lien_externe" href="<?=htmlentities($permalien_taxon)?>" title="Lien permanent vers ce taxon">
<?=htmlentities($permalien_taxon)?>
</a>
</span>
<span class="titre_lien_permanent">Taxon :</span>
<span>
<a class="lien_externe" href="<?=htmlentities($permalien_taxon)?>" title="Lien permanent vers ce taxon">
<?=htmlentities($permalien_taxon)?>
</a>
</span>
</div> -->
<div class="conteneur_permalien">
<span>Fiche wikipedia :</span>
<span class="description conteneur_permalien">
<a class="lien_externe" href="<?=htmlentities($wikipedia['lien'])?>" title="voir la page de ce taxon sur wikipedia (s'ouvre dans une nouvelle fenêtre)">
<?=htmlentities($wikipedia['lien'])?>
</a>
</span>
<span>Fiche wikipedia :</span>
<span class="description conteneur_permalien">
<a class="lien_externe" href="<?=htmlentities($wikipedia['lien'])?>" title="voir la page de ce taxon sur wikipedia (s'ouvre dans une nouvelle fenêtre)">
<?=htmlentities($wikipedia['lien'])?>
</a>
</span>
</div>
<div class="conteneur_permalien">
<span>Fiche wikini :</span>
<span class="description conteneur_permalien">
<a class="lien_externe" href="<?=htmlentities($wiki)?>" title="voir la page de ce taxon sur le wiki flora (s'ouvre dans une nouvelle fenêtre)">
<?=htmlentities($wiki)?>
</a>
</span>
<span>Fiche wikini :</span>
<span class="description conteneur_permalien">
<a class="lien_externe" href="<?=htmlentities($wiki)?>" title="voir la page de ce taxon sur le wiki flora (s'ouvre dans une nouvelle fenêtre)">
<?=htmlentities($wiki)?>
</a>
</span>
</div>
<div class="conteneur_permalien">
<span>Fiche mobile :</span>
<span class="description conteneur_permalien">
<a class="lien_externe" href="<?= $mobile; ?>" title="voir la version mobile de ce taxon (s'ouvre dans une nouvelle fenêtre)">
Version nomade
</a>
</span>
</div>
</div>
<hr class="nettoyage" />
</div>
/trunk/modules/fiche/Fiche.php
124,29 → 124,17
$description = new Description($this->conteneur);
$taxons = new Taxons($this->conteneur);
$referentiel = $this->conteneur->getParametre('referentiel');
$urlMobile = $this->url->obtenirUrlMobile($this->parametres['num_nom'], $this->parametres['type_nom'], $this->parametres['nom']);
$donnees = array('wikipedia' => $description->getUrlWikipedia(),
'export_pdf' => $this->ajouterLienModuleExport(),
'permalien_num_nom' => $taxons->getUrlPermalienNumNom($referentiel, 1, $this->conteneur->getNomCourant()->getNns()),
'permalien_taxon' => $taxons->getUrlPermalienTaxon($referentiel, 1, $this->conteneur->getNomCourant()->getNt()),
'nn' => $this->conteneur->getNomCourant()->getNns(),
'nt' => $this->conteneur->getNomCourant()->getNt(),
'wiki' => $description->getLienWikini(),
'nom_retenu' => $this->nom_retenu->get('nom_sci'),
'mobile' => $urlMobile,
'qr_code_png' => $this->obtenirUrlQrCode($urlMobile)
);
'export_pdf' => $this->ajouterLienModuleExport(),
'permalien_num_nom' => $taxons->getUrlPermalienNumNom($referentiel, 1, $this->conteneur->getNomCourant()->getNns()),
'permalien_taxon' => $taxons->getUrlPermalienTaxon($referentiel, 1, $this->conteneur->getNomCourant()->getNt()),
'nn' => $this->conteneur->getNomCourant()->getNns(),
'nt' => $this->conteneur->getNomCourant()->getNt(),
'wiki' => $description->getLienWikini(),
'nom_retenu' => $this->nom_retenu->get('nom_sci'));
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_pied_page', $donnees), true);
}
private function obtenirUrlQrCode($urlMobile) {
$qr = $this->conteneur->getQrCode();
$qr->setUrl(htmlspecialchars_decode($urlMobile));
$idQrCode = $this->conteneur->getNomCourant()->getNns();
$urlQrCode = $qr->dessiner($idQrCode);
return $urlQrCode;
}
public function executerOnglet(){
$this->viderSorties();
$donnees = $this->obtenirDonnees();