Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 185 Rev 192
Line 1... Line 1...
1
<!-- DEBUT FORM_NIVEAU -->
1
<!-- DEBUT FORM_NIVEAU -->
-
 
2
<script type="text/javascript">
-
 
3
	$(function() {
-
 
4
		$( "#radio" ).buttonset();
-
 
5
	});
-
 
6
	
-
 
7
	$(document).ready(function() {
-
 
8
		$('#eflore_niveau_submit').hide();
-
 
9
		$(".zone-choix-niveau input").click(function() {
-
 
10
			$('#eflore_niveau_submit').click();
-
 
11
		});
-
 
12
	});
-
 
13
</script>
2
<form id="ef-form-niveau" name="ef-form-niveau" action="<?=$url_form;?>" method="get">
14
<form id="ef-form-niveau" name="ef-form-niveau" action="<?=$url_form;?>" method="get">
3
	<fieldset>
15
	<fieldset>
4
		<span class="zone-choix-niveau">
16
		<span id="radio" class="zone-choix-niveau">
Line 5... Line 17...
5
			
17
			
6
			<span class="choix-niveau">
18
			<span class="choix-niveau">
7
				<input id="niveau_1" name="niveau" value="1" type="radio" <?=($niveau == '1') ? 'checked="checked"': '';?> />
19
				<input id="niveau_1" name="niveau" value="1" type="radio" <?=($niveau == '1') ? 'checked="checked"': '';?> />
8
				<label for="niveau_1"><?=$i18n['niveau-1'];?></label>
20
				<label for="niveau_1"><?=$i18n['niveau-1'];?></label>
Line 15... Line 27...
15
				<input id="niveau_3" name="niveau" value="3" type="radio" <?=($niveau == '3') ? 'checked="checked"': '';?> />
27
				<input id="niveau_3" name="niveau" value="3" type="radio" <?=($niveau == '3') ? 'checked="checked"': '';?> />
16
				<label for="niveau_3"><?=$i18n['niveau-3'];?></label>
28
				<label for="niveau_3"><?=$i18n['niveau-3'];?></label>
17
			</span>
29
			</span>
18
		</span>
30
		</span>
19
		<span id="zone-liens-niveau">
31
		<span id="zone-liens-niveau">
20
			<input id="referentiel" name="referentiel" type="hidden" value="<?=$parametres['referentiel'];?>" />
32
			<input id="eflore_niveau_referentiel" name="referentiel" type="hidden" value="<?=$parametres['referentiel'];?>" />
21
			<input id="module" name="module" type="hidden" value="<?=$parametres['module'];?>" />
33
			<input id="eflore_niveau_module" name="module" type="hidden" value="<?=$parametres['module'];?>" />
22
			<input id="action" name="action" type="hidden" value="<?=$parametres['action'];?>" />
34
			<input id="eflore_niveau_action" name="action" type="hidden" value="<?=$parametres['action'];?>" />
23
			<?php if (isset($parametres['nom'])) : ?>
35
			<?php if (isset($parametres['nom'])) : ?>
24
				<input id="nom" name="nom" type="hidden" value="<?=$parametres['nom'];?>" />
36
				<input id="eflore_niveau_nom" name="nom" type="hidden" value="<?=$parametres['nom'];?>" />
25
				<input id="type_nom" name="type_nom" type="hidden" value="<?=$parametres['type_nom'];?>" />
37
				<input id="eflore_niveau_type_nom" name="type_nom" type="hidden" value="<?=$parametres['type_nom'];?>" />
26
			<?php endif; ?>
38
			<?php endif; ?>
27
			<input id="eflore_niveau_submit" name="submit" type="submit" value="<?=$i18n['ok'];?>" class="ok"/>
39
			<input id="eflore_niveau_submit" name="submit" type="submit" value="<?=$i18n['ok'];?>" class="ok"/>
28
		</span>
40
		</span>
29
	</fieldset>
41
	</fieldset>
30
</form>
42
</form>