Changeset 5423 in spip-zone


Ignore:
Timestamp:
Sep 16, 2006, 10:11:56 PM (15 years ago)
Author:
renato@…
Message:

answers now visible again on public site; correction of a string switched between italian and french;

Location:
_plugins_branche_stable_/_spip_1_9_1_/Forms
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_branche_stable_/_spip_1_9_1_/Forms/exec/forms_telecharger.php

    r5413 r5423  
    180180                $query = "SELECT COUNT(*) FROM spip_reponses WHERE id_form=$id_form AND statut='valide'";
    181181                $result = spip_query($query);
    182                 list($nb_reponses) = spip_fetch_array($result);
     182                list($nb_reponses) = spip_fetch_array($result,SPIP_NUM);
    183183        }
    184184        else $nb_reponses = 0;
  • _plugins_branche_stable_/_spip_1_9_1_/Forms/forms_fonctions.php

    r5414 r5423  
    4545                                "WHERE r.id_form=$id_form AND r.statut='valide' AND c.champ='".addslashes($t['code'])."'";
    4646                        $result = spip_query($query);
    47                         list ($total_reponses) = spip_fetch_array($result);
     47                        list ($total_reponses) = spip_fetch_array($result,SPIP_NUM);
    4848                        if (!$total_reponses) continue;
    4949       
     
    9494                        "WHERE id_form=$id_form AND statut='valide'";
    9595                $result = spip_query($query);
    96                 list($num) = spip_fetch_array($result);
     96                list($num) = spip_fetch_array($result,SPIP_NUM);
    9797                $r .= "<strong>"._T("forms:total_votes")." : $num</strong>";
    9898       
  • _plugins_branche_stable_/_spip_1_9_1_/Forms/lang/forms_fr.php

    r5413 r5423  
    7777'nouveau_formulaire' => "Nouveau formulaire",
    7878
    79 'page'=>"Pagina",
     79'page'=>"Page",
    8080'pas_mail_confirmation'=>"Pas de mail confirmation",
    8181'probleme_technique'=>"Probl&egrave;me technique. Votre r&eacute;ponse n'a pas pu &ecirc;tre prise en compte.",
  • _plugins_branche_stable_/_spip_1_9_1_/Forms/lang/forms_it.php

    r5413 r5423  
    7777'nouveau_formulaire' => "Nuovo form",
    7878
    79 'page'=>"Page",
     79'page'=>"Pagina",
    8080'pas_mail_confirmation'=>"Nessuna conferma delle risposte",
    8181'probleme_technique'=>"Problema tecnico. La tua risposta non &egrave; stata inviata.",
Note: See TracChangeset for help on using the changeset viewer.