diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-07-07 22:29:27 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-07-07 22:29:27 +0200 |
commit | f67d9d59afea32a90ea546163da25e36cc4ad9fb (patch) | |
tree | a9bf8aae9c798226dfadab62e1af168e2d61b2e2 /view/tpl/directory_header.tpl | |
parent | 9c577e042292bd8227b40f9500d19eecd974a8e4 (diff) | |
download | volse-hubzilla-f67d9d59afea32a90ea546163da25e36cc4ad9fb.tar.gz volse-hubzilla-f67d9d59afea32a90ea546163da25e36cc4ad9fb.tar.bz2 volse-hubzilla-f67d9d59afea32a90ea546163da25e36cc4ad9fb.zip |
rename function get_directory_settings => get_directory_setting and move sort options to directory title bar
Diffstat (limited to 'view/tpl/directory_header.tpl')
-rwxr-xr-x | view/tpl/directory_header.tpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/view/tpl/directory_header.tpl b/view/tpl/directory_header.tpl index 26739efc3..25a9b8279 100755 --- a/view/tpl/directory_header.tpl +++ b/view/tpl/directory_header.tpl @@ -1,6 +1,18 @@ <div class="generic-content-wrapper"> <div class="section-title-wrapper"> + <div class="btn-group pull-right"> + <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{$sort}}"> + <i class="icon-sort"></i> + </button> + <ul class="dropdown-menu"> + <li><a href="directory?f=&order=date">{{$date}}</a></li> + <li><a href="directory?f=&order=normal">{{$normal}}</a></li> + <li><a href="directory?f=&order=reversedate">{{$reversedate}}</a></li> + <li><a href="directory?f=&order=reverse">{{$reverse}}</a></li> + </ul> + </div> <h2>{{$dirlbl}}{{if $search}}: {{$safetxt}}{{/if}}</h2> + <div class="clear"></div> </div> {{foreach $entries as $entry}} {{include file="direntry.tpl"}} |