forked from ZwiiCMS-Team/ZwiiCMS
Correction aperçu theme menu hors site
This commit is contained in:
parent
3c140b0f3b
commit
30ec222de5
@ -33,11 +33,9 @@
|
||||
<?php if($this->getData(['theme', 'header', 'position']) === 'body'): ?>
|
||||
<!-- Bannière dans le fond du site -->
|
||||
|
||||
<!-- menu image -->
|
||||
<?php
|
||||
if ($this->getData(['theme','header','linkHome'])){
|
||||
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
||||
<!-- menu image -->
|
||||
|
||||
<header>
|
||||
<?php if(
|
||||
@ -54,11 +52,9 @@
|
||||
|
||||
<?php endif; ?>
|
||||
</header>
|
||||
<!-- menu image -->
|
||||
<?php
|
||||
if ($this->getData(['theme','header','linkHome'])){echo "</a>";}
|
||||
?>
|
||||
<!-- menu image -->
|
||||
?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if($this->getData(['theme', 'menu', 'position']) === 'body-second'): ?>
|
||||
|
@ -70,6 +70,8 @@ $("input, select").on("change", function() {
|
||||
break;
|
||||
case 'body-top':
|
||||
$("nav").show().insertAfter("#bar");
|
||||
$("#menu").removeClass('container');
|
||||
$("#menu").addClass('container-large');
|
||||
break;
|
||||
case 'body-second':
|
||||
if(<?php echo json_encode($this->getData(['theme', 'header', 'position']) === 'body'); ?>) {
|
||||
|
Loading…
Reference in New Issue
Block a user