138,8 → 138,9 |
} |
|
$json = $this->getDao()->consulter( $url ); |
$retour['donnees']['widget'] = (array) json_decode( $json, true ); |
$retour['donnees']['widgetUrlTpl'] = $this->config['manager']['widgetUrlTpl']; |
$retour['donnees']['widget'] = (array) json_decode( $json, true ); |
$retour['donnees']['widgetUrlTpl'] = $this->config['manager']['widgetUrlTpl']; |
$retour['donnees']['chemin_images'] = sprintf( $this->config['chemins']['baseURLAbsoluDyn'], $this->config['manager']['dossierTmp'] ); |
|
return $retour; |
} |
220,7 → 221,6 |
|
private function traiterDonneesFiles() { |
$return = array(); |
$dossier_url = __DIR__ . '/squelettes/img/images_projets/' . $_POST['projet'] . '/'; |
$transmettre_donnees = false; |
$files_names = array(); |
$help_files_names = array(); |
229,6 → 229,8 |
"L\'extention de l\'image pour " . $nom . " n\'est pas bonne". |
", formats acceptés : png, gif, jpg, jpeg, ou csv.". |
"</div>"; |
$image_projet_langue = ( $this->parametres['langue'] !== 'fr' ) ? '_' . $this->parametres['langue'] : ''; |
$dossier_url = __DIR__ . '/squelettes/img/images_projets/' . $_POST['projet'] . $image_projet_langue . '/'; |
|
foreach ( array_keys( $_FILES ) as $file ) { |
|