Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2869 Rev 2906
Line 27... Line 27...
27
	const WS_OBS = 'CelObs';
27
	const WS_OBS = 'CelObs';
28
	const WS_NOM = 'noms';
28
	const WS_NOM = 'noms';
29
	const EFLORE_API_VERSION = '0.1';
29
	const EFLORE_API_VERSION = '0.1';
30
	const REFERENTIEL_DEFAUT = 'bdtfx';
30
	const REFERENTIEL_DEFAUT = 'bdtfx';
Line 31... Line 31...
31
 
31
 
32
	/** référentiel utilisé pour al complétion des noms scientifiques */
32
	/** référentiel utilisé pour la complétion des noms scientifiques */
33
	protected $ns_referentiel;
33
	protected $ns_referentiel;
34
	/** mot-clé associé aux saisies, et template personnalisé si appliquable */
34
	/** mot-clé associé aux saisies, et template personnalisé si appliquable */
35
	protected $projet = null;
35
	protected $projet = null;
36
	protected $configProjet = null;
36
	protected $configProjet = null;
Line 145... Line 145...
145
 
145
 
146
		$widget['donnees']['logo'] = $this->getLogoPage();
146
		$widget['donnees']['logo'] = $this->getLogoPage();
147
		$widget['donnees']['titre'] = $this->getTitrePage();
147
		$widget['donnees']['titre'] = $this->getTitrePage();
Line -... Line 148...
-
 
148
		$widget['donnees']['nom_mission'] = $this->getNomMissionFlore();
148
		$widget['donnees']['nom_mission'] = $this->getNomMissionFlore();
149
 
149
 
150
		$widget['donnees']['zone_geo'] = $this->getZoneGeo();
150
		$widget['donnees']['referentiel_impose'] = $this->getReferentielImpose();
151
		$widget['donnees']['referentiel_impose'] = $this->getReferentielImpose();
151
		$widget['donnees']['espece_imposee'] = false;
152
		$widget['donnees']['espece_imposee'] = false;
152
		$widget['donnees']['nn_espece_defaut'] = '';
153
		$widget['donnees']['nn_espece_defaut'] = '';
Line 222... Line 223...
222
		if (isset($_GET['logo'])) {
223
		if (isset($_GET['logo'])) {
223
			$logo = $_GET['logo'];
224
			$logo = $_GET['logo'];
224
		}
225
		}
225
		return $logo;
226
		return $logo;
226
	}
227
	}
-
 
228
	
-
 
229
	protected function getZoneGeo() {
-
 
230
		$zone_geo = null;
-
 
231
		if (isset($_GET['zone_geo'])) {
-
 
232
			$zone_geo = $_GET['zone_geo'];
-
 
233
		}
-
 
234
		return $zone_geo;
-
 
235
	}
Line 227... Line 236...
227
 
236
 
228
	protected function getReferentielImpose() {
237
	protected function getReferentielImpose() {
229
		$referentiel_impose = true;
238
		$referentiel_impose = true;
230
		if (!empty($_GET['referentiel']) && $_GET['referentiel'] != "autre") {
239
		if (!empty($_GET['referentiel']) && $_GET['referentiel'] != "autre") {
Line 466... Line 475...
466
			}
475
			}
467
			$tableauJs = implode(',', $dimensions);
476
			$tableauJs = implode(',', $dimensions);
468
		}
477
		}
469
		return $tableauJs;
478
		return $tableauJs;
470
	}
479
	}
471
}
-
 
472
480
}
-
 
481