/trunk/metier/api_0.1/Images.php |
---|
13,7 → 13,7 |
* @version $Id$ |
*/ |
class Images extends Eflore { |
public function getUrlsImagesParIdsNoms(Array $idsNoms) { |
$infosImages = $this->getInfosImagesParIdsNoms($idsNoms); |
$urls = array(); |
/trunk/modules/fiche/formateurs/Illustrations.php |
---|
47,9 → 47,8 |
$cel = array(); |
$this->images->setProjet('cel'); |
$nns = $this->nomCourant->getNns(); |
$urls = $this->images->getUrlsImagesParIdsNoms(array($nns)); |
$cel['imagesUrl'] = $urls["bdtfx.$nns"]; |
$images = $this->images->getInfosImagesParIdsNoms(array($nns)); |
$cel['images'] = $images['resultats']; |
$cel['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('cel'); |
return $cel; |
} |
/trunk/presentations/scripts/fiche-synthese.js |
---|
254,6 → 254,7 |
var url = ui.tab.href; |
// le fragment suivant le # dans l'url contient l'id de l'onglet |
var fragmentsAncre = url.split('#'); |
fancyboxinitialise = false; |
if (fragmentsAncre.length > 0) { |
var ancre = fragmentsAncre[fragmentsAncre.length - 1]; |
345,7 → 346,9 |
$(this).attr("title",$(this).children("a").text()); |
}); |
} |
var fancyboxinitialise = false; |
//Initialisation |
$(document).ready(function() { |
380,6 → 383,15 |
}); |
}); |
$('.illustration_taxon').live('click',function(event) { |
if(!fancyboxinitialise) { |
event.preventDefault(); |
$('.illustration_taxon').fancybox(); |
fancyboxinitialise = true; |
$(this).click(); |
} |
}); |
creerMenuOngletsFermes(); |
afficherOngletsPourNiveau(); |
ajouterTitreSurvolOnglets(); |
/trunk/presentations/styles/eflore.css |
---|
692,3 → 692,12 |
padding: 20px 20px 20px 50px; |
width: 555px; |
} |
.conteneur_illustrations_cel { |
width: 250px; |
} |
.conteneur_metadonnees_cel { |
width: 250px; |
padding-top : 20px; |
} |