directory sort links on sidebar

This commit is contained in:
friendica
2013-10-13 19:49:40 -07:00
parent 0e0e0d018b
commit bae7f4e078
3 changed files with 19 additions and 0 deletions

View File

@@ -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) {