1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00
spip_ynh/sources/plugins-dist/sites/formulaires/site.html
2015-04-28 17:10:23 +02:00

36 lines
1.9 KiB
HTML

<div class="formulaire_spip formulaire_site ajax" id="formulaire_site">
[<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}">
#ACTION_FORMULAIRE{#ENV{action}}
<fieldset>
<legend><:info_site:></legend>
<p class='explication'><:proposer_site:></p>
<ul>
<li class='editer saisie_nom_site obligatoire[ (#ENV*{erreurs}|table_valeur{nom_site}|oui)erreur]'>
<label for="nom_site"><:sites:form_prop_nom_site:> <:info_obligatoire_02:></label>
[<span class="erreur_message">(#ENV*{erreurs}|table_valeur{nom_site})</span>]
<input type="text" class="text" name="nom_site" id="nom_site" value="#ENV{nom_site}" size="30"[(#HTML5) required="required"] />
</li>
<li class='editer saisie_url_site obligatoire[ (#ENV*{erreurs}|table_valeur{url_site}|oui)erreur]'>
<label for="url_site"><:form_prop_url_site:> <:info_obligatoire_02:></label>
[<span class="erreur_message">(#ENV*{erreurs}|table_valeur{url_site})</span>]
<input[ (#HTML5|?{type="url" class="text url",type="text" class="text"})] name="url_site" id="url_site" value="#ENV{url_site}" size="30" />
</li>
<li class='editer saisie_description_site[ (#ENV*{erreurs}|table_valeur{description_site}|oui)erreur]'>
<label for="description_site"><:form_prop_description:></label>
[<span class="erreur_message">(#ENV*{erreurs}|table_valeur{description_site})</span>]
<textarea name="description_site" id="description_site" rows="6" cols="60">#ENV{description_site}</textarea>
</li>
</ul>
</fieldset>
[(#REM) Piege a robots spammeurs ]
<p style="display: none;">
<label for="nobot"><:antispam_champ_vide:></label>
<input type="text" class="text" name="nobot" id="nobot" value="#ENV{nobot}" size="10" />
</p>
<p class="boutons"><input type="submit" class="submit" value="<:bouton_valider:>" /></p>
</form>
]
</div>