mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
61 lines
No EOL
3.6 KiB
HTML
61 lines
No EOL
3.6 KiB
HTML
<div class="formulaire_spip formulaire_configurer formulaire_#FORM formulaire_#FORM-#ENV{id,nouveau}">
|
|
<h3 class='titrem'><img src="#CHEMIN_IMAGE{mot-24.png}" class="cadre-icone" /><:mots:info_mots_cles:></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})
|
|
<p><:mots:texte_mots_cles:></p>
|
|
<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}}
|
|
<ul>
|
|
#SET{name,articles_mots}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
|
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
|
|
<label><:mots:info_question_mots_cles:></label>[
|
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
|
]<div class="choix">
|
|
<input type="radio" name="#GET{name}" id="#GET{name}_oui" value="oui"
|
|
onchange="if ($(this).prop('checked')) $('li.editer_articles_mots').siblings('li').show('fast');"
|
|
[(#ENV{#GET{name}}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:mots:item_utiliser_mots_cles:></label>
|
|
</div>
|
|
<div class="choix">
|
|
<input type="radio" name="#GET{name}" id="#GET{name}_non" value="non"
|
|
onchange="if ($(this).prop('checked')) $('li.editer_articles_mots').siblings('li').hide('fast');"
|
|
[(#ENV{#GET{name}}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:mots:item_non_utiliser_mots_cles:></label>
|
|
</div>
|
|
</li>
|
|
#SET{name,config_precise_groupes}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
|
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"[(#ENV{articles_mots}|=={oui}|non)style="display:none;"]>
|
|
<label><:mots:titre_config_groupe_mots_cles:></label>[
|
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
|
]<p class="explication"><:mots:texte_config_groupe_mots_cles:></p>
|
|
<div class="choix">
|
|
<input type="radio" name="#GET{name}" id="#GET{name}_oui" value="oui"
|
|
[(#ENV{#GET{name}}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:mots:item_utiliser_config_groupe_mots_cles:></label>
|
|
</div>
|
|
<div class="choix">
|
|
<input type="radio" name="#GET{name}" id="#GET{name}_non" value="non"
|
|
[(#ENV{#GET{name}}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:mots:item_non_utiliser_config_groupe_mots_cles:></label>
|
|
</div>
|
|
</li>
|
|
#SET{name,mots_cles_forums}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
|
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"[(#ENV{articles_mots}|=={oui}|non)style="display:none;"]>
|
|
<label><:mots:titre_mots_cles_dans_forum:></label>[
|
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
|
]<p class="explication"><:mots:texte_mots_cles_dans_forum:></p>
|
|
<div class="choix">
|
|
<input type="radio" name="#GET{name}" id="#GET{name}_oui" value="oui"
|
|
[(#ENV{#GET{name}}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:mots:item_ajout_mots_cles:></label>
|
|
</div>
|
|
<div class="choix">
|
|
<input type="radio" name="#GET{name}" id="#GET{name}_non" value="non"
|
|
[(#ENV{#GET{name}}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:mots:item_non_ajout_mots_cles:></label>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
[(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
|
|
<!--extra-->
|
|
<p class='boutons'><span class='image_loading'> </span><input type='submit' class='submit' value='<:bouton_enregistrer:>' /></p>
|
|
</div></form>
|
|
]
|
|
</div> |