Merge branch 'dev10' of https://github.com/fredtempez/ZwiiCMS into dev10

This commit is contained in:
Fred Tempez 2020-03-12 08:52:13 +01:00
commit 559157ecc6
6 changed files with 65 additions and 52 deletions

View File

@ -33,7 +33,7 @@ class common {
const TEMP_DIR = 'site/tmp/'; const TEMP_DIR = 'site/tmp/';
// Numéro de version // Numéro de version
const ZWII_VERSION = '10.0.042'; const ZWII_VERSION = '10.0.041';
const ZWII_UPDATE_CHANNEL = "v10"; const ZWII_UPDATE_CHANNEL = "v10";
public static $actions = []; public static $actions = [];

View File

@ -1,6 +1,6 @@
[ [
"simple-lightbox.jquery.min.js", "simple-lightbox.jquery.min.js",
"simple-lightbox.min.css",
"init.js", "init.js",
"simple-lightbox.min.css",
"init.css" "init.css"
] ]

View File

@ -2,5 +2,7 @@
"tinymce.min.js", "tinymce.min.js",
"jquery.tinymce.min.js", "jquery.tinymce.min.js",
"init.js", "init.js",
"init.css" "init.css",
"plugins/codesample/js/prism.fr",
"plugins/codesample/css/prism.css"
] ]

View File

@ -18,9 +18,9 @@ tinymce.init({
// Langue // Langue
language: "fr_FR", language: "fr_FR",
// Plugins // Plugins
plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker contextmenu fullscreen hr image imagetools link lists media paste searchreplace stickytoolbar tabfocus table template textcolor visualblocks", plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker contextmenu fullscreen hr image imagetools link lists media paste searchreplace stickytoolbar tabfocus table template textcolor codesample",
// Contenu de la barre d'outils // Contenu de la barre d'outils
toolbar: "restoredraft | undo redo | styleselect | bold italic underline strikethrough forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | image media link anchor inserttable hr template code visualblocks fullscreen", toolbar: "restoredraft | undo redo | styleselect | bold italic underline strikethrough forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | image media link anchor inserttable hr template code codesample fullscreen",
// CodeMirror // CodeMirror
codemirror: { codemirror: {
indentOnInit: true, // Whether or not to indent code on init. indentOnInit: true, // Whether or not to indent code on init.

View File

@ -1,4 +1,5 @@
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */ /* PrismJS 1.19.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/** /**
* prism.js default theme for JavaScript, CSS and HTML * prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com) * Based on dabblet (http://dabblet.com)
@ -8,9 +9,10 @@
code[class*="language-"], code[class*="language-"],
pre[class*="language-"] { pre[class*="language-"] {
color: black; color: black;
background: none;
text-shadow: 0 1px white; text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
direction: ltr; font-size: 1em;
text-align: left; text-align: left;
white-space: pre; white-space: pre;
word-spacing: normal; word-spacing: normal;
@ -63,6 +65,7 @@ pre[class*="language-"] {
:not(pre) > code[class*="language-"] { :not(pre) > code[class*="language-"] {
padding: .1em; padding: .1em;
border-radius: .3em; border-radius: .3em;
white-space: normal;
} }
.token.comment, .token.comment,
@ -76,7 +79,7 @@ pre[class*="language-"] {
color: #999; color: #999;
} }
.namespace { .token.namespace {
opacity: .7; opacity: .7;
} }
@ -104,7 +107,7 @@ pre[class*="language-"] {
.token.url, .token.url,
.language-css .token.string, .language-css .token.string,
.style .token.string { .style .token.string {
color: #a67f59; color: #9a6e3a;
background: hsla(0, 0%, 100%, .5); background: hsla(0, 0%, 100%, .5);
} }
@ -114,7 +117,8 @@ pre[class*="language-"] {
color: #07a; color: #07a;
} }
.token.function { .token.function,
.token.class-name {
color: #DD4A68; color: #DD4A68;
} }

File diff suppressed because one or more lines are too long