Well, ok, but with our syntax i have a problem:
- Code: Select all
<div id="slide_box" class="hidden-phone hidden-tablet">
{if noauth}
<h1>{lang.register_head}</h1>
<ul>
{if english}
<li>text</li>
{/if}
{if spanish}
<li>text</li>
{/if}
{if french}
<li>text</li>
{/if}
</ul>
buttons
{/if}
{if auth}
<h1>{lang.loggedin_head}</h1>
<ul>
{if english}
<li>text</li>
{/if}
{if spanish}
<li>text</li>
{/if}
{if french}
<li>text</li>
{/if}
</ul>
buttons
{/if}
</div>
But, on spanish lang without logging in, i see this:
(nothing)
--noauth buttons
{/if}
--auth text
--auth buttons
{/if}
What's the problem here? When i've deleted all lang if's for testing, the page works correctly.
Thanks,