diff options
author | friendica <info@friendica.com> | 2013-10-13 19:49:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-13 19:49:40 -0700 |
commit | bae7f4e07868563637594edb81933fc5f3ed49cf (patch) | |
tree | 103bfa0a1b1d7189e79508e1c83f9c6ce6169d03 /include/dir_fns.php | |
parent | 0e0e0d018b5cd14ed8d1578c15b3fc57ba4bfa12 (diff) | |
download | volse-hubzilla-bae7f4e07868563637594edb81933fc5f3ed49cf.tar.gz volse-hubzilla-bae7f4e07868563637594edb81933fc5f3ed49cf.tar.bz2 volse-hubzilla-bae7f4e07868563637594edb81933fc5f3ed49cf.zip |
directory sort links on sidebar
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r-- | include/dir_fns.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php index 5521f2738..ba3aa1877 100644 --- a/include/dir_fns.php +++ b/include/dir_fns.php @@ -9,6 +9,17 @@ function find_upstream_directory($dirmode) { return ''; } +function dir_sort_links() { + + $o = replace_macros(get_markup_template('dir_sort_links.tpl'), array( + '$header' => t('Sort Options'), + '$normal' => t('Alphabetic'), + '$reverse' => t('Reverse Alphabetic'), + '$date' => t('Newest to Oldest') + )); + return $o; +} + function sync_directories($dirmode) { |