aboutsummaryrefslogtreecommitdiffstats
path: root/include/RedDAV
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-01-28 09:49:36 +0100
committermarijus <mario@mariovavti.com>2015-01-28 09:49:36 +0100
commitf455036905d83a7983998835b24bfcaf1bed1045 (patch)
tree86b35e727d8f4164f268077074f3f8d222c811f9 /include/RedDAV
parent87814670c19667d211e8087242d9473ab9f4a46b (diff)
downloadvolse-hubzilla-f455036905d83a7983998835b24bfcaf1bed1045.tar.gz
volse-hubzilla-f455036905d83a7983998835b24bfcaf1bed1045.tar.bz2
volse-hubzilla-f455036905d83a7983998835b24bfcaf1bed1045.zip
show shared button only to local user
Diffstat (limited to 'include/RedDAV')
-rw-r--r--include/RedDAV/RedBrowser.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/RedDAV/RedBrowser.php b/include/RedDAV/RedBrowser.php
index e893d6ebd..8093aebc9 100644
--- a/include/RedDAV/RedBrowser.php
+++ b/include/RedDAV/RedBrowser.php
@@ -252,7 +252,8 @@ class RedBrowser extends DAV\Browser\Plugin {
'$actionspanel' => $output,
'$shared' => t('Shared'),
'$create' => t('Create'),
- 'upload' => t('Upload')
+ '$upload' => t('Upload'),
+ '$is_owner' => $is_owner
));
$html .= replace_macros(get_markup_template('cloud_directory.tpl'), array(