aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-08 18:06:31 -0800
committerzotlabs <mike@macgirvin.com>2016-12-08 18:06:31 -0800
commit33d75ad7b0b203f121d35d857a9c17d71dda6327 (patch)
tree6f9f8049df4e8e1e3693ee45dd4849b18004da6a /Zotlabs
parent1a3222d357a17f703abe7a86b1eea8c5ae8f5121 (diff)
downloadvolse-hubzilla-33d75ad7b0b203f121d35d857a9c17d71dda6327.tar.gz
volse-hubzilla-33d75ad7b0b203f121d35d857a9c17d71dda6327.tar.bz2
volse-hubzilla-33d75ad7b0b203f121d35d857a9c17d71dda6327.zip
Report the WebDAV endpoint on the settings page (under the reddress) if the account techlevel suggests the viewer isn't going to run away screaming and have epileptic seizures when they see the term 'WebDAV'.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Settings/Channel.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Settings/Channel.php b/Zotlabs/Module/Settings/Channel.php
index e18416393..b7cce7b96 100644
--- a/Zotlabs/Module/Settings/Channel.php
+++ b/Zotlabs/Module/Settings/Channel.php
@@ -404,8 +404,11 @@ class Channel {
'$desc' => t('Your channel address is'),
'$nickname' => $nickname,
'$subdir' => $subdir,
+ '$davdesc' => t('Your files/photos are accessible via WebDAV at'),
+ '$davpath' => ((get_account_techlevel() > 3) ? z_root() . '/dav/' . $nickname : ''),
'$basepath' => \App::get_hostname()
));
+
$stpl = get_markup_template('settings.tpl');