comparison shared_view/includes/menu.tt @ 11:573272ec604b

almost comlete doxygen library
author sergey
date Thu, 15 May 2014 18:24:02 +0400
parents
children d9551c7e7101
comparison
equal deleted inserted replaced
10:83ad674a8cdd 11:573272ec604b
1 [% META class='IMPL::Web::View::TTMenuControl' %]
2 [% MACRO link(href,title) BLOCK %]
3 <a href="$href">$title</a>
4 [%- END %]
5 [% MACRO span(title) BLOCK %]
6 <span class="menu-item">$title</span>
7 [%- END %]
8 <ul class="$class" id="$id">
9 [% FOREACH item IN items %]
10 <li [% IF item.active %]class="active"[% END %]>[% item.href ? link(item.href,item.title) : span(item.title) %]</li>
11 [% END %]
12 </ul>