X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/7adb69c9ae18d7f72798692d6c22925e53932a72..9493cba088d6a0554687ecba4091f72c19300f1d:/lib/template/footer.php?ds=sidebyside diff --git a/lib/template/footer.php b/lib/template/footer.php index 85bda50..c7bad70 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/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 --> + <!-- Installation dependent links --> <?php - if (false === empty($cfg['web_root'])) - { - echo ' | '; - echo '<a href="' . $cfg['web_root'] . 'tos.php">' . t('Term 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>