Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 198 | Rev 577 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
178 delphine 1
<!-- DEBUT FORM_NIVEAU -->
192 delphine 2
<script type="text/javascript">
198 delphine 3
	$(document).ready(function() {
192 delphine 4
		$( "#radio" ).buttonset();
5
		$('#eflore_niveau_submit').hide();
6
		$(".zone-choix-niveau input").click(function() {
7
			$('#eflore_niveau_submit').click();
8
		});
9
	});
10
</script>
178 delphine 11
<form id="ef-form-niveau" name="ef-form-niveau" action="<?=$url_form;?>" method="get">
12
	<fieldset>
192 delphine 13
		<span id="radio" class="zone-choix-niveau">
178 delphine 14
 
15
			<span class="choix-niveau">
16
				<input id="niveau_1" name="niveau" value="1" type="radio" <?=($niveau == '1') ? 'checked="checked"': '';?> />
17
				<label for="niveau_1"><?=$i18n['niveau-1'];?></label>
18
			</span>
19
			<span class="choix-niveau">
20
				<input id="niveau_2" name="niveau" value="2" type="radio" <?=($niveau == '2') ? 'checked="checked"': '';?> />
21
				<label for="niveau_2"><?=$i18n['niveau-2'];?></label>
22
			</span>
23
			<span class="choix-niveau">
24
				<input id="niveau_3" name="niveau" value="3" type="radio" <?=($niveau == '3') ? 'checked="checked"': '';?> />
25
				<label for="niveau_3"><?=$i18n['niveau-3'];?></label>
26
			</span>
27
		</span>
28
		<span id="zone-liens-niveau">
250 delphine 29
			<?php foreach ($parametres as $nom => $valeur) : ?>
30
				<input id="eflore_niveau_<?=$nom;?>" name="<?=$nom;?>" type="hidden" value="<?=$valeur;?>" />
31
			<?php endforeach; ?>
178 delphine 32
			<input id="eflore_niveau_submit" name="submit" type="submit" value="<?=$i18n['ok'];?>" class="ok"/>
33
		</span>
34
	</fieldset>
35
</form>
36
 
37
 
38
 
39
<!-- FIN FORM_NOM -->