[PLUGINS] ~maj globale
[lhc/web/www.git] / www / plugins / saisies / formulaires / saisies_cvt.php
1 <?php
2
3 // Sécurité
4 if (!defined('_ECRIRE_INC_VERSION')) {
5 return;
6 }
7
8 function formulaires_saisies_cvt_saisies_dist() {
9 return array(
10 array(
11 'saisie' => 'input',
12 'options' => array(
13 'nom' => 'nom',
14 'label' => 'Nom'
15 )
16 ),
17 array(
18 'saisie' => 'input',
19 'options' => array(
20 'nom' => 'email',
21 'obligatoire' => 'oui',
22 'label' => 'E-mail'
23 ),
24 'verifier' => array(
25 'type' => 'email'
26 )
27 ),
28 array(
29 'saisie' => 'textarea',
30 'options' => array(
31 'nom' => 'message',
32 'obligatoire' => 'oui',
33 'label' => 'Un message'
34 ),
35 'verifier' => array(
36 'type' => 'taille',
37 'options' => array('min' => 10)
38 )
39 )
40 );
41 }