aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php11
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) {