forked from ZwiiCMS-Team/ZwiiCMS
[9.2.14] theme - footer - controle erreur import theme incorrect
This commit is contained in:
parent
0f99ffbbae
commit
83e5b100f1
@ -133,10 +133,11 @@
|
|||||||
<h4>Configuration</h4>
|
<h4>Configuration</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<?php $footerBlockPosition = $module::$footerblocks [$this->getData(['theme', 'footer', 'template'])]; ?>
|
|
||||||
|
<?php $footerBlockPosition = is_null($this->getData(['theme', 'footer', 'template'])) ? $module::$footerblocks[3] : $module::$footerblocks [$this->getData(['theme', 'footer', 'template'])] ;?>
|
||||||
<?php echo template::select('themeFooterTemplate', $module::$footerTemplate, [
|
<?php echo template::select('themeFooterTemplate', $module::$footerTemplate, [
|
||||||
'label' => 'Disposition',
|
'label' => 'Disposition',
|
||||||
'selected' => $this->getData(['theme', 'footer', 'template'])
|
'selected' => is_null($this->getData(['theme', 'footer', 'template'])) ? 4 : $this->getData(['theme', 'footer', 'template'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
|
Loading…
Reference in New Issue
Block a user