<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">' . 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>)';
+ ?>
<!-- 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 (true == $cfg['installation_done']) {
+ echo ' | ';
+ echo '<a href="' . JIRAFEAU_ABSPREFIX . 'tos.php">' . t('Terms of Service') . '</a>';
}
?>
</p>