if/else bugfix

This commit is contained in:
BNoiZe
2013-10-01 16:22:19 +02:00
parent a2fb15db68
commit 8032e6f0d5

View File

@@ -1,14 +1,6 @@
$header $header
<article> <article>
<if $domains == ''>
<div class="messagewrapperfull">
<div class="warningcontainer bradius">
<div class="warningtitle">{$lng['admin']['warning']}</div>
<div class="warning"><br /><strong>{$lng['emails']['noemaildomainaddedyet']}</strong></div>
</div>
</div>
</if>
<else>
<header> <header>
<h2> <h2>
<img src="templates/{$theme}/assets/img/icons/email_add_big.png" alt="{$title}" />&nbsp; <img src="templates/{$theme}/assets/img/icons/email_add_big.png" alt="{$title}" />&nbsp;
@@ -16,6 +8,14 @@ $header
</h2> </h2>
</header> </header>
<if $domains == ''>
<div class="messagewrapperfull">
<div class="warningcontainer bradius">
<div class="warningtitle">{$lng['admin']['warning']}</div>
<div class="warning"><br /><strong>{$lng['emails']['noemaildomainaddedyet']}</strong></div>
</div>
</div>
<else>
<section class="fullform bradiusodd"> <section class="fullform bradiusodd">
<form action="{$linker->getLink(array('section' => 'email'))}" method="post" enctype="application/x-www-form-urlencoded"> <form action="{$linker->getLink(array('section' => 'email'))}" method="post" enctype="application/x-www-form-urlencoded">
@@ -35,5 +35,6 @@ $header
</fieldset> </fieldset>
</form> </form>
</section> </section>
</if>
</article> </article>
$footer $footer