add link from DAV web ui to filestorage to set properties or delete or whatever

This commit is contained in:
friendica 2014-01-09 18:34:25 -08:00
parent 5a3ee3f718
commit 170d4c9c68

View File

@ -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>';
}
}
}