source: spip-zone/_plugins_/forms/forms_et_tables_2_5/formulaires/forms_texte_repondu.php @ 65965

Last change on this file since 65965 was 65965, checked in by sblanc@…, 9 years ago
File size: 525 bytes
Line 
1<?php
2
3if (!defined("_ECRIRE_INC_VERSION")) return;    #securite
4
5include_spip('base/abstract_sql');
6
7function balise_FORMS_TEXTE_REPONDU ($p) {
8  return calculer_balise_dynamique($p,'FORMS_TEXTE_REPONDU',array('id_form'));
9}
10
11function balise_FORMS_TEXTE_REPONDU_stat($args, $filtres) {
12        return $args;
13}
14function balise_FORMS_TEXTE_REPONDU_dyn($id_form, $texte='',$texte_autres='') {
15        include_spip('inc/forms');
16        if (Forms_verif_cookie_sondage_utilise($id_form)) return $texte;
17        else return $texte_autres;
18}
19?>
Note: See TracBrowser for help on using the repository browser.