X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/0f8fa96f56dde46864336cd4864e158b55248f58..8f56b543a56586eefcb12a73c6b24ef2e252038e:/lib/template/footer.php?ds=sidebyside

diff --git a/lib/template/footer.php b/lib/template/footer.php
index a8c080d..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"><abbr title="Affero General Public License">AGPL</abbr>v3</a> |
-        <a href="https://gitlab.com/mojo42/Jirafeau"><?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>