Changeset 7813 in spip-zone


Ignore:
Timestamp:
Dec 7, 2006, 9:39:04 PM (12 years ago)
Author:
cedric@…
Message:

"reparer le mail de confirmation, et decodage des multiple dans #LESVALEURS qui ne marchait pas"

Location:
_plugins_/_stable_/forms/forms_et_tables_1_9_1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/forms/forms_et_tables_1_9_1/forms_fonctions.php

    r7656 r7813  
    4848                if ($ok) {
    4949                        $t = $type_champ[$id_form][$champ];
    50                         if ($t == 'select' OR $type_champ == 'multiple'){
     50                        if ($t == 'select' OR $t == 'multiple'){
    5151                                $res = spip_query("SELECT titre FROM spip_forms_champs_choix WHERE id_form="._q($id_form)." AND champ="._q($champ)." AND choix="._q($valeur));
    5252                                if ($row = spip_fetch_array($res)){
  • _plugins_/_stable_/forms/forms_et_tables_1_9_1/modeles/form_reponse_email.html

    r7656 r7813  
    1 <BOUCLE_reponses(FORMS_DONNEES){id_donnee}>
     1<BOUCLE_reponses(FORMS_DONNEES){id_donnee}{tout}>
    22<BOUCLE_form(FORMS){id_form}>[(#TEXTE|supprimer_tags)]
    33[(#ENV{mail_admin}|=={'oui'}|?{' ',''})
     
    77<:forms:reponse_envoyee:> [(#DATE|affdate)]
    88<:forms:reponse_depuis:> [(#URL|url_absolue)]
    9 <BOUCLE_champs(FORMS_CHAMPS){tout}{id_form}{par rang}><B_repchamps>
    10 #TITRE : #LESVALEURS{','} [(#TYPE|=={fichier}|?{' '})   [(#ENV{mail_admin}|=={'oui'}|?{' ',''}) #URL_ECRIRE{forms_telecharger,id_donnee=#ID_DONNEE&champ=#CHAMP} ] ]
     9<BOUCLE_champs(FORMS_CHAMPS){tout}{id_form}{par rang}>
     10#TITRE : #LESVALEURS{','} [(#TYPE|=={fichier}|?{' '})   [(#ENV{mail_admin}|=={'oui'}|?{' ',''}) #URL_ECRIRE{forms_telecharger,id_donnee=#ID_DONNEE&champ=#CHAMP} ] ]</BOUCLE_champs>
    1111</BOUCLE_form>
    1212</BOUCLE_reponses>
Note: See TracChangeset for help on using the changeset viewer.