Subversion Repositories eFlore/Applications.cel

Rev

Rev 2582 | Rev 2681 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2582 Rev 2584
Line 353... Line 353...
353
 
353
 
354
	private function creerTitreSimple($element) {
354
	private function creerTitreSimple($element) {
355
		$date = $element['date_observation'];
355
		$date = $element['date_observation'];
356
		$date = date("d/m/Y", strtotime($date));
356
		$date = date("d/m/Y", strtotime($date));
357
		if ($this->etreNull($element['nom_sel']) && $this->etreNull($element['nom_sel_nn'])) {
357
		if ($this->etreNull($element['nom_sel']) && $this->etreNull($element['nom_sel_nn'])) {
358
			$titre = "Ajout d'une photo par ".$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date;;
358
			$titre = "Ajout d'une photo par ".$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date;
359
		} else {
359
		} else {
-
 
360
			$titre = $element['nom_sel'].' [nn'.$element['nom_sel_nn'].'] par '.$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date;
-
 
361
		}
-
 
362
		$zoneGeo = $element['zone_geo'];
-
 
363
		if ($zoneGeo) {
360
			$titre = $element['nom_sel'].' [nn'.$element['nom_sel_nn'].'] par '.$this->getIntituleAuteur($element['courriel_utilisateur']).' le '.$date;;
364
			$titre .= " - $zoneGeo";
361
		}
365
		}
362
		return $titre;
366
		return $titre;
Line 363... Line 367...
363
	}
367
	}