Merge branch 'master' of https://github.com/fredtempez/ZwiiCMS
This commit is contained in:
commit
97fa17fe79
@ -106,14 +106,16 @@
|
|||||||
AND $this->getUrl(0) === 'theme'
|
AND $this->getUrl(0) === 'theme'
|
||||||
)
|
)
|
||||||
): ?>
|
): ?>
|
||||||
<!-- Menu dans le site après la bannière -->
|
<!-- Menu dans le site après la bannière -->
|
||||||
<nav <?php if($this->getData(['theme', 'menu', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>>
|
<nav <?php if($this->getData(['theme', 'menu', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>>
|
||||||
<div id="toggle"><?php echo template::ico('menu'); ?></div>
|
<div id="toggle"><?php echo template::ico('menu'); ?></div>
|
||||||
<div id="menu" class="container">
|
<div id="menu" class="container">
|
||||||
<?php $layout->showMenu(); ?>
|
<?php $layout->showMenu(); ?>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<!-- Corps de page -->
|
||||||
|
<section>
|
||||||
<?php
|
<?php
|
||||||
// Gabarit :
|
// Gabarit :
|
||||||
// Récupérer la config de la page courante
|
// Récupérer la config de la page courante
|
||||||
@ -140,16 +142,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sizeof($blocks) === 1 ) {
|
if (sizeof($blocks) === 1 ) {
|
||||||
?><section><?php $layout->showContent();?></section><?php
|
?><?php $layout->showContent();?><?php
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<?php if ($blockleft !== "") :?> <div class="<?php echo $blockleft; ?>" id="contentleft"><?php echo $this->getData(['page','blockLeft','content']);?></div> <?php endif; ?>
|
<?php if ($blockleft !== "") :?> <div class="<?php echo $blockleft; ?>" id="contentleft"><?php echo $this->getData(['page','blockLeft','content']);?></div> <?php endif; ?>
|
||||||
<div class="<?php echo $content; ?>" id="contentsite"><?php $layout->showContent(); ?></div>
|
<div class="<?php echo $content; ?>" id="contentsite"><?php $layout->showContent(); ?></div>
|
||||||
<?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>" id="contentright"><?php echo $this->getData(['page','blockRight','content']);?></div> <?php endif; ?>
|
<?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>" id="contentright"><?php echo $this->getData(['page','blockRight','content']);?></div> <?php endif; ?>
|
||||||
</div></section>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
</section>
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<?php if(
|
<?php if(
|
||||||
$this->getData(['theme', 'footer', 'position']) === 'site'
|
$this->getData(['theme', 'footer', 'position']) === 'site'
|
||||||
@ -267,4 +269,4 @@
|
|||||||
<?php $layout->showAnalytics(); ?>
|
<?php $layout->showAnalytics(); ?>
|
||||||
<?php $layout->showScript(); ?>
|
<?php $layout->showScript(); ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user