Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 409 Rev 412
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() {
-
 
41
		$donnees = $this->getCoste();
40
	public function getBloc() {
42
		if ($donnees['description'] == 'n') {
41
		$donnees['titre'] = "Description de Coste";
43
			$donnees = $this->getWikini();
-
 
44
		}
42
		$description = $this->getCoste();
45
		if ($donnees['description'] == '') {
43
		if ($description['description'] == 'n') {
-
 
44
			$donnees['titre'] = "Description collaborative";
46
			$donnees['description'] = 'Participez à la rédaction collaborative de cette description';
45
			$description = $this->getWikini();
-
 
46
		}
47
		}
47
		$donnees['description'] = $description['description'];
48
		return $donnees;
48
		return $donnees;
Line 49... Line 49...
49
	}
49
	}
50
 
50