X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/e307acab29c34bb35f80c89677e20a6c5c054faf..db2c9c7773cd5d14b732689b2e844e62d2773be5:/lib/template/footer.php?ds=inline

diff --git a/lib/template/footer.php b/lib/template/footer.php
index d947421..8647b2e 100644
--- a/lib/template/footer.php
+++ b/lib/template/footer.php
@@ -1,10 +1,19 @@
 
 <div id="copyright">
     <p>
-        <br />
-        <a href="https://www.gnu.org/licenses/agpl.html">agplv3</a> |
-        <a href="https://gitlab.com/mojo42/Jirafeau/wikis/home"><?php echo t('Jirafeau Project') ?></a> |
-        <a href="<?php echo rtrim($cfg['web_root'], '/') . '/tos.php'; ?>"><?php echo t('Term Of Service') ?></a>
+        <!-- Project links -->
+        <?php
+          echo t('MADE_WITH') .
+            ' <a href="https://gitlab.com/mojo42/Jirafeau">' . t('JI_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['installation_done'])) {
+            echo ' <span>|</span> ';
+            echo '<a href="tos.php">' . t('TOS') . '</a>';
+        }
+        ?>
     </p>
 </div>
 </div>