Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 940 Rev 1091
Line 27... Line 27...
27
 * @license	GPL v3 <http://www.gnu.org/licenses/gpl.txt>
27
 * @license	GPL v3 <http://www.gnu.org/licenses/gpl.txt>
28
 * @license	CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
28
 * @license	CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
29
 * @version	$Id$
29
 * @version	$Id$
30
 * @copyright	Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)
30
 * @copyright	Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)
31
 */
31
 */
32
class Carto extends WidgetCommun {
32
class Cartopoint extends WidgetCommun {
33
	const DS = DIRECTORY_SEPARATOR;
33
	const DS = DIRECTORY_SEPARATOR;
34
	const SERVICE_CARTO_NOM = 'CelWidgetMap';
34
	const SERVICE_CARTO_NOM = 'CelWidgetMapPoint';
35
	const SERVICE_CARTO_ACTION_DEFAUT = 'carte-defaut';
35
	const SERVICE_CARTO_ACTION_DEFAUT = 'carte-defaut';
Line 36... Line 36...
36
	
36
	
37
	private $carte = null;
37
	private $carte = null;
38
	private $utilisateur = null;
38
	private $utilisateur = null;
Line 102... Line 102...
102
		$widget['donnees']['num_taxon'] = $this->num_taxon;
102
		$widget['donnees']['num_taxon'] = $this->num_taxon;
103
		$widget['donnees']['date'] = $this->date;
103
		$widget['donnees']['date'] = $this->date;
104
		$widget['donnees']['taxon'] = $this->taxon;
104
		$widget['donnees']['taxon'] = $this->taxon;
105
		$widget['donnees']['commentaire'] = $this->commentaire;
105
		$widget['donnees']['commentaire'] = $this->commentaire;
106
		$widget['donnees']['url_limites_communales'] = $this->obtenirUrlsLimitesCommunales();
106
		$widget['donnees']['url_limites_communales'] = $this->obtenirUrlsLimitesCommunales();
-
 
107
		$widget['donnees']['communeImageUrl'] = $this->config['carto']['communeImageUrl'];
-
 
108
		$widget['donnees']['pointImageUrl'] = $this->config['carto']['pointImageUrl'];
-
 
109
		$widget['donnees']['groupeImageUrlTpl'] = $this->config['carto']['groupeImageUrlTpl'];
Line 107... Line 110...
107
		
110
		
Line 108... Line 111...
108
		$widget['squelette'] = 'carte_defaut';
111
		$widget['squelette'] = 'carte_defaut';
109
		
112
		
Line 190... Line 193...
190
		$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
193
		$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
191
		$widget['squelette'] = 'avertissement';
194
		$widget['squelette'] = 'avertissement';
Line 192... Line 195...
192
		
195
		
193
		return $widget;
196
		return $widget;
194
	}
-
 
195
}
197
	}
-
 
198
}
-
 
199
?>
196
200