Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1318 → Rev 1319

/branches/v1.5-cisaille/jrest/services/CelSyndicationImage.php
343,10 → 343,12
}
 
private function creerTitreSimple($element) {
$date_obs_timestamp = $this->convertirDateHeureMysqlEnTimestamp($info['date_observation']);
$date = strftime('%A %d %B %Y', $date_obs_timestamp);
if ($this->etreNull($element['nom_sel']) && $this->etreNull($element['num_nom_sel'])) {
$titre = "Ajout d'une photo par ".$this->auteurs[$element['ci_ce_utilisateur']];
$titre = "Ajout d'une photo par ".$this->auteurs[$element['ci_ce_utilisateur']].' le '.$date;
} else {
$titre = $element['nom_sel'].' [nn'.$element['num_nom_sel'].'] par '.$this->auteurs[$element['ci_ce_utilisateur']];
$titre = $element['nom_sel'].' [nn'.$element['num_nom_sel'].'] par '.$this->auteurs[$element['ci_ce_utilisateur']].' le '.$date;
}
return $titre;
}