178 |
delphine |
1 |
<!-- DEBUT FORM_NIVEAU -->
|
192 |
delphine |
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>
|
178 |
delphine |
14 |
<form id="ef-form-niveau" name="ef-form-niveau" action="<?=$url_form;?>" method="get">
|
|
|
15 |
<fieldset>
|
192 |
delphine |
16 |
<span id="radio" class="zone-choix-niveau">
|
178 |
delphine |
17 |
|
|
|
18 |
<span class="choix-niveau">
|
|
|
19 |
<input id="niveau_1" name="niveau" value="1" type="radio" <?=($niveau == '1') ? 'checked="checked"': '';?> />
|
|
|
20 |
<label for="niveau_1"><?=$i18n['niveau-1'];?></label>
|
|
|
21 |
</span>
|
|
|
22 |
<span class="choix-niveau">
|
|
|
23 |
<input id="niveau_2" name="niveau" value="2" type="radio" <?=($niveau == '2') ? 'checked="checked"': '';?> />
|
|
|
24 |
<label for="niveau_2"><?=$i18n['niveau-2'];?></label>
|
|
|
25 |
</span>
|
|
|
26 |
<span class="choix-niveau">
|
|
|
27 |
<input id="niveau_3" name="niveau" value="3" type="radio" <?=($niveau == '3') ? 'checked="checked"': '';?> />
|
|
|
28 |
<label for="niveau_3"><?=$i18n['niveau-3'];?></label>
|
|
|
29 |
</span>
|
|
|
30 |
</span>
|
|
|
31 |
<span id="zone-liens-niveau">
|
192 |
delphine |
32 |
<input id="eflore_niveau_referentiel" name="referentiel" type="hidden" value="<?=$parametres['referentiel'];?>" />
|
|
|
33 |
<input id="eflore_niveau_module" name="module" type="hidden" value="<?=$parametres['module'];?>" />
|
|
|
34 |
<input id="eflore_niveau_action" name="action" type="hidden" value="<?=$parametres['action'];?>" />
|
185 |
delphine |
35 |
<?php if (isset($parametres['nom'])) : ?>
|
192 |
delphine |
36 |
<input id="eflore_niveau_nom" name="nom" type="hidden" value="<?=$parametres['nom'];?>" />
|
|
|
37 |
<input id="eflore_niveau_type_nom" name="type_nom" type="hidden" value="<?=$parametres['type_nom'];?>" />
|
185 |
delphine |
38 |
<?php endif; ?>
|
178 |
delphine |
39 |
<input id="eflore_niveau_submit" name="submit" type="submit" value="<?=$i18n['ok'];?>" class="ok"/>
|
|
|
40 |
</span>
|
|
|
41 |
</fieldset>
|
|
|
42 |
</form>
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
<!-- FIN FORM_NOM -->
|