-
<div id="copyright">
<p>
<!-- Project links -->
<?php
- echo t('Made with') .
- ' <a href="https://gitlab.com/mojo42/Jirafeau">' . t('Jirafeau Project') . '</a>' .
- ' (<a href="https://www.gnu.org/licenses/agpl.html"><abbr title="GNU Affero General Public License v3">AGPL-3.0</abbr></a>)';
+ echo t('MADE_WITH') .
+ ' <a href="https://gitlab.com/pcanterino/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 -->
+ <!-- Installation dependent links -->
<?php
- if (true == $cfg['installation_done']) {
+ if (false === empty($cfg['installation_done'])) {
echo ' <span>|</span> ';
- echo '<a href="' . JIRAFEAU_ABSPREFIX . 'tos.php">' . t('Terms of Service') . '</a>';
+ echo '<a href="tos.php" target="_blank" rel="noopener noreferrer">' . t('TOS') . '</a>';
}
?>
</p>