Line 92... |
Line 92... |
92 |
$verna = isset($donnees['ethnobotanique']['nomsVerna']) && count($donnees['ethnobotanique']['nomsVerna']) ? $donnees['ethnobotanique']['nomsVerna'][0]['nom_vernaculaire'] : "";
|
92 |
$verna = isset($donnees['ethnobotanique']['nomsVerna']) && count($donnees['ethnobotanique']['nomsVerna']) ? $donnees['ethnobotanique']['nomsVerna'][0]['nom_vernaculaire'] : "";
|
Line 93... |
Line 93... |
93 |
|
93 |
|
94 |
// titre, description et tag de la page
|
94 |
// titre, description et tag de la page
|
95 |
$this->setSortie('titre', $this->nom_retenu->get('nom_sci'));
|
95 |
$this->setSortie('titre', $this->nom_retenu->get('nom_sci'));
|
96 |
// ( <meta name="description" ...> )
|
96 |
// ( <meta name="description" ...> )
|
Line 97... |
Line 97... |
97 |
$this->setSortie('description', sprintf("Fiche descriptive de %s %s (%s)", $this->nom_retenu->get('nom_sci'), $verna ? ('/ ' . $verna) : '', $donnees['description']['titre']));
|
97 |
$this->setSortie('description', sprintf("Fiche descriptive de %s %s (%s)", $this->nom_retenu->get('nom_sci'), $verna ? ('/ ' . $verna) : '', isset($donnees['description']['titre']) ? $donnees['description']['titre'] : ''));
|
98 |
|
98 |
|
Line 99... |
Line 99... |
99 |
$this->setSortie('tags', $this->nom_retenu->get('nom_sci').",".$verna.
|
99 |
$this->setSortie('tags', $this->nom_retenu->get('nom_sci').",".$verna.
|