<form id="geolocation_form" class="page" action="<?php echo $tpl['current_url']; ?>" method="post">
	<fieldset>
		<legend><?php echo __('Géolocalisation'); ?></legend>
		<br>
		<div id="geolocation_container">
			<div id="geolocation_map">
				<div id="geolocation_worldmap"
					data-layer="<?php echo $tpl['geolocation']['layer']; ?>"
					data-lat="<?php echo $tpl['item']['geolocation']['latitude_map']; ?>"
					data-long="<?php echo $tpl['item']['geolocation']['longitude_map']; ?>"
					data-marker="<?php echo $tpl['item']['geolocation']['marker']; ?>"
					data-zoom="<?php echo $tpl['geolocation']['zoom']; ?>"
				>
				</div>
				<span id="geolocation_marker" class="icon icon_marker_add"><a class="js" href="javascript:;"><?php echo __('Ajouter le marqueur'); ?></a></span>
			</div>
			<div id="geolocation_fields">
				<p class="field">
					<label for="geolocation_latitude"><?php echo __('Latitude :'); ?></label>
					<input class="large" name="<?php echo $tpl['item']['id']; ?>[latitude]" size="40" maxlength="99" id="geolocation_latitude" type="text" value="<?php echo $tpl['item']['geolocation']['latitude']; ?>">
				</p>
				<p class="field">
					<label for="geolocation_longitude"><?php echo __('Longitude :'); ?></label>
					<input class="large" name="<?php echo $tpl['item']['id']; ?>[longitude]" size="40" maxlength="99" id="geolocation_longitude" type="text" value="<?php echo $tpl['item']['geolocation']['longitude']; ?>">
				</p>
				<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
				<input class="submit" name="save" type="submit" value="<?php echo __('Enregistrer'); ?>">
			</div>
		</div>
	</fieldset>
</form>
<script nonce="<?php echo CSP_NONCE; ?>" type="text/javascript">
var text_marker_add = "<?php echo $tpl['php2js'](__('Ajouter le marqueur')); ?>";
var text_marker_delete = "<?php echo $tpl['php2js'](__('Supprimer le marqueur')); ?>";
</script>