Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1338 Rev 1361
Line 439... Line 439...
439
		$item['modifier_par'] = $observation['id_observation'];
439
		$item['modifier_par'] = $observation['id_observation'];
440
		return $item;
440
		return $item;
441
	}
441
	}
Line 442... Line 442...
442
 
442
 
-
 
443
	private function creerTitre($obs) {
-
 
444
		$date = $obs['date_observation'];
443
	private function creerTitre($obs) {
445
		$date = date("d/m/Y", strtotime($date));
444
		$nom_plante = $obs['nom_sel'].' [nn'.$obs['nom_sel_nn'].']';
446
		$nom_plante = $obs['nom_sel'].' [nn'.$obs['nom_sel_nn'].']';
445
		$lieu = $obs['zone_geo'].' ('.$obs['ce_zone_geo'].')';
447
		$lieu = $obs['zone_geo'].' ('.$obs['ce_zone_geo'].')';
446
		$utilisateur = $this->getIntituleAuteur($obs['courriel_utilisateur']);;
448
		$utilisateur = $this->getIntituleAuteur($obs['courriel_utilisateur']);
447
		$titre = "$nom_plante à $lieu par $utilisateur";
449
		$titre = "$nom_plante à $lieu par $utilisateur le $date";
448
		$titre = $this->nettoyerTexte($titre);
450
		$titre = $this->nettoyerTexte($titre);
449
		return $titre;
451
		return $titre;
Line 450... Line 452...
450
	}
452
	}