40,23 → 40,18 |
$this->donnees['nomComplet'] = $infosNomRetenu['nom_complet']; |
$this->getPhotos(); |
$this->getDessin(); |
//$this->getPhotosOrganes(); |
|
$this->getPhotosCaracteresIdentification(); |
$pso = $this->getPhotosSixOrganes(); |
// reconstruction de getPhotosOrganes à partir des données de getPhotosSixOrganes |
/*$this->donnees['organes'] = array(); |
foreach ($pso as $organe => $images) { |
$clefs = array_keys($images); |
$image = $images[$clefs[0]]; |
// changement de format - en dur, cracra ! |
$image['binaire.href'] = str_replace('CRX2S', 'CRS', $image['binaire.href']); |
$this->donnees['organes'][$organe] = $image; |
}*/ |
// -- |
$this->setCheminSquelette('modules/fiche/squelettes/'); // @FIXME le chemin devrait déjà être défini correctement !? |
$params = array('organes' => $pso, 'referentiel' => $this->referentiel, 'nnr' => $this->donnees['nnr'], 'nomComplet' => $this->donnees['nomComplet']); |
$this->donnees['illustrationsOrganes'] = $this->getVue('fiche_illustrations_organes',$params); |
|
// Le framework n'avait pas prévu l'inclusion de sous squelettes dans les modules |
// en attendant, on utilise un chemin complet vers le fichier de squelette |
$chemin_sous_squelette = Config::get('chemin_modules').AppControleur::getNomDossierDepuisClasse('Fiche').DS.Config::get('dossier_squelettes').DS; |
$params = array('organes' => $pso, 'referentiel' => $this->referentiel, |
'nnr' => $this->donnees['nnr'], |
'nomComplet' => $this->donnees['nomComplet']); |
$this->donnees['illustrationsOrganes'] = $this->getVue($chemin_sous_squelette.'fiche_illustrations_organes.tpl.html',$params); |
|
// chemins |
$this->donnees['base_url_widget_saisie'] = Config::get('base_url_widget_saisie'); |
$this->donnees['base_url_del'] = Config::get('base_url_del'); |