/trunk/modules/fiche/formateurs/Description.php |
---|
38,11 → 38,13 |
} |
public function getBloc() { |
$this->textes->setProjet('wikipedia'); |
$this->textes->setId($this->getIdWp()); |
$this->textes->setSectionTitre('Description'); |
$texte = $this->textes->getTexte(); |
$donnees['texte'] = $texte['texte']; |
$donnees = $this->getCoste(); |
if ($donnees['description'] == 'n') { |
$donnees = $this->getWikini(); |
} |
if ($donnees['description'] == '') { |
$donnees['description'] = 'Participez à la rédaction collaborative de cette description'; |
} |
return $donnees; |
} |