From 0a13e35413048b6dbb034f6b75f595d38b03f86c Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 5 Aug 2023 16:20:19 +0200 Subject: [PATCH] =?UTF-8?q?Balise=20s=C3=A9mantique=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/class/layout.class.php | 6 +++--- core/layout/main.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/class/layout.class.php b/core/class/layout.class.php index 8baf717e..1611e6ef 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -55,9 +55,9 @@ class layout extends common * Formate le contenu de la page selon les gabarits * @param Page par defaut */ - public function showSection() + public function showMain() { - echo '
'; + echo '
'; // Récupérer la config de la page courante $blocks = is_null($this->getData(['page', $this->getUrl(0), 'block'])) ? '12' : $this->getData(['page', $this->getUrl(0), 'block']); $blocks = explode('-', $blocks); @@ -143,7 +143,7 @@ class layout extends common } echo ''; } - echo '
'; + echo '
'; } /** diff --git a/core/layout/main.php b/core/layout/main.php index 908e3246..95e53366 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -172,7 +172,7 @@ - showSection(); ?> + showMain(); ?> showFooter(); ?>