quattro: tpl for "file as"

This commit is contained in:
Fabio Comuni 2012-03-28 13:37:04 +02:00
parent 767245e9ff
commit 0f2a34c23b

View file

@ -0,0 +1,12 @@
<div id="fileas-sidebar" class="widget">
<h3>$title</h3>
<div id="nets-desc">$desc</div>
<ul class="fileas-ul">
<li class="tool {{ if $sel_all }}selected{{ endif }}"><a href="$base" class="fileas-link fileas-all">$all</a></li>
{{ for $terms as $term }}
<li class="tool {{ if $term.selected }}selected{{ endif }}"><a href="$base?f=&file=$term.name" class="fileas-link">$term.name</a></li>
{{ endfor }}
</ul>
</div>