aboutsummaryrefslogtreecommitdiffstats
path: root/view/categories_widget.tpl
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-04-02 22:00:22 +0200
committerMichael Vogel <icarus@dabo.de>2012-04-02 22:00:22 +0200
commit3dc317dcc62c8e982d964bcae421a1410771d51c (patch)
tree6e63f4e263a6637656ed24dfb5c36292d442c268 /view/categories_widget.tpl
parenta39d8d3f02e5bbd711fde71594c2c787b21ef2e9 (diff)
parent6dfd55668f39d2cfb27d468cc982471abaad5165 (diff)
downloadvolse-hubzilla-3dc317dcc62c8e982d964bcae421a1410771d51c.tar.gz
volse-hubzilla-3dc317dcc62c8e982d964bcae421a1410771d51c.tar.bz2
volse-hubzilla-3dc317dcc62c8e982d964bcae421a1410771d51c.zip
Merge commit 'upstream/master'
Diffstat (limited to 'view/categories_widget.tpl')
-rwxr-xr-xview/categories_widget.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/categories_widget.tpl b/view/categories_widget.tpl
new file mode 100755
index 000000000..061821beb
--- /dev/null
+++ b/view/categories_widget.tpl
@@ -0,0 +1,13 @@
+<div class="clear"></div>
+<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>