forked from ZwiiCMS-Team/ZwiiCMS
[9.2.00.dev] footer ok
This commit is contained in:
parent
ee3b0dc8b1
commit
045ac268d4
@ -72,7 +72,6 @@
|
|||||||
?>
|
?>
|
||||||
<?php echo template::select('configLegalPageId', $listePageId , [
|
<?php echo template::select('configLegalPageId', $listePageId , [
|
||||||
'label' => 'Page des mentions légales',
|
'label' => 'Page des mentions légales',
|
||||||
'class' => $this->getData(['config', 'legalPageId']) === '' ? 'displayNone' : '',
|
|
||||||
'selected' => $this->getData(['config', 'legalPageId'])
|
'selected' => $this->getData(['config', 'legalPageId'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -100,9 +100,7 @@
|
|||||||
<h4>Mise en page</h4>
|
<h4>Mise en page</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<?php
|
<?php $footerBlockPosition = $module::$footerblocks [$this->getData(['theme', 'footer', 'template'])]; ?>
|
||||||
$footerBlockPosition = $module::$footerblocks [$this->getData(['theme', 'footer', 'template'])];
|
|
||||||
?>
|
|
||||||
<?php echo template::select('themeFooterTemplate', $module::$footerTemplate, [
|
<?php echo template::select('themeFooterTemplate', $module::$footerTemplate, [
|
||||||
'label' => 'Gabarits de mise en page',
|
'label' => 'Gabarits de mise en page',
|
||||||
'selected' => $this->getData(['theme', 'footer', 'template']),
|
'selected' => $this->getData(['theme', 'footer', 'template']),
|
||||||
@ -192,8 +190,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col3">
|
<div class="col3">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<?php echo template::checkbox('themeFooterDisplayLegal', true, 'Pages des mentions légales', [
|
<?php
|
||||||
'checked' => $this->getData(['theme', 'footer', 'displayLegal'])
|
echo template::checkbox('themeFooterDisplayLegal', true, 'Mentions légales', [
|
||||||
|
'checked' => $this->getData(['config', 'legalPageId']) === '' ? false : $this->getData(['theme', 'footer', 'displayLegal']),
|
||||||
|
'help' => 'Sélectionner une page dans la configuration du site'
|
||||||
]); ?>
|
]); ?>
|
||||||
<p></p>
|
<p></p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user