Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 192 | Rev 250 | 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">
192 delphine 29
			<input id="eflore_niveau_referentiel" name="referentiel" type="hidden" value="<?=$parametres['referentiel'];?>" />
30
			<input id="eflore_niveau_module" name="module" type="hidden" value="<?=$parametres['module'];?>" />
31
			<input id="eflore_niveau_action" name="action" type="hidden" value="<?=$parametres['action'];?>" />
185 delphine 32
			<?php if (isset($parametres['nom'])) : ?>
192 delphine 33
				<input id="eflore_niveau_nom" name="nom" type="hidden" value="<?=$parametres['nom'];?>" />
34
				<input id="eflore_niveau_type_nom" name="type_nom" type="hidden" value="<?=$parametres['type_nom'];?>" />
185 delphine 35
			<?php endif; ?>
178 delphine 36
			<input id="eflore_niveau_submit" name="submit" type="submit" value="<?=$i18n['ok'];?>" class="ok"/>
37
		</span>
38
	</fieldset>
39
</form>
40
 
41
 
42
 
43
<!-- FIN FORM_NOM -->