Quote:
Originally Posted by Boofo
This is a cleaner way to do it and avoids having to have the empty <vb:else /> line in it. Notice the ! marked in red.
Code:
<div class="body_wrapper">
<vb:if condition="!in_array(THIS_SCRIPT, array('index', 'vbcms'))">
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
<hr />
</div>
</vb:if>
|
Thank you both of you Allan and Boofo