title: .tpl If statement in Class=""
body: <pre><code>&lt;a class="{if $menu eq 1}current{/if}"
  &lt;a class="{if $menu eq 2}current{/if}"
  &lt;a class="{if $menu eq 3}current{/if}"
  </code></pre>
  
  <p>How does the $menu eq 1 work? Where can i find the "function"?</p>
  
  <p>Trying to make the menu "Highlight" If it's selected.</p>
  
  <p>Thanks in advance!</p>