Nouveau champ podcast_references

This commit is contained in:
Vincent Calame 2021-07-10 14:58:55 +02:00 committed by root
parent 27f02890b3
commit 970b971901
3 changed files with 19 additions and 5 deletions

View File

@ -84,21 +84,34 @@ function libreavous_declarer_champs_extras($champs = array()) {
'options' => array( 'options' => array(
'nom' => 'podcast_personnes', 'nom' => 'podcast_personnes',
'label' => 'Personnes participantes', 'label' => 'Personnes participantes',
'rows' => '5', 'rows' => '10',
'cols' => '40', 'cols' => '40',
'sql' => 'text DEFAULT \'\' NOT NULL', 'sql' => 'text DEFAULT \'\' NOT NULL',
), ),
'verifier' => array( '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( $champs['spip_articles']['podcast_galeriephotos'] = array(
'saisie' => 'textarea', 'saisie' => 'input',
'options' => array( 'options' => array(
'nom' => 'podcast_galeriephotos', 'nom' => 'podcast_galeriephotos',
'label' => 'Galerie Photos', 'label' => 'Galerie Photos',
'rows' => '5', 'type' => 'text',
'cols' => '40', 'size' => '40',
'sql' => 'text DEFAULT \'\' NOT NULL', 'sql' => 'text DEFAULT \'\' NOT NULL',
), ),
'verifier' => array( 'verifier' => array(

View File

@ -36,6 +36,7 @@ restreindre_extras('article', array(
'podcast_ogg', 'podcast_ogg',
'podcast_transcription', 'podcast_transcription',
'podcast_personnes', 'podcast_personnes',
'podcast_references',
'podcast_galeriephotos', 'podcast_galeriephotos',
'podcast_musique', 'podcast_musique',
'drupal_guid', 'drupal_guid',

View File

@ -1,7 +1,7 @@
<paquet <paquet
prefix="libreavous" prefix="libreavous"
categorie="squelette" categorie="squelette"
version="0.4.0" version="0.4.2"
schema="0.1.3" schema="0.1.3"
etat="dev" etat="dev"
compatibilite="[3.2.8;4.0.*]" compatibilite="[3.2.8;4.0.*]"