Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. {if $node.children|@count > 0 && ($smarty.get.controller!='product' && $smarty.get.controller!='category')}
  2.  
  3. <li class = "li-parent">
  4. <asset class="menu-arrow-left"></asset>
  5. <p><span><a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a></span></p>
  6.  
  7.  
  8. {elseif $node.children|@count > 0 && ($smarty.get.controller=='product' || $smarty.get.controller=='category')}
  9.  
  10. <li class="li-back"><asset class="menu-arrow-right"></asset><p class="class="border-bottom-grandiet-small"><span>Back</span></p></li>
  11. <li class = "li-parent">
  12. <p><span><a href="{$node.children[0].link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.children[0].name|escape:'htmlall':'UTF-8'}</a></span></p>
  13.  
  14. {/if}
  15.  
  16. testonly
  17.  
  18. <li class="li-back"><asset class="menu-arrow-right"></asset><p class="class="border-bottom-grandiet-small"><span>Back</span></p></li>
  19.  
  20. {if $node.children|@iteration eq 1}
  21. <li class="li-back"><asset class="menu-arrow-right"></asset><p class="class="border-bottom-grandiet-small"><span>Back</span></p></li>
  22. {/if}
  23.  
  24. <li class = "li-parent">
  25. <p><span><a href="{$node.children[0].link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.children[0].name|escape:'htmlall':'UTF-8'}</a></span></p>
  26.  
  27. <li class = "li-parent">
  28. <p><span><a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a></span></p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement