aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/categories_widget.tpl
blob: 2c0b3bcc27692cfadacaec3c12d86bae1b1bd814 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
                                                         
                                  


                                                                                                                                                                                  

             
<div id="categories-sidebar" class="widget">
	<h3>{{$title}}</h3>
	<div id="categories-sidebar-desc">{{$desc}}</div>
	
	<ul class="categories-ul">
		<li class="tool"><a href="{{$base}}" class="categories-link categories-all{{if $sel_all}} categories-selected{{/if}}">{{$all}}</a></li>
		{{foreach $terms as $term}}
			<li class="tool"><a href="{{$base}}?f=&cat={{$term.name}}" class="categories-link{{if $term.selected}} categories-selected{{/if}}">{{$term.name}}</a></li>
		{{/foreach}}
	</ul>
	
</div>