function geoniche_declarer_champs_extras($champs = array()) { $champs['spip_gis']['pertinence'] = array( 'saisie' => 'input', // Type du champs (voir plugin Saisies) 'options' => array( 'nom' => 'pertinence', 'label' => _T('geoniche:pertinence'), 'sql' => "int(2) NOT NULL DEFAULT 0", 'defaut' => '', // Valeur par défaut ), ); return $champs; }