You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

104 lines
5.1 KiB

<div class="ajax">
<table class="spip">
<thead><tr class='row_first'>
<th scope='col'>Pseudo</th>
<th scope='col'>Nombre d'adultes</th>
<th scope='col'>Nombre d'enfants</th>
<th scope='col'>Vendredi</th>
<th scope='col'>Samedi</th>
<th scope='col'>Dimanche</th>
</thead>
<tbody>
<BOUCLE_T(SPIP_TROGLO){tout}>
<tr [class="(#COMPTEUR_BOUCLE|alterner{'row_odd','row_even'})"]>
<td>#PSEUDO</td>
<td>&nbsp;#NBADULTES</td>
<td>&nbsp;#NBENFANTS</td>
<td><input type="checkbox" disable="disable" class="checkbox" name="#ID_TROGLO" id="#ID_TROGLO" [(#VENDREDI|oui)checked="checked"]/></td>
<td><input type="checkbox" disable="disable" class="checkbox" name="#ID_TROGLO" id="#ID_TROGLO" [(#SAMEDI|oui)checked="checked"]/></td>
<td><input type="checkbox" disable="disable" class="checkbox" name="#ID_TROGLO" id="#ID_TROGLO" [(#DIMANCHE|oui)checked="checked"]/></td>
</tr>
</BOUCLE_T>
</tbody>
</table>
<div class=" formulaire_spip formulaire_configurer formulaire_#FORM formulaire_#FORM-#ENV{id,nouveau}">
<h3 class="titrem">10 ans de SPIP en fanfare</h3>
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
[(#ENV{editable})
<form method='post' action='#ENV{action}'><div>
[(#REM) declarer les hidden qui declencheront le service du formulaire
parametre : url d'action ]
#ACTION_FORMULAIRE{#ENV{action}}
#SET{fl,troglo}
<fieldset>
<legend><:troglo:legend:></legend>
<ul>
#SET{name,email}#SET{obli,'obligatoire'}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label for="#GET{name}">[(#GET{fl}|concat{':label_',#GET{name}}|_T)]</label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]<input type="text" class="text" name="#GET{name}" value="#ENV*{#GET{name}}" id="#GET{name}"/>
</li>
#SET{name,pseudo}#SET{obli,'obligatoire'}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label for="#GET{name}">[(#GET{fl}|concat{':label_',#GET{name}}|_T)]</label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]<input type="text" class="text" name="#GET{name}" value="#ENV*{#GET{name}}" id="#GET{name}"/>
</li>
#SET{name,nbadultes}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label for="#GET{name}">[(#GET{fl}|concat{':label_',#GET{name}}|_T)]</label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]<input type="text" class="text" name="#GET{name}" value="#ENV*{#GET{name}}" id="#GET{name}"/>
</li>
#SET{name,nbenfants}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label for="#GET{name}">[(#GET{fl}|concat{':label_',#GET{name}}|_T)]</label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]<input type="text" class="text" name="#GET{name}" value="#ENV*{#GET{name}}" id="#GET{name}"/>
</li>
#SET{name,jour}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label>[(#GET{fl}|concat{':label_',#GET{name}}|_T)]</label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]
#SET{val,vendredi}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}#EVAL{chr(91)}#EVAL{chr(93)}" id="#GET{name}_#GET{val}" value="#GET{val}"[(#GET{val}|in_any{#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}">[(#GET{fl}|concat{':label_',#GET{name},'_',#GET{val}}|_T)]</label>
</div>
#SET{val,samedi}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}#EVAL{chr(91)}#EVAL{chr(93)}" id="#GET{name}_#GET{val}" value="#GET{val}"[(#GET{val}|in_any{#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}">[(#GET{fl}|concat{':label_',#GET{name},'_',#GET{val}}|_T)]</label>
</div>
#SET{val,dimanche}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}#EVAL{chr(91)}#EVAL{chr(93)}" id="#GET{name}_#GET{val}" value="#GET{val}"[(#GET{val}|in_any{#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}">[(#GET{fl}|concat{':label_',#GET{name},'_',#GET{val}}|_T)]</label>
</div>
</li>
</ul>
</fieldset>
[(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
<!--extra-->
<p class='boutons'><span class='image_loading'>&nbsp;</span>
<input type='submit' class='submit' name="cancel" value='<:bouton_annuler:>' />
<input type='submit' class='submit' value='<:bouton_enregistrer:>' /></p>
</div></form>
]
[(#ENV{editable}|non)
<p class='boutons'><span class='image_loading'>&nbsp;</span>
<input type='submit' class='submit' name="cancel" value='<:bouton_fermer:>' onclick="$.modalboxclose();return false;" />
]
</div>
</div>