aboutsummaryrefslogtreecommitdiffstats
path: root/view/fileas_widget.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-13 18:13:03 -0700
committerfriendica <info@friendica.com>2012-03-13 18:13:03 -0700
commitbe48fff1570aa1d04e049a6fd1665f4fc9634a62 (patch)
tree27b3a9afc78391ece8bfd2ce13ac74b77bc18898 /view/fileas_widget.tpl
parent8a789a33d1168359ae23300bc3169b37fb02facc (diff)
downloadvolse-hubzilla-be48fff1570aa1d04e049a6fd1665f4fc9634a62.tar.gz
volse-hubzilla-be48fff1570aa1d04e049a6fd1665f4fc9634a62.tar.bz2
volse-hubzilla-be48fff1570aa1d04e049a6fd1665f4fc9634a62.zip
file as widget and basic filing implementation for duepuntozero,slackr
much more work needed - this is just for test/evaluation currently
Diffstat (limited to 'view/fileas_widget.tpl')
-rwxr-xr-xview/fileas_widget.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/fileas_widget.tpl b/view/fileas_widget.tpl
new file mode 100755
index 000000000..54fba7435
--- /dev/null
+++ b/view/fileas_widget.tpl
@@ -0,0 +1,12 @@
+<div id="fileas-sidebar" class="widget">
+ <h3>$title</h3>
+ <div id="nets-desc">$desc</div>
+
+ <ul class="fileas-ul">
+ <li class="tool"><a href="$base" class="fileas-link fileas-all{{ if $sel_all }} fileas-selected{{ endif }}">$all</a></li>
+ {{ for $terms as $term }}
+ <li class="tool"><a href="$base?f=&file=$term.name" class="fileas-link{{ if $term.selected }} fileas-selected{{ endif }}">$term.name</a></li>
+ {{ endfor }}
+ </ul>
+
+</div>