Correction menu cliquable

This commit is contained in:
Fred 2018-04-17 16:42:39 +02:00 committed by GitHub
parent d7836ebf8b
commit 4dacf60277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 16 deletions

View File

@ -94,30 +94,20 @@
if ($this->getData(['theme','header','linkHome'])){ if ($this->getData(['theme','header','linkHome'])){
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?> echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
<!-- menu image --> <!-- menu image -->
<header <?php if($this->getData(['theme', 'header', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>> <header <?php if($this->getData(['theme', 'header', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>>
<?php if( <?php if(
$this->getData(['theme', 'header', 'textHide']) === false $this->getData(['theme', 'header', 'textHide']) === false
// Affiche toujours le titre de la bannière pour l'édition du thème // Affiche toujours le titre de la bannière pour l'édition du thème
OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header') OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header')
): ?> ): ?>
<!-- menu image --> <div class="container">
<?php <span><?php echo $this->getData(['config', 'title']); ?></span>
if ($this->getData(['theme','header','linkHome'])){ </div>
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
<div class="container">
<span><?php echo $this->getData(['config', 'title']); ?></span>
</div>
<?php
if ($this->getData(['theme','header','linkHome'])){echo "</a>";}
?>
<?php endif; ?> <?php endif; ?>
<!-- menu image -->
</header> </header>
<?php
<?php endif; ?> if ($this->getData(['theme','header','linkHome'])){echo "</a>";} ?>
<?php endif; ?>
<?php if( <?php if(
$this->getData(['theme', 'menu', 'position']) === 'site-second' $this->getData(['theme', 'menu', 'position']) === 'site-second'
// Affiche toujours le menu pour l'édition du thème // Affiche toujours le menu pour l'édition du thème