diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-13 19:33:27 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-13 19:33:27 +0200 |
commit | 7e5b0ad24904fe3580cc77a9e552791a5fca9839 (patch) | |
tree | c2f3f634482e4378fab01726534bce8749d0419d /apps | |
parent | 5727a0dbe096ae0e5bba2488b3f7b14751fe1dd9 (diff) | |
download | nextcloud-server-7e5b0ad24904fe3580cc77a9e552791a5fca9839.tar.gz nextcloud-server-7e5b0ad24904fe3580cc77a9e552791a5fca9839.zip |
Do not link to ownCloud Federation page
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/settings-personal.php | 8 | ||||
-rw-r--r-- | apps/files_sharing/templates/settings-personal.php | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/apps/files_sharing/settings-personal.php b/apps/files_sharing/settings-personal.php index 982a8b05c15..5a839e91c1c 100644 --- a/apps/files_sharing/settings-personal.php +++ b/apps/files_sharing/settings-personal.php @@ -25,12 +25,6 @@ $l = \OC::$server->getL10N('files_sharing'); -$isIE8 = false; -preg_match('/MSIE (.*?);/', $_SERVER['HTTP_USER_AGENT'], $matches); -if (count($matches) > 0 && $matches[1] <= 9) { - $isIE8 = true; -} - $cloudID = \OC::$server->getUserSession()->getUser()->getCloudId(); $url = 'https://owncloud.org/federation#' . $cloudID; $ownCloudLogoPath = \OC::$server->getURLGenerator()->imagePath('core', 'logo-icon.svg'); @@ -42,6 +36,6 @@ $tmpl->assign('message_without_URL', $l->t('Share with me through my #ownCloud F $tmpl->assign('owncloud_logo_path', $ownCloudLogoPath); $tmpl->assign('reference', $url); $tmpl->assign('cloudId', $cloudID); -$tmpl->assign('showShareIT', !$isIE8); +$tmpl->assign('showShareIT', false); return $tmpl->fetchPage(); diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php index 32f358765c9..f0bbf2d9355 100644 --- a/apps/files_sharing/templates/settings-personal.php +++ b/apps/files_sharing/templates/settings-personal.php @@ -57,7 +57,7 @@ if ($_['showShareIT']) { style="padding:10px;background-color:#0082c9;color:#fff;border-radius:3px;padding-left:4px;"> <img src="<?php p($_['owncloud_logo_path']); ?>" style="width:50px;position:relative;top:8px;"> - <?php p($l->t('Share with me via ownCloud')); ?> + <?php p($l->t('Share with me via Nextcloud')); ?> </a> </p> @@ -67,7 +67,7 @@ if ($_['showShareIT']) { style="padding:10px;background-color:#0082c9;color:#fff;border-radius:3px;padding-left:4px;"> <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL($_['owncloud_logo_path'])); ?>" style="width:50px;position:relative;top:8px;"> - <?php p($l->t('Share with me via ownCloud')); ?> + <?php p($l->t('Share with me via Nextcloud')); ?> </a></xmp> </p> |