Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 394 Rev 409
Line 36... Line 36...
36
		$donnees['wikini'] = $this->getWikini();
36
		$donnees['wikini'] = $this->getWikini();
37
		return $donnees;
37
		return $donnees;
38
	}
38
	}
Line 39... Line 39...
39
 
39
 
40
	public function getBloc() {
40
	public function getBloc() {
41
		$this->textes->setProjet('wikipedia');
41
		$donnees = $this->getCoste();
42
		$this->textes->setId($this->getIdWp());
42
		if ($donnees['description'] == 'n') {
-
 
43
			$donnees = $this->getWikini();
43
		$this->textes->setSectionTitre('Description');
44
		}
44
		$texte = $this->textes->getTexte();
45
		if ($donnees['description'] == '') {
-
 
46
			$donnees['description'] = 'Participez à la rédaction collaborative de cette description';
45
		$donnees['texte'] = $texte['texte'];
47
		}
46
		return $donnees;
48
		return $donnees;
Line 47... Line 49...
47
	}
49
	}
48
 
50