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,7 +84,20 @@ 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',
),
@ -93,12 +106,12 @@ function libreavous_declarer_champs_extras($champs = 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(

View File

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

View File

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