Ignore:
Timestamp:
Aug 22, 2010, 7:57:29 PM (10 years ago)
Author:
cedric@…
Message:

modernisation du plugin recommander (CVT)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/recommander/formulaires/recommander.html

    r39983 r40008  
    1 [<div class='erreur'>(#ENV*{erreur,''})</div>]
    2 <form method='post' action='#ENV{self}'>
    3 [(#ENV{url}|form_hidden)]
    4 <input type='hidden' name='recommander_env' value='#ENV*{recommander_env}' />
    5 <input type='hidden' name='recommander_cle' value='#ENV*{recommander_cle}' />
    6 <ul>
    7         <li>
    8                 <label for='recommander_from'><:form_pet_votre_email:></label>
    9                 <input type='text' class='text forml' id='recommander_from' name='recommander_from' value='[(#ENV{recommander_from,''}|htmlspecialchars)]' />
    10         </li>
    11         <li>
    12                 <label for='recommander_to'><:recommander:destinataire:></label>
    13                 <input type='text' class='text forml formo' id='recommander_to' name='recommander_to' value='[(#ENV{recommander_to,''}|htmlspecialchars)]' />
    14         </li>
    15         <li>
    16                 <label for='recommander_message'><:forum_texte:></label>
    17                 <textarea class='text forml' id='recommander_message' name='recommander_message' rows='' cols=''>[(#ENV{recommander_message,''}|htmlspecialchars)]</textarea>
    18         </li>
    19 </ul>
    20 <div class='boutons spip_bouton'><input type='submit' class='submit' name='recommander_email' value='<:recommander:recommander_message:>' /></div>
    21 </form>
     1<div class="formulaire_spip formulaire_#FORM" id="formulaire_recommander">
     2
     3[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
     4[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
     5<form method="post" action="#ENV{action}"><div>
     6        #ACTION_FORMULAIRE{#ENV{action}}
     7        <ul>
     8                <li class="editer_recommander_from[ (#ENV**{erreurs}|table_valeur{recommander_from}|oui)erreur]">
     9                        <label for='recommander_from'><:form_pet_votre_email:></label>[
     10                                <span class='erreur_message'>(#ENV**{erreurs}|table_valeur{recommander_from})</span>
     11                        ]<input type='text' class='text forml' id='recommander_from' name='recommander_from' value='#ENV*{recommander_from}' />
     12                </li>
     13                <li class="editer_recommander_to[ (#ENV**{erreurs}|table_valeur{recommander_to}|oui)erreur]">
     14                        <label for='recommander_to'><:recommander:destinataire:></label>[
     15                                <span class='erreur_message'>(#ENV**{erreurs}|table_valeur{recommander_to})</span>
     16                        ]<input type='text' class='text forml formo' id='recommander_to' name='recommander_to' value='#ENV*{recommander_to}' />
     17                </li>
     18                <li class="editer_recommander_message[ (#ENV**{erreurs}|table_valeur{recommander_message}|oui)erreur]">
     19                        <label for='recommander_message'><:forum_texte:></label>[
     20                                <span class='erreur_message'>(#ENV**{erreurs}|table_valeur{recommander_message})</span>
     21                        ]<textarea class='text forml' id='recommander_message' name='recommander_message' rows='' cols=''>#ENV*{recommander_message}</textarea>
     22                </li>
     23        </ul>
     24        <div class='boutons spip_bouton'><input type='submit' class='submit' name='recommander_email' value='<:recommander:recommander_message:>' /></div>
     25        </div></form>
     26</div>
Note: See TracChangeset for help on using the changeset viewer.