|
|
@ -5,11 +5,8 @@ if (!defined('_ECRIRE_INC_VERSION')) { |
|
|
|
} |
|
|
|
|
|
|
|
function galactic_contrib_declarer_champs_extras($champs = array()) { |
|
|
|
// Table : spip_articles
|
|
|
|
if (!is_array($champs['spip_articles'])) { |
|
|
|
$champs['spip_articles'] = array(); |
|
|
|
} |
|
|
|
|
|
|
|
// Table : spip_articles
|
|
|
|
$champs['spip_articles']['autodoc'] = array( |
|
|
|
'saisie' => 'case', |
|
|
|
'options' => array( |
|
|
@ -30,9 +27,7 @@ function galactic_contrib_declarer_champs_extras($champs = array()) { |
|
|
|
), |
|
|
|
); |
|
|
|
|
|
|
|
if (!is_array($champs['spip_documents'])) { |
|
|
|
$champs['spip_documents'] = array(); |
|
|
|
} |
|
|
|
// Table : spip_documents
|
|
|
|
$champs['spip_documents']['etat'] = array( |
|
|
|
'saisie' => 'selection', |
|
|
|
'options' => array( |
|
|
|