diff --git a/base/libreavous.php b/base/libreavous.php index 4a24ad1..67cc9c2 100644 --- a/base/libreavous.php +++ b/base/libreavous.php @@ -84,21 +84,34 @@ function libreavous_declarer_champs_extras($champs = array()) { 'options' => array( 'nom' => 'podcast_personnes', 'label' => 'Personnes participantes', - 'rows' => '5', + 'rows' => '10', 'cols' => '40', 'sql' => 'text DEFAULT \'\' NOT NULL', ), 'verifier' => array( ), ); + + $champs['spip_articles']['podcast_references'] = array( + 'saisie' => 'textarea', + 'options' => array( + 'nom' => 'podcast_references', + 'label' => 'Références', + 'rows' => '20', + 'cols' => '40', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['podcast_galeriephotos'] = array( - 'saisie' => 'textarea', + 'saisie' => 'input', 'options' => array( 'nom' => 'podcast_galeriephotos', 'label' => 'Galerie Photos', - 'rows' => '5', - 'cols' => '40', + 'type' => 'text', + 'size' => '40', 'sql' => 'text DEFAULT \'\' NOT NULL', ), 'verifier' => array( diff --git a/libreavous_autorisations.php b/libreavous_autorisations.php index 178a83d..602ca1b 100644 --- a/libreavous_autorisations.php +++ b/libreavous_autorisations.php @@ -36,6 +36,7 @@ restreindre_extras('article', array( 'podcast_ogg', 'podcast_transcription', 'podcast_personnes', + 'podcast_references', 'podcast_galeriephotos', 'podcast_musique', 'drupal_guid', diff --git a/paquet.xml b/paquet.xml index 3ab4595..fa4da72 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@