diff options
author | friendica <info@friendica.com> | 2012-04-01 19:03:20 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-01 19:03:20 -0700 |
commit | 07cfdba9c36d1887b2e9b53ab8054d5140a59f53 (patch) | |
tree | c2a3f1e1d1aaf5e3e2f6d9b194e91d6b8b401cdd /view/categories_widget.tpl | |
parent | 06e9a8b7a0d6b5be141563c77ae3a71e9998b81f (diff) | |
parent | 581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5 (diff) | |
download | volse-hubzilla-07cfdba9c36d1887b2e9b53ab8054d5140a59f53.tar.gz volse-hubzilla-07cfdba9c36d1887b2e9b53ab8054d5140a59f53.tar.bz2 volse-hubzilla-07cfdba9c36d1887b2e9b53ab8054d5140a59f53.zip |
Merge pull request #200 from unary/categories
allow users to set categories on their posts
Diffstat (limited to 'view/categories_widget.tpl')
-rwxr-xr-x | view/categories_widget.tpl | 13 |
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> |