From 02d3a41e26ce183e8b7326e58b51a20e7e6beb4c Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 26 Mar 2021 20:47:05 +0100 Subject: [PATCH] LAYOUT LITY --- core/core.php | 5 +++++ core/layout/lity.css | 22 ++++++++++++++++++++++ core/layout/lity.php | 27 +++++++++++++++++++++++++++ core/module/addon/addon.php | 2 +- 4 files changed, 55 insertions(+), 1 deletion(-) create mode 100755 core/layout/lity.css create mode 100755 core/layout/lity.php diff --git a/core/core.php b/core/core.php index cdbf1ea4..c0de0edc 100755 --- a/core/core.php +++ b/core/core.php @@ -21,6 +21,7 @@ class common { const DISPLAY_LAYOUT_BLANK = 3; const DISPLAY_LAYOUT_MAIN = 4; const DISPLAY_LAYOUT_LIGHT = 5; + const DISPLAY_LAYOUT_LITY = 6; const GROUP_BANNED = -1; const GROUP_VISITOR = 0; const GROUP_MEMBER = 1; @@ -2359,6 +2360,10 @@ class core extends common { case self::DISPLAY_LAYOUT_LIGHT: require 'core/layout/light.php'; break; + // Layout Lity + case self::DISPLAY_LAYOUT_LITY: + require 'core/layout/lity.php'; + break; // Layout principal case self::DISPLAY_LAYOUT_MAIN: require 'core/layout/main.php'; diff --git a/core/layout/lity.css b/core/layout/lity.css new file mode 100755 index 00000000..a35ed38e --- /dev/null +++ b/core/layout/lity.css @@ -0,0 +1,22 @@ +/** + * This file is part of Zwii. + * For full copyright and license information, please see the LICENSE + * file that was distributed with this source code. + * + * @author Rémi Jean + * @copyright Copyright (C) 2008-2018, Rémi Jean + * @author Frédéric Tempez + * @copyright Copyright (C) 2018-2021, Frédéric Tempez + * @license GNU General Public License, version 3 + * @link http://zwiicms.fr/ + */ + +/** + * Éléments spécifiques + */ + +/* Site */ + +section { + min-height: 0px; +} \ No newline at end of file diff --git a/core/layout/lity.php b/core/layout/lity.php new file mode 100755 index 00000000..b1002b82 --- /dev/null +++ b/core/layout/lity.php @@ -0,0 +1,27 @@ + + + + + + + showMetaTitle(); ?> + showMetaDescription(); ?> + showMetaType(); ?> + showMetaImage(); ?> + showFavicon(); ?> + showVendor(); ?> + showStyle(); ?> + + + + + + +showNotification(); ?> +
+
showContent(); ?>
+
+showScript(); ?> + + \ No newline at end of file diff --git a/core/module/addon/addon.php b/core/module/addon/addon.php index 78ff9139..2c448cbe 100644 --- a/core/module/addon/addon.php +++ b/core/module/addon/addon.php @@ -351,7 +351,7 @@ class addon extends common { $this->addOutput([ 'title' =>'Module ' . self::$storeItem['title'], 'view' => 'item', - 'display' => self::DISPLAY_LAYOUT_LIGHT + 'display' => self::DISPLAY_LAYOUT_LITY ]); }