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> <ul>
<li> <li>
<?= t('Official website:') ?> <?= 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>
<li> <li>
<?= t('Author:') ?> <?= 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>
<li> <li>
<?= t('License:') ?> <?= t('License:') ?>

View File

@@ -15,7 +15,7 @@
<table> <table>
<tr> <tr>
<th colspan="3"> <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> </th>
</tr> </tr>
<tr> <tr>

View File

@@ -17,7 +17,7 @@
<tr> <tr>
<td> <td>
<?php if ($plugin->getPluginHomepage()): ?> <?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: ?> <?php else: ?>
<?= $this->text->e($plugin->getPluginName()) ?> <?= $this->text->e($plugin->getPluginName()) ?>
<?php endif ?> <?php endif ?>
@@ -59,7 +59,7 @@
<tr> <tr>
<td> <td>
<?php if ($plugin->getPluginHomepage()): ?> <?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: ?> <?php else: ?>
<?= $this->text->e($plugin->getPluginName()) ?> <?= $this->text->e($plugin->getPluginName()) ?>
<?php endif ?> <?php endif ?>