spip_nursit/plugins-dist/dist/nursit/oembed/formulaires/configurer_oembed.html
2023-06-01 17:30:12 +02:00

64 lines
No EOL
3.8 KiB
HTML

<!-- presentation=non -->
<!-- nom=oembed -->
<div class="formulaire_spip formulaire_cfg formulaire_configurer formulaire_#FORM">
<h3 class='titrem'><img src="#CHEMIN_IMAGE{oembed-24.png}" class="cadre-icone" /><:oembed:titre_configurer_oembed:></h3>
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
<form method='post' action='#ENV{action}'><div>
#ACTION_FORMULAIRE{#ENV{action}}
<ul>
#SET{fl,oembed}
#SET{name,maxwidth}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer 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" name="#GET{name}" class="text" value="#ENV*{#GET{name},600}" id="#GET{name}"/>
</li>
#SET{name,maxheight}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer 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" name="#GET{name}" class="text" value="#ENV*{#GET{name},400}" id="#GET{name}"/>
</li>
#SET{name,embed_auto}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label for="#GET{name}"><:oembed:label_embed_auto:></label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]<div class="choix">
<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_oui" value="oui"
[(#ENV{#GET{name},oui}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:item_oui:></label>
&nbsp;&nbsp;
<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_non" value="non"
[(#ENV{#GET{name},oui}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:item_non:></label>
</div>
</li>
#SET{name,detecter_lien}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label for="#GET{name}"><:oembed:label_detecter_lien:></label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]<div class="choix">
<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_oui" value="oui"
[(#ENV{#GET{name},non}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:item_oui:></label>
&nbsp;&nbsp;
<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_non" value="non"
[(#ENV{#GET{name},non}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:item_non:></label>
</div>
</li>
#SET{name,inserer_head}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
<label for="#GET{name}"><:oembed:label_inserer_head:></label>[
<span class='erreur_message'>(#GET{erreurs})</span>
]<div class="choix">
<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_oui" value="oui"
[(#ENV{#GET{name},oui}|=={oui}|oui)checked="checked"] /><label for="#GET{name}_oui"><:item_oui:></label>
&nbsp;&nbsp;
<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_non" value="non"
[(#ENV{#GET{name},oui}|=={oui}|non)checked="checked"] /><label for="#GET{name}_non"><:item_non:></label>
</div>
</li>
</ul>
[(#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' value='<:bouton_enregistrer:>' /></p>
</div></form>
</div>