From bae7f4e07868563637594edb81933fc5f3ed49cf Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 13 Oct 2013 19:49:40 -0700 Subject: directory sort links on sidebar --- include/dir_fns.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/dir_fns.php') 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) { -- cgit v1.2.3