Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1130 → Rev 1131

/trunk/modules/fiche/squelettes/fiche_illustrations_organes.tpl.html
3,7 → 3,8
<ul class="liste-illustrations">
<?php foreach($organes as $tag => $image) : ?>
<li class="icone-organe">
<a class="lien-images-organes<?php if (empty($image) == false) : ?> fourni<?php endif; ?>" data-tag="<?= $tag; ?>">
<a class="lien-images-organes <? if (empty($image)) : ?>non-<? endif ?>fourni" data-tag="<?= $tag; ?>"
title="<? if (empty($image)) : ?>Aucune photo pour <? endif ?><?= $tag ?>">
<img class="icone-organe" src="presentations/images/icones_tags/<?= $tag; ?>.png" alt="<?= $tag ?>" />
<?= $tag; ?>
</a>
47,7 → 48,9
</div>
<?php endforeach; ?>
<div id="grande-image-organe">
<img src="" alt="Grande image" />
<a class="lien-image-cel" href="">
<img src="" alt="Grande image" />
</a>
</div>
<div id="grande-image-legende">
<div>
58,7 → 61,7
<dt>Localisation</dt><dd id="grande-image-legende-localisation"><br></dd>
<dt>Auteur</dt>
<dd>
<span id="grande-image-legende-auteur"></span>
<a id="grande-image-legende-auteur" href="" class="mailto"></a>
<a id="grande-image-legende-id-destinataire" href="" class="mailto">(Contacter ...)</a>
</dd>
<dt>Date d'observation</dt><dd id="grande-image-legende-date"><br></dd>
/trunk/presentations/styles/eflore.css
1204,13 → 1204,20
padding-bottom: 5px;
}
 
a.lien-images-organes {
a.lien-images-organes.non-fourni {
opacity: 0.2;
text-decoration: none;
}
a.lien-images-organes.non-fourni:hover {
text-decoration: none;
color: inherit;
}
a.lien-images-organes.fourni {
cursor: pointer;
opacity: 1;
}
a.lien-images-organes.fourni:hover {
}
a.lien-grande-image-organe {
cursor: pointer;
}
/trunk/presentations/scripts/fiche-synthese.js
566,7 → 566,9
var grandeImage = $('#grande-image-organe').find('img'),
source = $(this).find('img').attr('src');
source = source.replace('CRX2S', 'L'); // @FIXME cracra
// chargement image et lien popup
grandeImage.attr('src', source);
grandeImage.parent().attr('href','popup.php?module=popup-illustrations&action=fiche&referentiel=bdtfx&id=' + $(this).data('id-image'));
// métadonnées
var metadonnees = ['id-image', 'titre', 'description', 'localisation', 'auteur'],
clef;
577,6 → 579,7
$('#grande-image-legende-date').html(formaterDateVersFrancais($(this).data('date')));
$('#grande-image-legende-id-destinataire').attr('href', 'http://localhost/eflore/applications/eflore-consultation/popup.php?module=popup-contact&amp;action=form&amp;referentiel=bdtfx&amp;id_destinataire=' +
$(this).data('id-destinataire') + '&amp;id_img=' + $(this).data('id-image'));
$('#grande-image-legende-auteur').attr('href', 'http://tela-botanica.org/profil:' + $(this).data('id-destinataire'));
}
 
// transforme une date du type "2012-04-06" en "06 avril 2012"