X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/18b6e57c0091dfdd14427c940346da59298b29eb..1651878a5681bb9017a27e1f2c2d280378da25af:/lib/template/footer.php?ds=sidebyside diff --git a/lib/template/footer.php b/lib/template/footer.php index 3abc290..21ea5ad 100644 --- a/lib/template/footer.php +++ b/lib/template/footer.php @@ -1,16 +1,16 @@ - <div id="copyright"> <p> - <br /> <!-- Project links --> - <a href="https://www.gnu.org/licenses/agpl.html"><abbr title="Affero General Public License">AGPL</abbr>v3</a> | - <a href="https://gitlab.com/mojo42/Jirafeau"><?php echo t('Jirafeau Project') ?></a> + <?php + 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 (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>