diff --git a/base/librealire.php b/base/librealire.php new file mode 100644 index 0000000..152a9b3 --- /dev/null +++ b/base/librealire.php @@ -0,0 +1,121 @@ + 'fieldset', + 'options' => array( + 'nom' => _T('librealire:transcriptions'), + 'label' => _T('librealire:transcriptions_label'), + 'explication' => 'Utilisez les raccourcis typo courant de SPIP (lien = [texte du lien->url])...' + ), + 'saisies' => array( + 'titre_t' => array( + 'saisie' => 'input', + 'options' => array( + 'nom'=>'titre_t', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => true, + 'label' => _T('librealire:titre_t'), + 'explication' => _T('librealire:titre_t_explications'), + 'obligatoire' => false + ) + ), + 'source' => array( + 'saisie' => 'input', + 'options' => array( + 'nom'=>'source', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => true, + 'label' => _T('librealire:source'), + 'explication' => _T('librealire:origine_explications'), + 'obligatoire' => false + ) + ), + 'lieu' => array( + 'saisie' => 'input', + 'options' => array( + 'nom'=>'lieu', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => true, + 'label' => _T('librealire:lieu'), + 'explication' => _T('librealire:lieu_explications'), + 'obligatoire' => false + ) + ), + 'date_t' => array( + 'saisie' => 'date', + 'options' => array( + 'nom'=>'date_t', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => true, + 'label' => _T('librealire:date_t'), + 'explication' => _T('librealire:date_t_explications'), + 'obligatoire' => false + ) + ), + 'duree' => array( + 'saisie' => 'input', + 'options' => array( + 'nom'=>'duree', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => false, + 'label' => _T('librealire:duree'), + 'explication' => _T('librealire:duree_explications'), + 'obligatoire' => false + ) + ), + 'liens' => array( + 'saisie' => 'input', + 'options' => array( + 'nom'=>'liens', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => false, + 'label' => _T('librealire:liens'), + 'explication' => _T('librealire:liens_explications'), + 'obligatoire' => false + ) + ), + 'evenement' => array( + 'saisie' => 'input', + 'options' => array( + 'nom'=>'evenement', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => false, + 'label' => _T('librealire:evenement'), + 'explication' => _T('librealire:evenement_explications'), + 'obligatoire' => false + ) + ), + 'licence' => array( + 'saisie' => 'checkbox', + 'options' => array( + 'nom'=>'licence', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => false, + 'label' => _T('librealire:licence'), + 'explication' => _T('librealire:licence_explications'), + 'obligatoire' => false, + 'datas' => array( + 'verbatim' => 'verbatim', + 'autrelicence' => 'autrelicence' + ), + 'defaut' => 'verbatim' + ) + ), + 'creditsvisuels' => array( + 'saisie' => 'input', + 'options' => array( + 'nom'=>'creditsvisuels', + 'sql' => "text NOT NULL DEFAULT ''", + 'rechercher' => false, + 'label' => _T('librealire:creditsvisuels'), + 'explication' => _T('librealire:creditsvisuels_explications'), + 'obligatoire' => false + ) + ) + ) + ); + return $champs; +} diff --git a/formulaires/configurer_librealire.html b/formulaires/configurer_librealire.html new file mode 100644 index 0000000..bdea050 --- /dev/null +++ b/formulaires/configurer_librealire.html @@ -0,0 +1,21 @@ +
+ +

<:librealire:titre_page_configurer_librealire:/>

+ + [

(#ENV*{message_ok})

] + [

(#ENV*{message_erreur})

] + +
+
+ #ACTION_FORMULAIRE{#ENV{action}} +
    + + [(#SAISIE{input,avertissement, + label=<:librealire:avertissement_label:>, + explication=<:librealire:avertissement_explications:>})] + +
+

 

+
+
+
diff --git a/librealire_administrations.php b/librealire_administrations.php new file mode 100644 index 0000000..0b0d809 --- /dev/null +++ b/librealire_administrations.php @@ -0,0 +1,58 @@ + @@ -12,8 +13,16 @@ + + + + + + + + diff --git a/prive/squelettes/contenu/configurer_librealire.html b/prive/squelettes/contenu/configurer_librealire.html new file mode 100644 index 0000000..2d41595 --- /dev/null +++ b/prive/squelettes/contenu/configurer_librealire.html @@ -0,0 +1,7 @@ +[(#AUTORISER{configurer,_librealire}|sinon_interdire_acces)] + +

<:librealire:titre_page_configurer_librealire:/>

+ +
+ #FORMULAIRE_CONFIGURER_LIBREALIRE +
diff --git a/squelettes/content/article-transcription.html b/squelettes/content/article-transcription.html deleted file mode 100644 index 3d0ec21..0000000 --- a/squelettes/content/article-transcription.html +++ /dev/null @@ -1,58 +0,0 @@ - - -
- -
- - [

(#SURTITRE)

] -

#TITRE[ - (#SOUSTITRE) - ]

- - - - - -
- -
- - [
(#CHAPO)
] - - [
(#TEXTE|image_reduire{#CONST{_CONTENT_WIDTH},0})
] - -
- - [] - - - -
- -