X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/9e4d7b5f220d21aa832f88efd784e8f464eb5384..8d680388c6ee5495386a31ea22d794df26d5c910:/lib/template/footer.php diff --git a/lib/template/footer.php b/lib/template/footer.php index 132ce90..e0856a8 100644 --- a/lib/template/footer.php +++ b/lib/template/footer.php @@ -1,18 +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="Affero General Public License">AGPL</abbr>v3</a>)'; + echo t('MADE_WITH') . + ' <a href="https://gitlab.com/jirafeau/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 (false === empty($cfg['web_root'])) - { - echo ' | '; - echo '<a href="' . $cfg['web_root'] . '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>