When you have a block of text like this:
<ul> <li><a {if $section eq "orders-pending"}class="current" {/if} href="/admin.php/orders-pending">Pending Orders</a></li> <li><a {if $section eq "orders-pending"}class="current" {/if} href="/admin.php/orders">Search Orders</a></li> </ul>
the </ul> doesn't register as a closing tag because it is not at the same tab level as the <ul>. In other words, the above doesn't work, but this does:
<ul> <li><a {if $section eq "orders-pending"}class="current" {/if} href="/admin.php/orders-pending">Pending Orders</a></li> <li><a {if $section eq "orders-pending"}class="current" {/if} href="/admin.php/orders">Search Orders</a></li> </ul>
James.