Prevent the original page from being modified by the opened link

This commit is contained in:
mildis 2020-09-13 12:02:26 +02:00 committed by Frédéric Guillot
parent 591ca2762c
commit 50fdb54618
3 changed files with 5 additions and 5 deletions

View File

@ -5,11 +5,11 @@
<ul>
<li>
<?= t('Official website:') ?>
<a href="https://kanboard.org/" target="_blank" rel="noreferer">https://kanboard.org/</a>
<a href="https://kanboard.org/" target="_blank" rel="noopener noreferrer">https://kanboard.org/</a>
</li>
<li>
<?= t('Author:') ?>
<strong>Frédéric Guillot</strong> (<a href="https://github.com/kanboard/kanboard/graphs/contributors" target="_blank"><?= t('contributors') ?></a>)
<strong>Frédéric Guillot</strong> (<a href="https://github.com/kanboard/kanboard/graphs/contributors" target="_blank" rel="noopener noreferrer"><?= t('contributors') ?></a>)
</li>
<li>
<?= t('License:') ?>

View File

@ -15,7 +15,7 @@
<table>
<tr>
<th colspan="3">
<a href="<?= $plugin['homepage'] ?>" target="_blank" rel="noreferrer"><?= $this->text->e($plugin['title']) ?></a>
<a href="<?= $plugin['homepage'] ?>" target="_blank" rel="noopener noreferrer"><?= $this->text->e($plugin['title']) ?></a>
</th>
</tr>
<tr>

View File

@ -17,7 +17,7 @@
<tr>
<td>
<?php if ($plugin->getPluginHomepage()): ?>
<a href="<?= $plugin->getPluginHomepage() ?>" target="_blank" rel="noreferrer"><?= $this->text->e($plugin->getPluginName()) ?></a>
<a href="<?= $plugin->getPluginHomepage() ?>" target="_blank" rel="noopener noreferrer"><?= $this->text->e($plugin->getPluginName()) ?></a>
<?php else: ?>
<?= $this->text->e($plugin->getPluginName()) ?>
<?php endif ?>
@ -59,7 +59,7 @@
<tr>
<td>
<?php if ($plugin->getPluginHomepage()): ?>
<a href="<?= $plugin->getPluginHomepage() ?>" target="_blank" rel="noreferrer"><?= $this->text->e($plugin->getPluginName()) ?></a>
<a href="<?= $plugin->getPluginHomepage() ?>" target="_blank" rel="noopener noreferrer"><?= $this->text->e($plugin->getPluginName()) ?></a>
<?php else: ?>
<?= $this->text->e($plugin->getPluginName()) ?>
<?php endif ?>