1 <div class=
"formulaire_spip formulaire_editer formulaire_#ENV{form}[ formulaire_#ENV{form}-(#ENV{id,nouveau})]">
2 [
<p class=
"reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})
</p>]
3 [
<p class=
"reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})
</p>]
6 <form method=
"post" action=
"#ENV{action}" enctype=
"multipart/form-data"><div>
7 [(#REM) declarer les hidden qui declencheront le service du formulaire
8 parametre : url d'action ]
9 #ACTION_FORMULAIRE{#ENV{action}}
12 #GENERER_SAISIES{#ENV{_configurer_traitements}}
15 [(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
18 <p class=
"boutons"><span class=
"image_loading"></span><input type=
"submit" class=
"submit" value=
"<:bouton_enregistrer:>" /></p>
20 <script type=
"text/javascript">
22 // On commence par cacher toutes les options
23 jQuery('.options_traiter,.suite').hide()
26 var check = jQuery(me).prev().find('input.checkbox');
27 check.bind('change',function(){
28 if (check.is(':checked')){
29 jQuery(me).show('fast');
30 check.closest('.editer').addClass('hover');
33 jQuery(me).hide('fast');
34 check.closest('.editer').removeClass('hover');
44 .options_traiter {margin-left:
50px;border-bottom:
1px solid #ddd;}
45 .suite {margin-left:
50px;}
46 input.checkbox+label {font-weight: normal;}
47 input.checkbox+label strong {font-weight: normal;}
48 input.checkbox:checked+label {font-weight: bold;}
49 input.checkbox:checked+label strong {font-weight: bold;}
50 input.radio+label {font-weight: normal;}
51 input.radio+label strong {font-weight: normal;}
52 input.radio:checked+label {font-weight: bold;}
53 input.radio:checked+label strong {font-weight: bold;}