[PLUGINS] +clavettes et dependances
[lhc/web/clavette_www.git] / www / plugins / seminaire / base / seminaire.php
1 <?php
2 if (!defined("_ECRIRE_INC_VERSION")) return;
3
4 function seminaire_declarer_champs_extras($champs = array()){
5 $champs['spip_evenements']['attendee'] = array(
6 'saisie' => 'input',// type de saisie
7 'options' => array(
8 'nom' => 'attendee',
9 'label' => _T('seminaire:attendee'),
10 'sql' => "varchar(256) NOT NULL DEFAULT ''", // declaration sql
11 'rechercher'=>true,
12 'defaut' => '',
13 ));
14 $champs['spip_evenements']['origin'] = array(
15 'saisie' => 'input',
16 'options' => array(
17 'nom' => 'origin', // nom sql
18 'label' => _T('seminaire:origin'),
19 'sql' => "varchar(256) NOT NULL DEFAULT ''", // declaration sql
20 'rechercher'=>true,
21 'defaut' => '',
22 ));
23 $champs['spip_evenements']['notes'] = array(
24 'saisie' => 'textarea',
25 'options' => array(
26 'nom' => 'notes', // nom sql
27 'label' => _T('seminaire:notes'),
28 'sql' => "text NOT NULL DEFAULT ''", // declaration sql
29 'rechercher'=>true,
30 'defaut' => '',
31 'rows' => 4,
32 'traitements' => '_TRAITEMENT_RACCOURCIS',
33 'class' =>'inserer_barre_edition',
34 ));
35
36 return $champs;
37 }
38 ?>