X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/9a9c9a8bf83241c193c5bef6361d41893e72dfd3..803001cfaa5a3665934ee79373e65475e9069859:/lib/template/footer.php diff --git a/lib/template/footer.php b/lib/template/footer.php index 5bc158f..21ea5ad 100644 --- a/lib/template/footer.php +++ b/lib/template/footer.php @@ -1,17 +1,16 @@ - <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/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 (true == $cfg['installation_done']) { - echo ' | '; - echo '<a href="' . JIRAFEAU_ABSPREFIX . 'tos.php">' . t('Terms of Service') . '</a>'; + if (false === empty($cfg['installation_done'])) { + echo ' <span>|</span> '; + echo '<a href="tos.php" target="_blank" rel="noopener noreferrer">' . t('TOS') . '</a>'; } ?> </p>