diff options
author | Thomas Willingham <founder@kakste.com> | 2013-09-09 02:06:21 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-09-09 02:06:21 +0100 |
commit | d2b4ba7be6adee976972091d4fe11fe08016341b (patch) | |
tree | 2e6ccdf85917c0803435fa5b440473c29bb8fed4 /view/tpl/filestorage.tpl | |
parent | e60c8e91740328be75da1d7d8829325899f9b5a8 (diff) | |
download | volse-hubzilla-d2b4ba7be6adee976972091d4fe11fe08016341b.tar.gz volse-hubzilla-d2b4ba7be6adee976972091d4fe11fe08016341b.tar.bz2 volse-hubzilla-d2b4ba7be6adee976972091d4fe11fe08016341b.zip |
Quick and dirty file storage module.
Diffstat (limited to 'view/tpl/filestorage.tpl')
-rw-r--r-- | view/tpl/filestorage.tpl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/view/tpl/filestorage.tpl b/view/tpl/filestorage.tpl new file mode 100644 index 000000000..995b52cc8 --- /dev/null +++ b/view/tpl/filestorage.tpl @@ -0,0 +1,22 @@ +{{if $files}} + + <div class="generic-content-wrapper"> + {{if $limit}}{{$limitlabel}}{{$limit}}{{/if}} {{if $used}} {{$usedlabel}}{{$used}}{{/if}} + + + {{foreach $files as $key => $items}} + {{foreach $items as $item}} + <div class="files-list-item"> + <a href="attach/{{$item.download}}">{{$download}}</a> | + <a href="{{$baseurl}}/{{$item.id}}/delete">{{$delete}} + <a href="page/{{$channel}}/{{$item.title}}">{{$title}}</a> {{$item.title}} | + {{$item.size}} bytes + +</div> + {{/foreach}} + {{/foreach}} + </div> + + <div class="clear"></div> + +{{/if}} |