Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 1131 Rev 1142
Line 21... Line 21...
21
 * @license		CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt>
21
 * @license		CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt>
22
 * @license		GNU-GPL <http://www.gnu.org/licenses/gpl.html>
22
 * @license		GNU-GPL <http://www.gnu.org/licenses/gpl.html>
23
 */
23
 */
24
class ZoneADmin {
24
class ZoneADmin {
Line 25... Line 25...
25
 
25
 
26
	const PATTERN_LAT = '/^[0-9]+(?:[.][0-9]+|)$/';
26
	const PATTERN_LAT = '/^[-]?[0-9]+(?:[.][0-9]+|)$/';
27
	const PATTERN_LON = '/^[-]?[0-9]+(?:[.][0-9]+|)$/';
27
	const PATTERN_LON = '/^[-]?[0-9]+(?:[.][0-9]+|)$/';
Line 28... Line 28...
28
	const MIME_JSON = 'application/json';
28
	const MIME_JSON = 'application/json';
29
 
29