Browse Source

Suite à https://core.spip.net/issues/4560 ajout des role sur les message ok/erreur des formulaires

master
Cerdic 2 months ago
parent
commit
d66f0ed273
  1. 4
      formulaires/activer_petition_article.html
  2. 4
      formulaires/configurer_petitions.html

4
formulaires/activer_petition_article.html

@ -3,8 +3,8 @@
[(#URL_ECRIRE{controler_petition,id_article=#ID_ARTICLE}|icone_horizontale{#ENV{_controle_petition},petition})]
]
#SET{petition,#ENV{petition}|et{#ENV{petition}|table_valeur{statut}|=={publie}|oui}}
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
[<p class="reponse_formulaire reponse_formulaire_ok" role="status">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur" role="alert">(#ENV*{message_erreur})</p>]
[(#ENV{editable})
<form action="#ENV{action}#formulaire_configurer_forums_article_moderation" method="post"><div>
#ACTION_FORMULAIRE

4
formulaires/configurer_petitions.html

@ -1,7 +1,7 @@
<div class="formulaire_spip formulaire_configurer formulaire_#FORM formulaire_#FORM-#ENV{id,nouveau}">
<h3 class='titrem'><img src="#CHEMIN_IMAGE{petition-24.png}" class="cadre-icone" /><:petitions:titre_petitions:></h3>
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
[<p class="reponse_formulaire reponse_formulaire_ok" role="status">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur" role="alert">(#ENV*{message_erreur})</p>]
[(#ENV{editable})
<p><:petitions:cfg_petitions_explication:></p>
<form method='post' action='#ENV{action}'><div>

Loading…
Cancel
Save