diff options
author | Paolo T <tuscanhobbit@users.noreply.github.com> | 2014-06-25 11:57:42 +0200 |
---|---|---|
committer | Paolo T <tuscanhobbit@users.noreply.github.com> | 2014-06-25 11:57:42 +0200 |
commit | 695afefd4b006a180fce1df2debb575cbdd0c0ea (patch) | |
tree | 1888ea4040ffb065305c84ee8718d513ea74c549 /mod | |
parent | b8e8adcd514482aca98b1ccded9351db02421e8f (diff) | |
parent | 423372c9642c10ab448e6209d7b3008993e5aa9d (diff) | |
download | volse-hubzilla-695afefd4b006a180fce1df2debb575cbdd0c0ea.tar.gz volse-hubzilla-695afefd4b006a180fce1df2debb575cbdd0c0ea.tar.bz2 volse-hubzilla-695afefd4b006a180fce1df2debb575cbdd0c0ea.zip |
Merge pull request #1 from friendica/master
Updated fork
Diffstat (limited to 'mod')
-rw-r--r-- | mod/filestorage.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/filestorage.php b/mod/filestorage.php index 6a7eac706..383af84fc 100644 --- a/mod/filestorage.php +++ b/mod/filestorage.php @@ -110,6 +110,7 @@ function filestorage_content(&$a) { $channel = $a->get_channel(); $cloudpath = get_cloudpath($f) . (($f['flags'] & ATTACH_FLAG_DIR) ? '?f=&davguest=1' : ''); + $parentpath = get_parent_cloudpath($channel['channel_id'], $channel['channel_address'], $f['hash']); $aclselect_e = populate_acl($f,false); $is_a_dir = (($f['flags'] & ATTACH_FLAG_DIR) ? true : false); @@ -121,6 +122,7 @@ function filestorage_content(&$a) { '$header' => t('Edit file permissions'), '$file' => $f, '$cloudpath' => z_root() . '/' . $cloudpath, + '$parentpath' => $parentpath, '$uid' => $channel['channel_id'], '$channelnick' => $channel['channel_address'], '$permissions' => t('Permissions'), |