From ea1a051ba3cd0221ea3684e4f077c36cf9f19df8 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 15 Mar 2019 13:29:11 +0100 Subject: [PATCH] =?UTF-8?q?[9.0.06]=20libell=C3=A9=20fr=20et=20codemirror?= =?UTF-8?q?=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/vendor/tinymce/init.js | 12 ++++++------ core/vendor/tinymce/langs/fr_FR.js | 4 ++-- core/vendor/tinymce/link_list.json | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 core/vendor/tinymce/link_list.json diff --git a/core/core.php b/core/core.php index 64730c8c..abcaad0a 100644 --- a/core/core.php +++ b/core/core.php @@ -30,7 +30,7 @@ class common { // Désactive l'update auto // const ZWII_VERSION = '9.0.05.dev.d'; // Numéro de version stable - const ZWII_VERSION = '9.0.05'; + const ZWII_VERSION = '9.0.06'; public static $actions = []; diff --git a/core/vendor/tinymce/init.js b/core/vendor/tinymce/init.js index d0fbd52b..bc1f71c3 100755 --- a/core/vendor/tinymce/init.js +++ b/core/vendor/tinymce/init.js @@ -20,11 +20,11 @@ tinymce.init({ lineNumbers: true }, width: 800, // Default value is 800 - height: 500 // Default value is 550 - //jsFiles: [ // Additional JS files to load - // 'mode/clike/clike.js', - // 'mode/php/php.js' - //] + height: 500, // Default value is 550 + Files: [ // Additional JS files to load + baseUrl + 'core/vendor/tinymce/mode/clike/clike.js', + baseUrl + 'core/vendor/tinymce/mode/php/php.js' + ] }, // Cibles de la target target_list: [ @@ -34,7 +34,7 @@ tinymce.init({ // Target pour lightbox rel_list: [ {title: 'None', value: ''}, - {title: 'Ouvrir dans une lightbox', value: 'data-lity'} + {title: 'Lightbox', value: 'data-lity'} ], // Pages internes link_list: baseUrl + "core/vendor/tinymce/links.php", diff --git a/core/vendor/tinymce/langs/fr_FR.js b/core/vendor/tinymce/langs/fr_FR.js index 241e1d7b..d3830690 100755 --- a/core/vendor/tinymce/langs/fr_FR.js +++ b/core/vendor/tinymce/langs/fr_FR.js @@ -159,8 +159,8 @@ tinymce.addI18n('fr_FR',{ "Paste or type a link": "Coller ou taper un lien", "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "L'URL que vous avez entr\u00e9e semble \u00eatre une adresse e-mail. Voulez-vous ajouter le pr\u00e9fixe mailto: n\u00e9cessaire?", "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "L'URL que vous avez entr\u00e9e semble \u00eatre un lien externe. Voulez-vous ajouter le pr\u00e9fixe http:\/\/ n\u00e9cessaire?", -"Link list": "Liens internes", -"Rel": "Relations", +"Link list": "Page", +"Rel": "Ouvrir dans", "Insert video": "Ins\u00e9rer une vid\u00e9o", "Insert\/edit video": "Ins\u00e9rer\/modifier une vid\u00e9o", "Insert\/edit media": "Ins\u00e9rer\/modifier un m\u00e9dia", diff --git a/core/vendor/tinymce/link_list.json b/core/vendor/tinymce/link_list.json new file mode 100644 index 00000000..e734b409 --- /dev/null +++ b/core/vendor/tinymce/link_list.json @@ -0,0 +1 @@ +[{"title":"Nouvelle page","value":"?nouvelle-page"},{"title":"Accueil","value":"?accueil","menu":[{"title":"Enfant","value":"?enfant"},{"title":"Mise en page","value":"?mise-en-page"},{"title":"Blog","value":"?blog"}]},{"title":"Cach\u00e9e","value":"?cachee"},{"title":"Galeries","value":"?galeries"},{"title":"Site de Zwii","value":"?site-de-zwii"},{"title":"Contact","value":"?contact"}] \ No newline at end of file