Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1113 → Rev 1114

/trunk/modules/fiche/squelettes/fiche_illustrations.tpl.html
33,12 → 33,16
<img src="<?= $image['src']; ?>" alt="Photographie n°<?=$id;?> du taxon <?=$image['nomSci']?>" data-num-nom="<?=$id;?>" title="<?=$id;?>" />
</a>
<p>
à <strong class="localisation"><?= $image['station']; ?></strong><br />
observée le <strong class="date-creation"><?= $image['date']; ?></strong><br />
par <a class="mailto" href="<?= $image['urlContact']; ?>">
<strong class="auteur"><?= $image['auteur']; ?></strong>
<strong class="localisation"><?= $image['station']; ?></strong> - <strong class="date-creation"><?= $image['date']; ?></strong><br />
par <a target="_blank" title="Voir le profil de cet utilisateur (nécessite d'être identifié)" href="<?= $image['urlProfil']; ?>">
<strong class="auteur"><?= $image['auteur']; ?></strong>
</a>&nbsp;&nbsp;
<a title="Envoyer un message à l'auteur à propos de cette image (nécessite d'être identifié)" class="mailto" href="<?= $image['urlContact']; ?>">
(Contacter ...)
</a>
</a><br />
<a title="Proposer une autre détermination via l'outil identiplante" target="_blank" class="signaler-mauvaise-identification" href="<?= $image['urlMauvaiseIdentification']; ?>">
Mauvaise identification ?
</a>
</p>
</div>
</li>
/trunk/modules/fiche/formateurs/Illustrations.php
137,10 → 137,11
$infosImg['station'] = $img['station.libelle'];
$infosImg['date'] = $this->formaterDateImg($img['date']);
$infosImg['auteur'] = $img['auteur.libelle'];
if ($projet == "cel") {
$infosImg['urlDetailImg'] = $this->appUrls->obtenirUrlPopUpIllustrations($idImg);
$infosImg['urlContact'] = $this->appUrls->obtenirUrlPopUpContact($img['auteur.id'], $idImg);
$infosImg['urlProfil'] = $this->appUrls->obtenirUrlProfilAnnuaire($img['auteur.id']);
$infosImg['urlMauvaiseIdentification'] = $this->appUrls->obtenirUrlMauvaiseIdentification($img['observation.id']);
}
$this->donnees[$projet]['images'][$idImg] = $infosImg;
}
/trunk/modules/popup_contact/squelettes/form_identification.tpl.html
2,7 → 2,7
<div id="zone-dialogue">
<p class="msg attention">
Vous n'êtes pas identifié sur le site de Tela Botanica.<br />
Veuillez vous identifiez afin d'accéder au formulaire de contact.
Veuillez vous identifier afin d'accéder au formulaire de contact.
</p>
</div>
<form id="form-connexion" action="<?= $urlPopUp ?>" method="post">
/trunk/bibliotheque/AppUrls.php
272,5 → 272,17
$url = $this->urlPopUp->getURL();
return $url;
}
public function obtenirUrlMauvaiseIdentification($idObs) {
$tpl = Config::get('urlMauvaiseIdentificationTpl');
$url = sprintf($tpl, $idObs);
return $url;
}
public function obtenirUrlProfilAnnuaire($idUtilisateur) {
$tpl = Config::get('baseUrlProfilAnnuaireTpl');
$url = sprintf($tpl, $idUtilisateur);
return $url;
}
}
?>
/trunk/configurations/config.defaut.ini
143,7 → 143,9
urlApiChart = "http://chart.apis.google.com/chart"
urlQrCodeTpl = "http://www.tela-botanica.org/tmp/eflore_v5_cache/qrcode/%s"
baseUrlServicesAnnuaireTpl = "http://www.tela-botanica.org/service:annuaire:%s"
baseUrlProfilAnnuaireTpl = "http://www.tela-botanica.org/profil:%s"
baseUrlServicesCelTpl = "http://www.tela-botanica.org/service:cel:%s"
urlMauvaiseIdentificationTpl = "http://www.tela-botanica.org/appli:del#page_validation~%s"
 
; +------------------------------------------------------------------------------------------------------+
; Paramètres spécifiques à l'API 0.1 d'eFlore
188,7 → 190,7
taxonInfTpl = "{ref:taxonsTpl}/{id}/relations/inferieurs"
 
imagesTpl = "{ref:baseUrlApiEflore}/images?navigation.depart={depart}&navigation.limite={limite}&referentiel={referentiel}"
imagesResultatsDeterminationTpl = "{ref:baseUrlApiEflore}/images?masque.nn={idsNoms}&referentiel={referentiel}&retour.format=CS&navigation.limite=801"
imagesResultatsDeterminationTpl = "{ref:baseUrlApiEflore}/images?masque.nn={idsNoms}&referentiel={referentiel}&retour.format=CRS&navigation.limite=801"
imagesFicheBlocTpl = "{ref:baseUrlApiEflore}/images?masque.nn={idsNoms}&referentiel={referentiel}&retour.format=CS&retour.tri=date"
imagesPremiereTpl = "{ref:baseUrlApiEflore}/images?masque.nn={idsNoms}&referentiel={referentiel}&retour.format=CS&retour.tri=date&navigation.limite=1"
imagesPopupTpl = "{ref:baseUrlApiEflore}/images/{id}?referentiel={referentiel}"
/trunk/presentations/styles/eflore.css
1247,6 → 1247,12
.titre_lien_permanent {
padding-left: 0px;
}
 
.signaler-mauvaise-identification {
font-weight: bold;
margin-left: 35px;
}
 
/**----------------------- recherche--avancee--formulaire---------------------------------------------**/
::-webkit-input-placeholder { color:#777777; }
::-moz-placeholder { color:#777777; } /* firefox 19+ */