summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/settings-personal.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-06-17 13:52:18 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-06-17 13:53:59 +0200
commitfa16c1f9b4c2ad3f3d0406747c52c06b861580ba (patch)
tree6953d6d181d9fad3d3ecff1b3d622de884239faa /apps/files_sharing/settings-personal.php
parentac9733a8b8bb64a9cc5c5b792fb1119106d76fd0 (diff)
downloadnextcloud-server-fa16c1f9b4c2ad3f3d0406747c52c06b861580ba.tar.gz
nextcloud-server-fa16c1f9b4c2ad3f3d0406747c52c06b861580ba.zip
fix path to owncloud logo
Diffstat (limited to 'apps/files_sharing/settings-personal.php')
-rw-r--r--apps/files_sharing/settings-personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/settings-personal.php b/apps/files_sharing/settings-personal.php
index f4d61b34f56..9a9629c86bb 100644
--- a/apps/files_sharing/settings-personal.php
+++ b/apps/files_sharing/settings-personal.php
@@ -28,11 +28,13 @@ $uid = \OC::$server->getUserSession()->getUser()->getUID();
$server = \OC::$server->getURLGenerator()->getAbsoluteURL('/');
$cloudID = $uid . '@' . rtrim(\OCA\Files_Sharing\Helper::removeProtocolFromUrl($server), '/');
$url = 'https://owncloud.org/federation';
+$ownCloudLogoPath = \OC::$server->getURLGenerator()->imagePath('files_sharing', 'social-owncloud.svg');
$tmpl = new OCP\Template('files_sharing', 'settings-personal');
$tmpl->assign('outgoingServer2serverShareEnabled', \OCA\Files_Sharing\Helper::isOutgoingServer2serverShareEnabled());
$tmpl->assign('message_with_URL', $l->t('Share with me through my #ownCloud federation ID %s see %s', [$cloudID, $url]));
$tmpl->assign('message_without_URL', $l->t('Share with me through my #ownCloud federation ID %s', [$cloudID]));
+$tmpl->assign('owncloud_logo_path', $ownCloudLogoPath);
$tmpl->assign('reference', $url);
$tmpl->assign('cloudId', $cloudID);