diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-23 09:14:54 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-23 09:14:54 +0100 |
commit | 61c5717281eddd806926c30f4f3c5c83774b341f (patch) | |
tree | a9aa9483fce471ab55d295a2b59f845933aa05ad /apps | |
parent | a25872e0349c3c93a5dea6ce0050f3db207c8dce (diff) | |
parent | 6ad957906e26b181e597abc25eeed0acebd43482 (diff) | |
download | nextcloud-server-61c5717281eddd806926c30f4f3c5c83774b341f.tar.gz nextcloud-server-61c5717281eddd806926c30f4f3c5c83774b341f.zip |
Merge pull request #23463 from owncloud/lets-consistently-use-no-referer
Consistently use rel=noreferrer
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/settings-admin.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/settings-personal.php | 4 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.settingcontrols.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.wizardcontrols.php | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index d05a02ee7db..39a5875f3d0 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -18,7 +18,7 @@ <div id="app-settings-content"> <label for="webdavurl"><?php p($l->t('WebDAV'));?></label> <input id="webdavurl" type="text" readonly="readonly" value="<?php p(\OCP\Util::linkToRemote('webdav')); ?>" /> - <em><?php print_unescaped($l->t('Use this address to <a href="%s" target="_blank">access your Files via WebDAV</a>', array(link_to_docs('user-webdav'))));?></em> + <em><?php print_unescaped($l->t('Use this address to <a href="%s" target="_blank" rel="noreferrer">access your Files via WebDAV</a>', array(link_to_docs('user-webdav'))));?></em> </div> </div> </div> diff --git a/apps/files_sharing/templates/settings-admin.php b/apps/files_sharing/templates/settings-admin.php index 31bfa78e67d..64b6b8e72a3 100644 --- a/apps/files_sharing/templates/settings-admin.php +++ b/apps/files_sharing/templates/settings-admin.php @@ -4,7 +4,7 @@ ?> <div id="fileSharingSettings"> <h3><?php p($l->t('Federated Cloud Sharing'));?></h3> - <a target="_blank" class="icon-info svg" + <a target="_blank" rel="noreferrer" class="icon-info svg" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a> diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php index c318943712f..ea9aae038a7 100644 --- a/apps/files_sharing/templates/settings-personal.php +++ b/apps/files_sharing/templates/settings-personal.php @@ -53,7 +53,7 @@ if ($_['showShareIT']) { <div class="hidden" id="oca-files-sharing-add-to-your-website-expanded"> <p style="margin: 10px 0"> - <a target="_blank" href="<?php p($_['reference']); ?>" + <a target="_blank" rel="noreferrer" href="<?php p($_['reference']); ?>" style="padding:10px;background-color:#1d2d44;color:#fff;border-radius:3px;padding-left:4px;"> <img src="<?php p($_['owncloud_logo_path']); ?>" style="width:50px;position:relative;top:8px;"> @@ -63,7 +63,7 @@ if ($_['showShareIT']) { <p> <?php p($l->t('HTML Code:')); ?> - <xmp><a target="_blank" href="<?php p($_['reference']); ?>" + <xmp><a target="_blank" rel="noreferrer" href="<?php p($_['reference']); ?>" style="padding:10px;background-color:#1d2d44;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;"> diff --git a/apps/user_ldap/templates/part.settingcontrols.php b/apps/user_ldap/templates/part.settingcontrols.php index bac00daa39f..fb5deb1897d 100644 --- a/apps/user_ldap/templates/part.settingcontrols.php +++ b/apps/user_ldap/templates/part.settingcontrols.php @@ -3,7 +3,7 @@ <?php p($l->t('Test Configuration'));?> </button> <a href="<?php p(\OC::$server->getURLGenerator()->linkToDocs('admin-ldap')); ?>" - target="_blank"> + target="_blank" rel="noreferrer"> <img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>" style="height:1.75ex" /> <?php p($l->t('Help'));?> diff --git a/apps/user_ldap/templates/part.wizardcontrols.php b/apps/user_ldap/templates/part.wizardcontrols.php index cda4e1fd906..19d6de94ebe 100644 --- a/apps/user_ldap/templates/part.wizardcontrols.php +++ b/apps/user_ldap/templates/part.wizardcontrols.php @@ -9,7 +9,7 @@ <?php p($l->t('Continue'));?> </button> <a href="<?php p(\OC::$server->getURLGenerator()->linkToDocs('admin-ldap')); ?>" - target="_blank"> + target="_blank" rel="noreferrer"> <img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>" style="height:1.75ex" /> <span class="ldap_grey"><?php p($l->t('Help'));?></span> |