aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-09 18:34:25 -0800
committerfriendica <info@friendica.com>2014-01-09 18:34:25 -0800
commit170d4c9c68486d875f3b7f9574bb0b00524b5f33 (patch)
tree4e2d63f29d78d18cae4ffe4a1c9387d527bf05e5 /include
parent5a3ee3f718a9f04c55cab5769cba9a2b99d80092 (diff)
downloadvolse-hubzilla-170d4c9c68486d875f3b7f9574bb0b00524b5f33.tar.gz
volse-hubzilla-170d4c9c68486d875f3b7f9574bb0b00524b5f33.tar.bz2
volse-hubzilla-170d4c9c68486d875f3b7f9574bb0b00524b5f33.zip
add link from DAV web ui to filestorage to set properties or delete or whatever
Diffstat (limited to 'include')
-rw-r--r--include/reddav.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/reddav.php b/include/reddav.php
index a802895de..24eca9e81 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -925,6 +925,14 @@ class RedBrowser extends DAV\Browser\Plugin {
</form>
</td></tr>';
+
+ if($this->auth->owner_id && $this->auth->owner_id == $this->auth->channel_id) {
+ $channel = get_app()->get_channel();
+ if($channel) {
+ $output .= '<tr><td>&nbsp;</td></tr><tr><td colspan="2"><a href="filestorage/' . $channel['channel_address'] . '" >' . t('Edit File properties') . '</a></td></tr>';
+ }
+ }
+
}