forked from ZwiiCMS-Team/ZwiiCMS
Problème dans la présenation des tableaux en mono page
This commit is contained in:
parent
3824c1c6f2
commit
5f9856defe
@ -32,7 +32,6 @@
|
||||
<?php endif; ?>
|
||||
<?php if($this->getData(['theme', 'header', 'position']) === 'body'): ?>
|
||||
<!-- Bannière dans le fond du site -->
|
||||
|
||||
<?php
|
||||
if ($this->getData(['theme','header','linkHome'])){
|
||||
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
||||
@ -116,7 +115,7 @@
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
// multi-colonnes
|
||||
// Gabarit :
|
||||
// Récupérer la config de la page courante
|
||||
$blocks = explode('-',$this->getData(['page',$this->getUrl(0),'blocks']));
|
||||
// Initialiser
|
||||
@ -139,14 +138,18 @@
|
||||
$content = 'col' . $blocks[1];
|
||||
$blockright = 'col' . $blocks[2];
|
||||
}
|
||||
?>
|
||||
<section>
|
||||
|
||||
if (sizeof($blocks) === 1 ) {
|
||||
?><section><?php $layout->showContent();?></section><?php
|
||||
} else {
|
||||
?>
|
||||
<div class="row">
|
||||
<?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>
|
||||
<?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>" id="contentright"><?php echo $this->getData(['page','blockRight','content']);?></div> <?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
<?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>
|
||||
<?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>" id="contentright"><?php echo $this->getData(['page','blockRight','content']);?></div> <?php endif; ?>
|
||||
</div></section>
|
||||
<?php } ?>
|
||||
|
||||
<!-- footer -->
|
||||
<?php if(
|
||||
$this->getData(['theme', 'footer', 'position']) === 'site'
|
||||
|
Loading…
Reference in New Issue
Block a user