summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/settings-personal.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-06-18 13:00:50 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-06-18 13:00:50 +0200
commitf9093466bf2230edde9a4e8156101dc9558968c5 (patch)
tree92df0e38f470831e3558b910472d7e61459d79cb /apps/files_sharing/settings-personal.php
parentb43bfaf132b8457768785a5ef5165a1227273140 (diff)
downloadnextcloud-server-f9093466bf2230edde9a4e8156101dc9558968c5.tar.gz
nextcloud-server-f9093466bf2230edde9a4e8156101dc9558968c5.zip
add id to url
Diffstat (limited to 'apps/files_sharing/settings-personal.php')
-rw-r--r--apps/files_sharing/settings-personal.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/settings-personal.php b/apps/files_sharing/settings-personal.php
index 704ee8103db..fdf641e1d2c 100644
--- a/apps/files_sharing/settings-personal.php
+++ b/apps/files_sharing/settings-personal.php
@@ -27,13 +27,13 @@ $l = \OC::$server->getL10N('files_sharing');
$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';
+$url = 'https://owncloud.org/federation#' . $cloudID;
$ownCloudLogoPath = \OC::$server->getURLGenerator()->imagePath('core', 'logo-icon.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 Federated Cloud ID %s see %s', [$cloudID, $url]));
-$tmpl->assign('message_without_URL', $l->t('Share with me through my #ownCloud Federated Cloud ID %s', [$cloudID]));
+$tmpl->assign('message_with_URL', $l->t('Share with me through my #ownCloud Federated Cloud ID, see %s', [$url]));
+$tmpl->assign('message_without_URL', $l->t('Share with me through my #ownCloud Federated Cloud ID', [$cloudID]));
$tmpl->assign('owncloud_logo_path', $ownCloudLogoPath);
$tmpl->assign('reference', $url);
$tmpl->assign('cloudId', $cloudID);