aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/categories_widget.tpl
blob: 1341c652c84af3568906a2a652ba931e4f44b167 (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="nav nav-pills flex-column">
		<li class="nav-item"><a href="{{$base}}" class="nav-link{{if $sel_all}} active{{/if}}">{{$all}}</a></li>
		{{foreach $terms as $term}}
		<li class="nav-item"><a  href="{{$base}}?f=&cat={{$term.name|urlencode}}" class="nav-link{{if $term.selected}} active{{/if}}">{{$term.name}}</a></li>
		{{/foreach}}
	</ul>
	
</div>