Suggestion: Open footer links in new tabs, with link hijacking protection. Keeps user on the main Jirafeau page they don't lose data.

This commit is contained in:
j-broo 2019-11-11 21:41:50 +00:00 committed by Jerome Jutteau
parent cf120158b2
commit 374e4718dd

View File

@ -1,17 +1,16 @@
<div id="copyright">
<p>
<!-- Project links -->
<?php
echo t('MADE_WITH') .
' <a href="https://gitlab.com/mojo42/Jirafeau">' . t('JI_PROJECT') . '</a>' .
' (<a href="https://www.gnu.org/licenses/agpl.html"><abbr title="GNU Affero General Public License v3">AGPL-3.0</abbr></a>)';
' <a href="https://gitlab.com/mojo42/Jirafeau" target="_blank" rel="noopener noreferrer">' . t('JI_PROJECT') . '</a>' .
' (<a href="https://www.gnu.org/licenses/agpl.html" target="_blank" rel="noopener noreferrer"><abbr title="GNU Affero General Public License v3">AGPL-3.0</abbr></a>)';
?>
<!-- Installation dependend links -->
<?php
if (false === empty($cfg['installation_done'])) {
echo ' <span>|</span> ';
echo '<a href="tos.php">' . t('TOS') . '</a>';
echo '<a href="tos.php" target="_blank" rel="noopener noreferrer">' . t('TOS') . '</a>';
}
?>
</p>