From e821fe2d8ad856ca50ef763e3d03e5b0eeb919d2 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 3 Jan 2019 15:29:57 +0100 Subject: [PATCH] Mise en place du test de mise en place --- core/core.php | 2 +- core/layout/main.php | 41 ++++++++++++++++++++++++++--------------- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/core/core.php b/core/core.php index 68e2b719..2b5092a2 100644 --- a/core/core.php +++ b/core/core.php @@ -57,7 +57,7 @@ class common { 'timezone' => 'Europe/Paris', 'title' => 'Zwii, votre site en quelques clics !', 'itemsperPage' => 10, - 'contenLeft' => '', + 'contentLeft' => '', 'contentRight' => '' ], 'core' => [ diff --git a/core/layout/main.php b/core/layout/main.php index 3a86ee70..fcffc5c5 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -33,11 +33,9 @@ getData(['theme', 'header', 'position']) === 'body'): ?> - getData(['theme','header','linkHome'])){ echo "" ;} ?> -
getUrl(0) === 'theme' AND $this->getUrl(1) === 'header') ): ?> - -
getData(['config', 'title']); ?>
- - -
- + getData(['theme','header','linkHome'])){echo "
";} - ?> - - + ?> + getData(['theme', 'menu', 'position']) === 'body-second'): ?> -
showContent(); ?>
+ getData(['theme','site','blocks'])) { + case '33-66' : + break; + case '25-75' : + break; + case '25-50-25' : + break; + } + ?> +
showContent(); ?>
+ getData(['theme','site','blocks'])) { + case '66-33' : + break; + case '75-25' : + break; + case '25-50-25' : + break; + } + ?> + + getData(['theme', 'footer', 'position']) === 'site' // Affiche toujours le pied de page pour l'édition du thème