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'): ?> @@ -90,12 +82,9 @@ ) ): ?> - - getData(['theme','header','linkHome'])){ echo "" ;} ?> - getData(['theme', 'header', 'position']) === 'hide'): ?>class="displayNone"> getData(['theme', 'header', 'textHide']) === false @@ -127,7 +116,29 @@ - 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