aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/categories_widget.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/categories_widget.tpl')
-rw-r--r--view/tpl/categories_widget.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/tpl/categories_widget.tpl b/view/tpl/categories_widget.tpl
new file mode 100644
index 000000000..5dbd871a8
--- /dev/null
+++ b/view/tpl/categories_widget.tpl
@@ -0,0 +1,12 @@
+<div id="categories-sidebar" class="widget">
+ <h3>$title</h3>
+ <div id="nets-desc">$desc</div>
+
+ <ul class="categories-ul">
+ <li class="tool"><a href="$base" class="categories-link categories-all{{ if $sel_all }} categories-selected{{ endif }}">$all</a></li>
+ {{ for $terms as $term }}
+ <li class="tool"><a href="$base?f=&category=$term.name" class="categories-link{{ if $term.selected }} categories-selected{{ endif }}">$term.name</a></li>
+ {{ endfor }}
+ </ul>
+
+</div>