Mise en place du test de mise en place

This commit is contained in:
fredtempez 2019-01-03 15:29:57 +01:00
parent d90bfd0253
commit e821fe2d8a
2 changed files with 27 additions and 16 deletions

View File

@ -57,7 +57,7 @@ class common {
'timezone' => 'Europe/Paris', 'timezone' => 'Europe/Paris',
'title' => 'Zwii, votre site en quelques clics !', 'title' => 'Zwii, votre site en quelques clics !',
'itemsperPage' => 10, 'itemsperPage' => 10,
'contenLeft' => '', 'contentLeft' => '',
'contentRight' => '' 'contentRight' => ''
], ],
'core' => [ 'core' => [

View File

@ -33,11 +33,9 @@
<?php if($this->getData(['theme', 'header', 'position']) === 'body'): ?> <?php if($this->getData(['theme', 'header', 'position']) === 'body'): ?>
<!-- Bannière dans le fond du site --> <!-- Bannière dans le fond du site -->
<!-- menu image -->
<?php <?php
if ($this->getData(['theme','header','linkHome'])){ if ($this->getData(['theme','header','linkHome'])){
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?> echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
<!-- menu image -->
<header> <header>
<?php if( <?php if(
@ -45,22 +43,16 @@
// Affiche toujours le titre de la bannière pour l'édition du thème // Affiche toujours le titre de la bannière pour l'édition du thème
OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header') OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header')
): ?> ): ?>
<div class="container"> <div class="container">
<span><?php echo $this->getData(['config', 'title']); ?></span> <span><?php echo $this->getData(['config', 'title']); ?></span>
</div> </div>
<?php endif; ?> <?php endif; ?>
</header> </header>
<!-- menu image -->
<?php <?php
if ($this->getData(['theme','header','linkHome'])){echo "</a>";} if ($this->getData(['theme','header','linkHome'])){echo "</a>";}
?> ?>
<!-- menu image -->
<?php endif; ?> <?php endif; ?>
<?php if($this->getData(['theme', 'menu', 'position']) === 'body-second'): ?> <?php if($this->getData(['theme', 'menu', 'position']) === 'body-second'): ?>
<!-- Menu dans le fond du site après la bannière --> <!-- Menu dans le fond du site après la bannière -->
<nav> <nav>
@ -90,12 +82,9 @@
) )
): ?> ): ?>
<!-- Bannière dans le site --> <!-- Bannière dans le site -->
<!-- menu image -->
<?php <?php
if ($this->getData(['theme','header','linkHome'])){ if ($this->getData(['theme','header','linkHome'])){
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?> echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
<!-- menu image -->
<header <?php if($this->getData(['theme', 'header', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>> <header <?php if($this->getData(['theme', 'header', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>>
<?php if( <?php if(
$this->getData(['theme', 'header', 'textHide']) === false $this->getData(['theme', 'header', 'textHide']) === false
@ -127,7 +116,29 @@
</nav> </nav>
<?php endif; ?> <?php endif; ?>
<!-- Corps --> <!-- Corps -->
<section><?php $layout->showContent(); ?></section> <?php
switch($this->getData(['theme','site','blocks'])) {
case '33-66' :
break;
case '25-75' :
break;
case '25-50-25' :
break;
}
?>
<section><div class="col6 offset4"><?php $layout->showContent(); ?></div></section>
<?php
switch($this->getData(['theme','site','blocks'])) {
case '66-33' :
break;
case '75-25' :
break;
case '25-50-25' :
break;
}
?>
<!-- footer -->
<?php if( <?php if(
$this->getData(['theme', 'footer', 'position']) === 'site' $this->getData(['theme', 'footer', 'position']) === 'site'
// Affiche toujours le pied de page pour l'édition du thème // Affiche toujours le pied de page pour l'édition du thème