Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1382 → Rev 1383

/trunk/modules/fiche/formateurs/Illustrations.php
102,7 → 102,7
//TODO: factoriser les deux fonctions ci dessous et ci dessus
public function obtenirTranchesCelTpl($projet) {
// On ne prend que la tranche des images (10)
// On ne prend que la tranche des images (12)
$images = $this->initialiserTranchePhotos($projet);
$this->formaterListePhotos($projet, $images);
$this->formaterMetaPhotos($projet);
274,7 → 274,7
private function initialiserTranchePhotos($projet) {
$this->images->setProjet($projet);
$nnr = $this->nomCourant->getNnr();
$ret = $this->images->getInfosTrancheImagesParIdsNoms(array($nnr));
$ret = $this->images->getInfosTrancheImagesParIdsNoms(array($nnr), Config::get('nbTrancheImagesResultatsDeterminationAffichees'));
return $ret;
}
/trunk/modules/fiche/squelettes/fiche_illustrations.tpl.html
145,7 → 145,7
<!-- sous-squelette -->
<?= $cel['illustrationsCel'] ?>
<br/>
<span>Seules les 10 premières images sont affichées : </span>
<span>Seules les <?= Config::get('nbTrancheImagesResultatsDeterminationAffichees') ?> premières images sont affichées : </span>
<a href="<?= $cel['ajax_url']; ?>">
Cliquez ici pour charger toutes les illustrations disponibles pour ce taxon
</a>