diff --git a/core/module/theme/view/body/body.php b/core/module/theme/view/body/body.php index aa717fa1..172d8981 100644 --- a/core/module/theme/view/body/body.php +++ b/core/module/theme/view/body/body.php @@ -8,7 +8,16 @@ 'value' => 'Retour' ]); ?> -
+
+ 'https://doc.zwiicms.fr/arriere-plan', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' + ]); ?> +
+
@@ -96,4 +105,4 @@ - \ No newline at end of file + diff --git a/core/module/theme/view/footer/footer.php b/core/module/theme/view/footer/footer.php index ff97d425..5c7e2bf2 100644 --- a/core/module/theme/view/footer/footer.php +++ b/core/module/theme/view/footer/footer.php @@ -8,7 +8,16 @@ 'value' => 'Retour' ]); ?> -
+
+ 'https://doc.zwiicms.fr/pied-de-page', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' + ]); ?> +
+
diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index f62dcfdc..26264f59 100644 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -8,7 +8,16 @@ 'value' => 'Retour' ]); ?> -
+
+ 'https://doc.zwiicms.fr/banniere', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' + ]); ?> +
+
@@ -49,7 +58,7 @@ $this->getData(['theme', 'header', 'tinyHidden']) ]); ?> - +
diff --git a/core/module/theme/view/index/index.css b/core/module/theme/view/index/index.css index c24d1e12..e7cbdb9e 100755 --- a/core/module/theme/view/index/index.css +++ b/core/module/theme/view/index/index.css @@ -36,7 +36,8 @@ nav li ul { } #themeShowAll, -#themeBack, +#themeHelp, +#themeBack, #themeManage, #themeAdmin, #themeAdvanced { diff --git a/core/module/theme/view/index/index.php b/core/module/theme/view/index/index.php index 60be6151..85f0a16f 100644 --- a/core/module/theme/view/index/index.php +++ b/core/module/theme/view/index/index.php @@ -5,7 +5,7 @@ ): ?>
-
+
'buttonGrey', 'href' => helper::baseUrl(false), @@ -13,23 +13,39 @@ 'value' => 'Accueil' ]); ?>
-
- 'brush', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', - 'value' => 'Administration' +
+ 'https://doc.zwiicms.fr/theme-2', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' + ]); ?> +
+
+ 'eye', + 'value' => 'Zones cachées' ]); ?>
-
+
'cogs', 'href' => helper::baseUrl() . $this->getUrl(0) . '/manage', 'value' => 'Gestion' ]); ?>
-
+
+ 'brush', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', + 'value' => 'Administration' + ]); ?> + +
+
'code', 'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced', @@ -37,18 +53,10 @@ ]); ?>
-
-
- 'eye', - 'value' => 'Zones cachées' - ]); ?> -
-
-
+
'buttonGrey', 'href' => helper::baseUrl(false), @@ -56,28 +64,38 @@ 'value' => 'Accueil' ]); ?>
-
- 'brush', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', - 'value' => 'Administration' +
+ 'https://doc.zwiicms.fr/theme-2', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' ]); ?>
-
+
helper::baseUrl() . $this->getUrl(0) . '/manage', 'ico' => 'cogs', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/manage', 'value' => 'Gestion' ]); ?>
-
+
+ 'brush', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', + 'value' => 'Administration' + ]); ?> + +
+
'code', 'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced', - 'value' => 'Éditeur CSS', - 'ico' => 'code' + 'value' => 'Éditeur CSS' ]); ?>
- \ No newline at end of file + diff --git a/core/module/theme/view/menu/menu.php b/core/module/theme/view/menu/menu.php index 4346739b..df4889fa 100644 --- a/core/module/theme/view/menu/menu.php +++ b/core/module/theme/view/menu/menu.php @@ -8,7 +8,16 @@ 'value' => 'Retour' ]); ?>
-
+
+ 'https://doc.zwiicms.fr/menu', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' + ]); ?> +
+
diff --git a/core/module/theme/view/site/site.js.php b/core/module/theme/view/site/site.js.php index fb5e4b77..8eaeaef1 100644 --- a/core/module/theme/view/site/site.js.php +++ b/core/module/theme/view/site/site.js.php @@ -11,35 +11,23 @@ * @link http://zwiicms.fr/ */ - /* - * Chargement de l'aperçu - */ -$(document).ready(function() { - - /** - * Option de marge si la taille n'est pas fluide - */ - if ($('#themeSiteWidth').val() === '100%') { - $("#themeSiteMargin").prop("checked", true); - $("#themeSiteMargin").addClass("disabled"); - } else { - $("#themeSiteMargin").addClass("enabled"); - } - - // Charger l'aperçu initial - previewDOM(); - -}); /** * Aperçu en direct */ -$("input, select").on("change",function() { - previewDOM(); -}); + $("input, select").on("change",function() { -function previewDOM() { + /** + * Option de marge si la taille n'est pas fluide + */ + if ($('#themeSiteWidth').val() === '100%') { + console.log ("pop"); + $("#themeSiteMarginWrapper").prop("checked", true); + $("#themeSiteMarginWrapper").hide(); + } else { + $("#themeSiteMarginWrapper").show(); + } /** * Aperçu dans la boîte @@ -96,7 +84,6 @@ function previewDOM() { // Couleur ou image de fond var backgroundImage = getData(['theme','body','image'])); ?>; - console.log(backgroundImage); var backgroundcolor = getdata(['theme','body','backgroundColor'])); ?>; if(backgroundImage) { css += "div.bodybackground{background-image:url(" + backgroundImage + ");background-repeat:" + $("#themeBodyImageRepeat").val() + ";background-position:" + $("#themeBodyImagePosition").val() + ";background-attachment:" + $("#themeBodyImageAttachment").val() + ";background-size:" + $("#themeBodyImageSize").val() + "}"; @@ -125,4 +112,4 @@ function previewDOM() { .text(css) .appendTo("head"); -}; +}).trigger("change"); \ No newline at end of file diff --git a/core/module/theme/view/site/site.php b/core/module/theme/view/site/site.php index 94ef50b3..636668b5 100644 --- a/core/module/theme/view/site/site.php +++ b/core/module/theme/view/site/site.php @@ -8,7 +8,16 @@ 'value' => 'Retour' ]); ?>
-
+
+ 'https://doc.zwiicms.fr/site61863d315ffe0', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' + ]); ?> +
+
@@ -194,4 +203,4 @@
- \ No newline at end of file + diff --git a/core/module/user/view/import/import.php b/core/module/user/view/import/import.php index a563c66c..81e6a929 100644 --- a/core/module/user/view/import/import.php +++ b/core/module/user/view/import/import.php @@ -8,23 +8,21 @@ 'value' => 'Retour' ]); ?>
-
- 'buttonHelp', - 'ico' => 'help', - 'value' => 'Aide' - ]); ?> -
+
+ 'https://doc.zwiicms.fr/importation-d-une-liste-d-utilisateurs', + 'target' => '_blank', + 'ico' => 'help', + 'value' => 'Aide', + 'class' => 'buttonHelp' + ]); ?> +
'Importer' ]); ?>
- -
- -