summaryrefslogtreecommitdiffstats
path: root/settings/templates/apps.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-03-20 11:38:14 +0100
committerLukas Reschke <lukas@owncloud.com>2016-03-20 15:27:20 +0100
commit6ad957906e26b181e597abc25eeed0acebd43482 (patch)
tree7e321b06ab8732a79b99c9c5b3a8d8e3c2c04672 /settings/templates/apps.php
parent1f1d87d4130480d5632eac75ac74340b59d5eb19 (diff)
downloadnextcloud-server-6ad957906e26b181e597abc25eeed0acebd43482.tar.gz
nextcloud-server-6ad957906e26b181e597abc25eeed0acebd43482.zip
Consistently use rel=noreferrer
When linking to external entities we should consistently use rel=noreferrer
Diffstat (limited to 'settings/templates/apps.php')
-rw-r--r--settings/templates/apps.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index ef89a5393cd..4ae1022585d 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -31,7 +31,7 @@ script(
<?php if($_['appstoreEnabled']): ?>
<li>
- <a class="app-external" target="_blank" href="https://owncloud.org/dev"><?php p($l->t('Developer documentation'));?> ↗</a>
+ <a class="app-external" target="_blank" rel="noreferrer" href="https://owncloud.org/dev"><?php p($l->t('Developer documentation'));?> ↗</a>
</li>
<?php endif; ?>
</script>
@@ -53,7 +53,7 @@ script(
{{/if}}
<h2 class="app-name">
{{#if detailpage}}
- <a href="{{detailpage}}" target="_blank">{{name}}</a>
+ <a href="{{detailpage}}" target="_blank" rel="noreferrer">{{name}}</a>
{{else}}
{{name}}
{{/if}}
@@ -82,13 +82,13 @@ script(
<?php p($l->t("Documentation:"));?>
{{#if documentation.user}}
<span class="userDocumentation">
- <a id="userDocumentation" class="appslink" href="{{documentation.user}}" target="_blank"><?php p($l->t('User documentation'));?> ↗</a>
+ <a id="userDocumentation" class="appslink" href="{{documentation.user}}" target="_blank" rel="noreferrer"><?php p($l->t('User documentation'));?> ↗</a>
</span>
{{/if}}
{{#if documentation.admin}}
<span class="adminDocumentation">
- <a id="adminDocumentation" class="appslink" href="{{documentation.admin}}" target="_blank"><?php p($l->t('Admin documentation'));?> ↗</a>
+ <a id="adminDocumentation" class="appslink" href="{{documentation.admin}}" target="_blank" rel="noreferrer"><?php p($l->t('Admin documentation'));?> ↗</a>
</span>
{{/if}}
</p>