Subversion Repositories eFlore/Applications.del

Rev

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

Rev 992 Rev 993
Line 52... Line 52...
52
		$widget['donnees']['votes_js'] = $this->convertirTableauVotesEnJs($donnees['commentaires']);
52
		$widget['donnees']['votes_js'] = $this->convertirTableauVotesEnJs($donnees['commentaires']);
53
		$widget['donnees']['url_service_votes'] = $this->del_url_service_tpl.'observations/'.$this->id_observation;
53
		$widget['donnees']['url_service_votes'] = $this->del_url_service_tpl.'observations/'.$this->id_observation;
54
		$widget['donnees']['url_service_utilisateurs'] = $this->del_url_service_tpl.'utilisateurs/';
54
		$widget['donnees']['url_service_utilisateurs'] = $this->del_url_service_tpl.'utilisateurs/';
55
		$widget['donnees']['urls_navigation'] = $this->construireUrlsSuivantesEtPrecedentes($ids_observations);
55
		$widget['donnees']['urls_navigation'] = $this->construireUrlsSuivantesEtPrecedentes($ids_observations);
Line -... Line 56...
-
 
56
		
-
 
57
		if (isset($this->parametres['mode']) && $this->parametres['mode'] == 'ajax') {
-
 
58
			$squelette = dirname(__FILE__).self::DS.'squelettes'.self::DS.'vote_ajax.tpl.html';
56
		
59
		} else {
-
 
60
			$squelette = dirname(__FILE__).self::DS.'squelettes'.self::DS.'vote.tpl.html';
-
 
61
		}
57
		$squelette = dirname(__FILE__).self::DS.'squelettes'.self::DS.'vote.tpl.html';
62
		
Line 58... Line 63...
58
		$contenu = $this->traiterSquelettePhp($squelette, $widget['donnees']);
63
		$contenu = $this->traiterSquelettePhp($squelette, $widget['donnees']);
59
		
64