355,10 → 355,14 |
$date = $element['date_observation']; |
$date = date("d/m/Y", strtotime($date)); |
if ($this->etreNull($element['nom_sel']) && $this->etreNull($element['nom_sel_nn'])) { |
$titre = "Ajout d'une photo par ".$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date;; |
$titre = "Ajout d'une photo par ".$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date; |
} else { |
$titre = $element['nom_sel'].' [nn'.$element['nom_sel_nn'].'] par '.$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date;; |
$titre = $element['nom_sel'].' [nn'.$element['nom_sel_nn'].'] par '.$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date; |
} |
$zoneGeo = $element['zone_geo']; |
if ($zoneGeo) { |
$titre .= " - $zoneGeo"; |
} |
return $titre; |
} |
|