X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/deb9d5b531b7d4e2f314db2fc0defd2a50f8b609..719b7e58a95d36a081e4cf7ee2028e0d0e95408e:/lib/template/footer.php?ds=sidebyside

diff --git a/lib/template/footer.php b/lib/template/footer.php
index d947421..c910e71 100644
--- a/lib/template/footer.php
+++ b/lib/template/footer.php
@@ -1,10 +1,20 @@
 
 <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('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 (true == $cfg['installation_done'])
+        {
+          echo ' | ';
+          echo '<a href="' . JIRAFEAU_ABSPREFIX . 'tos.php">' . t('Terms of Service') . '</a>';
+        }
+        ?>
     </p>
 </div>
 </div>