aboutsummaryrefslogtreecommitdiffstats
path: root/mod/filestorage.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-06 19:43:54 -0800
committerfriendica <info@friendica.com>2014-01-06 19:43:54 -0800
commit2f27d58dfea06485abbb772297bcd875fe6779da (patch)
tree54a25d9a85ccd7cae3dafccf75dabb3b6074e2dc /mod/filestorage.php
parente49e6c0d2a409b71937b126ebd3d0bbd6be6d676 (diff)
downloadvolse-hubzilla-2f27d58dfea06485abbb772297bcd875fe6779da.tar.gz
volse-hubzilla-2f27d58dfea06485abbb772297bcd875fe6779da.tar.bz2
volse-hubzilla-2f27d58dfea06485abbb772297bcd875fe6779da.zip
filestorage re-org and cleanup
Diffstat (limited to 'mod/filestorage.php')
-rw-r--r--mod/filestorage.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/filestorage.php b/mod/filestorage.php
index 4fa3c4182..b774cf756 100644
--- a/mod/filestorage.php
+++ b/mod/filestorage.php
@@ -93,7 +93,7 @@ function filestorage_content(&$a) {
}
$file = intval(argv(2));
- $r = q("select id, folder, filename, flags, hash, allow_cid, allow_gid, deny_cid, deny_gid from attach where id = %d and uid = %d limit 1",
+ $r = q("select id, folder, filename, revision, flags, hash, allow_cid, allow_gid, deny_cid, deny_gid from attach where id = %d and uid = %d limit 1",
intval($file),
intval($owner)
);
@@ -117,6 +117,7 @@ function filestorage_content(&$a) {
'$recurse' => t('Include all files and sub folders'),
'$backlink' => t('Return to file list'),
'$isadir' => $is_a_dir,
+ '$cpdesc' => t('Copy/paste this code to attach file to a post'),
'$submit' => t('Submit')
));
@@ -156,10 +157,11 @@ function filestorage_content(&$a) {
'$download' => t('Download'),
'$files' => $files,
'$channel' => $which,
- '$edit' => t('Edit Permissions'),
+ '$edit' => t('Edit'),
'$delete' => t('Delete'),
'$used' => $used,
'$usedlabel' => t('Used: '),
+ '$directory' => t('[directory]'),
'$limit' => $limit,
'$limitlabel' => t('Limit: '),
));