'input', 'options' => array( 'nom' => 'auteur_baseline', 'label' => 'Fonction ?', 'sql' => 'text NOT NULL DEFAULT \'\'', 'traitements' => '_TRAITEMENT_RACCOURCIS', 'rechercher' => 'on', 'explication' => 'Une phrase pour nous dire qui vous ĂȘtes', ), ); // Table : spip_forum if (!is_array($champs['spip_forum'])) { $champs['spip_forum'] = array(); } $champs['spip_forum']['notification'] = array( 'saisie' => 'textarea', 'options' => array( 'label' => 'Notification', 'cols' => 40, 'rows' => 5, 'sql' => 'text DEFAULT \'\' NOT NULL', 'nom' => 'notification', ), ); $champs['spip_forum']['notification_email'] = array( 'saisie' => 'textarea', 'options' => array( 'label' => 'Notification_email', 'cols' => 40, 'rows' => 5, 'sql' => 'text DEFAULT \'\' NOT NULL', 'nom' => 'notification_email', ), ); // Table : spip_syndic if (!is_array($champs['spip_syndic'])) { $champs['spip_syndic'] = array(); } $champs['spip_syndic']['input_1'] = array( 'saisie' => 'input', 'options' => array( 'nom' => 'input_1', 'label' => 'Ligne de texte', 'size' => 40, 'sql' => 'text DEFAULT \'\' NOT NULL', ), ); // Table : spip_documents if (!is_array($champs['spip_documents'])) { $champs['spip_documents'] = array(); } $champs['spip_documents']['oembed'] = array( 'saisie' => 'textarea', 'options' => array( 'label' => 'Oembed', 'cols' => '40', 'rows' => '5', 'sql' => 'text DEFAULT \'\' NOT NULL', 'nom' => 'oembed', ), ); $champs['spip_documents']['doc_img_alt'] = array( 'saisie' => 'input', 'options' => array( 'nom' => 'doc_img_alt', 'label' => 'Attribut ALT de l\'image', 'explication' => 'Si votre document est une image, permet de renseigner l\'attribut ALT', 'type' => 'text', 'size' => '40', 'autocomplete' => 'defaut', 'sql' => 'text DEFAULT \'\' NOT NULL', 'rechercher_ponderation' => '2', ), ); return $champs; }