podcast/fabrique_podcast.php

388 lines
11 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Fichier généré par la Fabrique de plugin v7
* le 2021-02-11 21:25:22
*
* Ce fichier de sauvegarde peut servir à recréer
* votre plugin avec le plugin «Fabrique» qui a servi à le créer.
*
* Bien évidemment, les modifications apportées ultérieurement
* par vos soins dans le code de ce plugin généré
* NE SERONT PAS connues du plugin «Fabrique» et ne pourront pas
* être recréées par lui !
*
* La «Fabrique» ne pourra que régénerer le code de base du plugin
* avec les informations dont il dispose.
*
**/
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$data = array (
'fabrique' =>
array (
'version' => 7,
),
'paquet' =>
array (
'prefixe' => 'podcast',
'nom' => 'podcast',
'slogan' => 'Des podcasts et de la tendresse !',
'description' => '',
'logo' =>
array (
0 => '',
),
'credits' =>
array (
'logo' =>
array (
'texte' => '',
'url' => '',
),
),
'version' => '1.1.2',
'auteur' => 'chankalan,vcalame',
'auteur_lien' => '',
'licence' => 'GNU/GPL',
'categorie' => 'multimedia',
'etat' => 'dev',
'compatibilite' => '[3.2.8;3.3.*]',
'documentation' => '',
'administrations' => 'on',
'schema' => '1.2.2',
'formulaire_config' => 'on',
'formulaire_config_titre' => '',
'fichiers' =>
array (
0 => 'autorisations',
1 => 'fonctions',
2 => 'options',
3 => 'pipelines',
),
'inserer' =>
array (
'paquet' => '',
'administrations' =>
array (
'maj' => '',
'desinstallation' => '',
'fin' => '',
),
'base' =>
array (
'tables' =>
array (
'fin' => '',
),
),
),
'scripts' =>
array (
'pre_copie' => '',
'post_creation' => '',
),
'exemples' => 'on',
),
'objets' =>
array (
0 =>
array (
'nom' => 'podcasts',
'nom_singulier' => 'podcast',
'genre' => 'masculin',
'logo' =>
array (
0 => '',
32 => '',
24 => '',
16 => '',
12 => '',
),
'table' => 'spip_podcasts',
'cle_primaire' => 'id_podcast',
'cle_primaire_sql' => 'bigint(21) NOT NULL',
'table_type' => 'podcast',
'champs' =>
array (
0 =>
array (
'nom' => 'code',
'champ' => 'code',
'sql' => 'varchar(25) NOT NULL DEFAULT \'\'',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
2 => 'obligatoire',
),
'recherche' => '',
'saisie' => 'input',
'explication' => 'Code de l\'émission sous la forme « 20210119 »',
'saisie_options' => '',
),
1 =>
array (
'nom' => 'fichier',
'champ' => 'fichier',
'sql' => 'tinytext NOT NULL DEFAULT \'\'',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
),
'recherche' => '',
'saisie' => 'input',
'explication' => 'url du fichier son',
'saisie_options' => '',
),
2 =>
array (
'nom' => 'durée',
'champ' => 'duree',
'sql' => 'varchar(25) NOT NULL DEFAULT \'\'',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
),
'recherche' => '',
'saisie' => 'input',
'explication' => 'La durée de l\'émission sous la forme « ?? »',
'saisie_options' => '',
),
),
'champ_titre' => 'code',
'champ_date' => '',
'champ_date_ignore' => 'on',
'statut' => '',
'chaines' =>
array (
'titre_objets' => 'Podcasts',
'titre_page_objets' => 'Les podcasts',
'titre_objet' => 'Podcast',
'info_aucun_objet' => 'Aucun podcast',
'info_1_objet' => 'Un podcast',
'info_nb_objets' => '@nb@ podcasts',
'icone_creer_objet' => 'Créer un podcast',
'icone_modifier_objet' => 'Modifier ce podcast',
'titre_logo_objet' => 'Logo de ce podcast',
'titre_langue_objet' => 'Langue de ce podcast',
'texte_definir_comme_traduction_objet' => 'Ce podcast est une traduction du podcast numéro :',
'titre_\\objets_lies_objet' => 'Liés à ce podcast',
'titre_objets_rubrique' => 'Podcasts de la rubrique',
'info_objets_auteur' => 'Les podcasts de cet auteur',
'retirer_lien_objet' => 'Retirer ce podcast',
'retirer_tous_liens_objets' => 'Retirer tous les podcasts',
'ajouter_lien_objet' => 'Ajouter ce podcast',
'texte_ajouter_objet' => 'Ajouter un podcast',
'texte_creer_associer_objet' => 'Créer et associer un podcast',
'texte_changer_statut_objet' => 'Ce podcast est :',
'supprimer_objet' => 'Supprimer ce podcast',
'confirmer_supprimer_objet' => 'Confirmez-vous la suppression de ce podcast ?',
),
'liaison_directe' => 'spip_articles',
'table_liens' => '',
'afficher_liens' => '',
'roles' => '',
'auteurs_liens' => '',
'vue_auteurs_liens' => '',
'saisies' =>
array (
0 => 'objets',
),
'autorisations' =>
array (
'objets_voir' => '',
'objet_creer' => '',
'objet_voir' => '',
'objet_modifier' => '',
'objet_supprimer' => 'redacteur',
'associerobjet' => 'redacteur',
),
'boutons' =>
array (
0 => 'menu_edition',
),
),
1 =>
array (
'nom' => 'Chapitres',
'nom_singulier' => 'Chapitre',
'genre' => 'masculin',
'logo' =>
array (
0 => '',
32 => '',
24 => '',
16 => '',
12 => '',
),
'table' => 'spip_chapitres',
'cle_primaire' => 'id_chapitre',
'cle_primaire_sql' => 'bigint(21) NOT NULL',
'table_type' => 'chapitre',
'champs' =>
array (
0 =>
array (
'nom' => 'titre',
'champ' => 'titre',
'sql' => 'tinytext NOT NULL DEFAULT \'\'',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
2 => 'obligatoire',
),
'recherche' => '5',
'saisie' => 'input',
'explication' => 'dans le json = chapter_title',
'saisie_options' => '',
),
1 =>
array (
'nom' => 'nom identifiant',
'champ' => 'nom_identifiant',
'sql' => 'tinytext NOT NULL DEFAULT \'\'',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
),
'recherche' => '',
'saisie' => 'input',
'explication' => 'dans le json = short_chapter_name',
'saisie_options' => '',
),
2 =>
array (
'nom' => 'sujet principal',
'champ' => 'sujet_principal',
'sql' => 'int(6) NOT NULL DEFAULT 0',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
),
'recherche' => '',
'saisie' => 'case',
'explication' => 'par défaut non = 0',
'saisie_options' => '',
),
3 =>
array (
'nom' => 'debut',
'champ' => 'debut',
'sql' => 'varchar(25) NOT NULL DEFAULT \'\'',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
),
'recherche' => '',
'saisie' => 'input',
'explication' => 'dans le json = start_timestamp',
'saisie_options' => '',
),
4 =>
array (
'nom' => 'fin',
'champ' => 'fin',
'sql' => 'varchar(25) NOT NULL DEFAULT \'\'',
'caracteristiques' =>
array (
0 => 'editable',
1 => 'versionne',
),
'recherche' => '',
'saisie' => 'input',
'explication' => 'dans le json = end_timestamp',
'saisie_options' => '',
),
),
'champ_titre' => 'titre',
'champ_date' => '',
'champ_date_ignore' => 'on',
'statut' => '',
'chaines' =>
array (
'titre_objets' => 'Chapitres',
'titre_page_objets' => 'Les chapitres',
'titre_objet' => 'Chapitre',
'info_aucun_objet' => 'Aucun chapitre',
'info_1_objet' => 'Un chapitre',
'info_nb_objets' => '@nb@ chapitres',
'icone_creer_objet' => 'Créer un chapitre',
'icone_modifier_objet' => 'Modifier ce chapitre',
'titre_logo_objet' => 'Logo de ce chapitre',
'titre_langue_objet' => 'Langue de ce chapitre',
'texte_definir_comme_traduction_objet' => 'Ce chapitre est une traduction du chapitre numéro :',
'titre_\\objets_lies_objet' => 'Liés à ce chapitre',
'titre_objets_rubrique' => 'Chapitres de la rubrique',
'info_objets_auteur' => 'Les chapitres de cet auteur',
'retirer_lien_objet' => 'Retirer ce chapitre',
'retirer_tous_liens_objets' => 'Retirer tous les chapitres',
'ajouter_lien_objet' => 'Ajouter ce chapitre',
'texte_ajouter_objet' => 'Ajouter un chapitre',
'texte_creer_associer_objet' => 'Créer et associer un chapitre',
'texte_changer_statut_objet' => 'Ce chapitre est :',
'supprimer_objet' => 'Supprimer ce chapitre',
'confirmer_supprimer_objet' => 'Confirmez-vous la suppression de ce chapitre ?',
),
'liaison_directe' => 'spip_podcasts',
'table_liens' => '',
'afficher_liens' => '',
'roles' => '',
'auteurs_liens' => '',
'vue_auteurs_liens' => '',
'fichiers' =>
array (
'explicites' =>
array (
0 => 'action/supprimer_objet.php',
),
),
'saisies' =>
array (
0 => 'objets',
),
'autorisations' =>
array (
'objets_voir' => '',
'objet_creer' => '',
'objet_voir' => '',
'objet_modifier' => '',
'objet_supprimer' => 'redacteur',
'associerobjet' => 'redacteur',
),
),
),
'images' =>
array (
'paquet' =>
array (
'logo' =>
array (
0 =>
array (
'extension' => '',
'contenu' => '',
),
),
),
'objets' =>
array (
0 =>
array (
),
1 =>
array (
),
),
),
);