diff --git a/base/libreavous.php b/base/libreavous.php index f2e7298..1b4fd4f 100644 --- a/base/libreavous.php +++ b/base/libreavous.php @@ -10,88 +10,89 @@ function libreavous_declarer_champs_extras($champs = array()) { } $champs['spip_articles']['podcast_code'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'podcast_code', - 'label' => 'Code', - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'podcast_code', + 'label' => 'Code', + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['podcast_duree'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'podcast_duree', - 'label' => 'Durée', - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'podcast_duree', + 'label' => 'Durée', + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['podcast_mp3'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'podcast_mp3', - 'label' => 'Taille mp3', - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'podcast_mp3', + 'label' => 'Taille mp3', + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['podcast_ogg'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'podcast_ogg', - 'label' => 'Taille Ogg', - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'podcast_ogg', + 'label' => 'Taille Ogg', + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['podcast_transcription'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'podcast_transcription', - 'label' => 'Lien transcription', - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'podcast_transcription', + 'label' => 'Lien transcription', + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['podcast_personnes'] = array( - 'saisie' => 'textarea', - 'options' => array( - 'nom' => 'podcast_personnes', - 'label' => 'Personnes participantes', - 'rows' => '10', - 'cols' => '40', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); - + 'saisie' => 'textarea', + 'options' => array( + 'nom' => 'podcast_personnes', + 'label' => 'Personnes participantes', + 'rows' => '10', + 'cols' => '40', + 'sql' => 'text DEFAULT \'\' NOT NULL', + 'inserer_barre' => 'edition', + ), + 'verifier' => array( + ), + ); + $champs['spip_articles']['podcast_references'] = array( 'saisie' => 'textarea', 'options' => array( @@ -100,79 +101,81 @@ function libreavous_declarer_champs_extras($champs = array()) { 'rows' => '20', 'cols' => '40', 'sql' => 'text DEFAULT \'\' NOT NULL', + 'inserer_barre' => 'edition', ), 'verifier' => array( ), ); $champs['spip_articles']['podcast_galeriephotos'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'podcast_galeriephotos', - 'label' => 'Galerie Photos', - 'type' => 'text', - 'size' => '40', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'podcast_galeriephotos', + 'label' => 'Galerie Photos', + 'type' => 'text', + 'size' => '40', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['podcast_musique'] = array( - 'saisie' => 'textarea', - 'options' => array( - 'nom' => 'podcast_musique', - 'label' => 'Pauses musicales', - 'rows' => '5', - 'cols' => '40', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'textarea', + 'options' => array( + 'nom' => 'podcast_musique', + 'label' => 'Pauses musicales', + 'rows' => '5', + 'cols' => '40', + 'sql' => 'text DEFAULT \'\' NOT NULL', + 'inserer_barre' => 'edition', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['drupal_guid'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'drupal_guid', - 'label' => 'GUID Drupral', - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'drupal_guid', + 'label' => 'GUID Drupal', + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['drupal_pubdate'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'drupal_pubdate', - 'label' => 'PubDate Drupal', - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'drupal_pubdate', + 'label' => 'PubDate Drupal', + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + ), + 'verifier' => array( + ), + ); $champs['spip_articles']['chronique'] = array( - 'saisie' => 'input', - 'options' => array( - 'nom' => 'chronique', - 'label' => _T('libreavous:chronique_label'), - 'type' => 'text', - 'size' => '40', - 'autocomplete' => 'defaut', - 'sql' => 'text DEFAULT \'\' NOT NULL', - 'explication' => _T('libreavous:chronique_explications'), - ), - 'verifier' => array( - ), - ); + 'saisie' => 'input', + 'options' => array( + 'nom' => 'chronique', + 'label' => _T('libreavous:chronique_label'), + 'type' => 'text', + 'size' => '40', + 'autocomplete' => 'defaut', + 'sql' => 'text DEFAULT \'\' NOT NULL', + 'explication' => _T('libreavous:chronique_explications'), + ), + 'verifier' => array( + ), + ); return $champs; } diff --git a/squelettes/content/article-emission.html b/squelettes/content/article-emission.html index 551df68..0a40dc6 100644 --- a/squelettes/content/article-emission.html +++ b/squelettes/content/article-emission.html @@ -91,11 +91,14 @@
[(#PODCAST_PERSONNES|oui)<:libreavous:personnes_participantes:>] [(#PODCAST_REFERENCES|ou{#GET{references}|=={oui}}|oui)<:libreavous:references:>] [(#PODCAST_TRANSCRIPTION|oui)<:libreavous:transcription:>] [(#PODCAST_MUSIQUE|oui)<:libreavous:pauses_musicales:>] [(#CONFIG{libreavous/licence}|oui)<:libreavous:licence:>] +
+ + [