35,6 → 35,7 |
'commune' => 'zone_geo', |
'dept' => 'ce_zone_geo', |
'taxon' => 'nom_ret', |
'num_taxon' => 'nt', |
'commentaire' => 'commentaire', |
'date' => 'date_observation', |
'projet' => 'mots-cles'); |
441,7 → 442,7 |
} |
|
private function creerTitre($obs) { |
$date = ($obs['date_observation'] != '0000-00-00 00:00:00') ? 'le '.date("d/m/Y", strtotime($date)) : '' ; |
$date = ($obs['date_observation'] != '0000-00-00 00:00:00') ? 'le '.date("d/m/Y", strtotime($obs['date_observation'])) : '' ; |
$nom_plante = $obs['nom_sel'].' [nn'.$obs['nom_sel_nn'].']'; |
$lieu = $obs['zone_geo'].' ('.$obs['ce_zone_geo'].')'; |
$utilisateur = $this->getIntituleAuteur($obs['courriel_utilisateur']); |
476,7 → 477,7 |
$milieu = $obs['milieu']; |
$coordonnees = ($this->etreNull($obs['latitude']) && $this->etreNull($obs['longitude'])) ? '' : $obs['latitude'].'/'.$obs['longitude']; |
$commentaire = $obs['commentaire']; |
$date_observation = ($date_observation != '0000-00-00 00:00:00') ? $this->formaterDate($obs['date_observation'], '%A %d %B %Y') : ''; |
$date_observation = ($obs['date_observation'] != '0000-00-00 00:00:00') ? $this->formaterDate($obs['date_observation'], '%A %d %B %Y') : ''; |
$date_transmission = $this->formaterDate($obs['date_transmission']); |
$date_modification = $this->formaterDate($obs['date_modification']); |
$date_creation = $this->formaterDate($obs['date_creation']); |