summaryrefslogtreecommitdiff
path: root/view/template-formulaires.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2022-02-28 02:15:31 +0100
committerpolo <ordipolo@gmx.fr>2022-02-28 02:15:31 +0100
commitabd968a1c573b1862bd0728f0b7b6a88e307900a (patch)
treeef985fe5757b4516c199a06eb37a5e22f7c5b259 /view/template-formulaires.php
parentf19db76cc3b21785619ffd24bfb34692a3aaa66a (diff)
downloadmelaine-abd968a1c573b1862bd0728f0b7b6a88e307900a.zip
sauvegarde zip
Diffstat (limited to 'view/template-formulaires.php')
-rw-r--r--view/template-formulaires.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/template-formulaires.php b/view/template-formulaires.php
index 7873500..d1d47c4 100644
--- a/view/template-formulaires.php
+++ b/view/template-formulaires.php
@@ -69,7 +69,9 @@ if($page_actuelle == 'discographie')
69 // barre d'outils à adapter au "custom build" 69 // barre d'outils à adapter au "custom build"
70 // la liste ici: lib/ckeditor5/src/ckeditor.js 70 // la liste ici: lib/ckeditor5/src/ckeditor.js
71 toolbar: { 71 toolbar: {
72 items: [ 'undo', 'redo', 'selectAll', '|', 'heading', '|', 'alignment', 'bulletedList', 'numberedList', 'todoList', 'blockQuote', 'horizontalLine', '-', 'bold', 'italic', 'underline', 72 items: [ 'undo', 'redo', 'selectAll', '|', 'heading', '|', 'alignment', 'bulletedList', 'numberedList',
73 //'todoList',
74 'blockQuote', 'horizontalLine', '-', 'bold', 'italic', 'underline',
73 //'strikethrough', 75 //'strikethrough',
74 '|', 76 '|',
75 //'fontFamily', 77 //'fontFamily',
@@ -149,8 +151,8 @@ if($page_actuelle == 'discographie')
149 // Headers supplémentaires envoyés avec la requête 151 // Headers supplémentaires envoyés avec la requête
150 // c'est ici qu'on installe les mécanismes de sécurités comme l'authentification et la protection au CSRF 152 // c'est ici qu'on installe les mécanismes de sécurités comme l'authentification et la protection au CSRF
151 headers: { 153 headers: {
152 'X-CSRF-TOKEN': 'CSRF-Token', 154 //'X-CSRF-TOKEN': 'CSRF-Token',
153 Authorization: 'Bearer <JSON Web Token>' 155 //Authorization: 'Bearer <JSON Web Token>'
154 } 156 }
155 }, 157 },
156 // formats acceptés par défaut: jpeg, png, gif, bmp, webp, tiff 158 // formats acceptés par défaut: jpeg, png, gif, bmp, webp, tiff