[9.2.10] optimisation écriture
This commit is contained in:
parent
f03c7baaa8
commit
88350111a3
|
@ -52,19 +52,17 @@
|
||||||
<?php
|
<?php
|
||||||
if ($this->getData(['theme','header','linkHomePage'])){
|
if ($this->getData(['theme','header','linkHomePage'])){
|
||||||
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
||||||
|
<div id="headerContainer" class="container">
|
||||||
<?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')
|
||||||
): ?>
|
): ?>
|
||||||
<div class="container">
|
|
||||||
<span id="themeHeaderTitle"><?php echo $this->getData(['config', 'title']); ?></span>
|
<span id="themeHeaderTitle"><?php echo $this->getData(['config', 'title']); ?></span>
|
||||||
</div> <!--fin container -->
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<div class="container">
|
|
||||||
<span id="themeHeaderTitle"> </span>
|
<span id="themeHeaderTitle"> </span>
|
||||||
</div> <!--fin container -->
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
</div> <!--fin container -->>
|
||||||
<?php
|
<?php
|
||||||
if ($this->getData(['theme','header','linkHomePage'])){echo "</a>";}
|
if ($this->getData(['theme','header','linkHomePage'])){echo "</a>";}
|
||||||
?>
|
?>
|
||||||
|
@ -100,19 +98,17 @@
|
||||||
if ($this->getData(['theme','header','linkHomePage'])){
|
if ($this->getData(['theme','header','linkHomePage'])){
|
||||||
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
||||||
<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(
|
<div id="headerContainer" class="container">
|
||||||
$this->getData(['theme', 'header', 'textHide']) === false
|
<?php if(
|
||||||
// Affiche toujours le titre de la bannière pour l'édition du thème
|
$this->getData(['theme', 'header', 'textHide']) === false
|
||||||
OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header')
|
// Affiche toujours le titre de la bannière pour l'édition du thème
|
||||||
): ?>
|
OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header')
|
||||||
<div class="container">
|
): ?>
|
||||||
<span id="themeHeaderTitle"><?php echo $this->getData(['config', 'title']); ?></span>
|
<span id="themeHeaderTitle"><?php echo $this->getData(['config', 'title']); ?></span>
|
||||||
</div>
|
<?php else: ?>
|
||||||
<?php else: ?>
|
<span id="themeHeaderTitle"> </span>
|
||||||
<div class="container">
|
<?php endif; ?>
|
||||||
<span id="themeHeaderTitle"> </span>
|
</div> <!--fin container -->
|
||||||
</div> <!--fin container -->
|
|
||||||
<?php endif; ?>
|
|
||||||
</header>
|
</header>
|
||||||
<?php
|
<?php
|
||||||
if ($this->getData(['theme','header','linkHomePage'])){echo "</a>";} ?>
|
if ($this->getData(['theme','header','linkHomePage'])){echo "</a>";} ?>
|
||||||
|
|
Loading…
Reference in New Issue