diff --git a/formulaires/configurer_select2.html b/formulaires/configurer_select2.html index 8c7d882..121ffe5 100644 --- a/formulaires/configurer_select2.html +++ b/formulaires/configurer_select2.html @@ -1,6 +1,6 @@
-

<:select2:cfg_titre_parametrages:>

+

<:select2:titre_parametrages_select2:>

[

(#ENV*{message_ok})

] [

(#ENV*{message_erreur})

] @@ -9,6 +9,20 @@
#ACTION_FORMULAIRE +
+
+
+ + +
+
+
+ + [(#ENV**{erreurs}|table_valeur{selecteur_commun})] +

<:select2:champ_selecteur_explication:>

+ +
+

 

diff --git a/lang/select2_fr.php b/lang/select2_fr.php index f671934..fb51fc9 100644 --- a/lang/select2_fr.php +++ b/lang/select2_fr.php @@ -11,10 +11,12 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'select2_titre' => 'Select2', // C - 'cfg_exemple' => 'Exemple', - 'cfg_exemple_explication' => 'Explication de cet exemple', - 'cfg_titre_parametrages' => 'Paramétrages', + 'champ_active_label' => 'Activer "Select2" dans le site public', + 'champ_selecteur_label' => 'Sélecteur', + 'champ_selecteur_explication' => 'Indiquez la cible des éléments qui déclencheront Select2. (Expression CSS ou étendue jQuery)', // T 'titre_page_configurer_select2' => 'Configurer Select2', + 'titre_page_tester_select2' => 'Tester Select2', + 'titre_parametrages_select2' => 'Paramétrer Select2', ); diff --git a/prive/squelettes/contenu/tester_select2.html b/prive/squelettes/contenu/tester_select2.html new file mode 100644 index 0000000..bdd1a26 --- /dev/null +++ b/prive/squelettes/contenu/tester_select2.html @@ -0,0 +1,5 @@ +[(#AUTORISER{configurer,_select2}|sinon_interdire_acces)] + +

<:select2:titre_page_tester_select2:>

+ +... diff --git a/prive/squelettes/navigation/configurer_select2.html b/prive/squelettes/navigation/configurer_select2.html new file mode 100644 index 0000000..81673ed --- /dev/null +++ b/prive/squelettes/navigation/configurer_select2.html @@ -0,0 +1,23 @@ +[(#BOITE_OUVRIR{[<:select2:select2_titre:>(#CHEMIN_IMAGE{select2-24.png}|balise_img{'',cadre-icone})],simple})] +

[(#VAL{paquet-select2:select2_description}|_T)]

+#BOITE_FERMER + +[(#SET{liste,#LISTE{ + #ARRAY{ + exec,configurer_select2, + libelle,select2:titre_page_configurer_select2, + icone,cfg-16, + }, + #ARRAY{ + exec,tester_select2, + libelle,select2:titre_page_tester_select2, + icone,warning-16, + }, +}})] + \ No newline at end of file diff --git a/prive/squelettes/navigation/tester_select2.html b/prive/squelettes/navigation/tester_select2.html new file mode 100644 index 0000000..8f77652 --- /dev/null +++ b/prive/squelettes/navigation/tester_select2.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/prive/themes/spip/images/select2-16.png b/prive/themes/spip/images/select2-16.png new file mode 100644 index 0000000..10573e4 Binary files /dev/null and b/prive/themes/spip/images/select2-16.png differ diff --git a/prive/themes/spip/images/select2-24.png b/prive/themes/spip/images/select2-24.png new file mode 100644 index 0000000..30fe5f7 Binary files /dev/null and b/prive/themes/spip/images/select2-24.png differ