Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-13 20:33:27 +0300
committerLukas Reschke <lukas@owncloud.com>2016-06-13 20:33:27 +0300
commit7e5b0ad24904fe3580cc77a9e552791a5fca9839 (patch)
treec2f3f634482e4378fab01726534bce8749d0419d /apps
parent5727a0dbe096ae0e5bba2488b3f7b14751fe1dd9 (diff)
Do not link to ownCloud Federation page
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/settings-personal.php8
-rw-r--r--apps/files_sharing/templates/settings-personal.php4
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>