X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/0f8fa96f56dde46864336cd4864e158b55248f58..0a4f3d86b718987e4c25896a75df0b96947044b0:/lib/template/footer.php

diff --git a/lib/template/footer.php b/lib/template/footer.php
index a8c080d..132ce90 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"><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('Jirafeau Project') . '</a>' .
+            ' (<a href="https://www.gnu.org/licenses/agpl.html"><abbr title="Affero General Public License">AGPL</abbr>v3</a>)';
+        ?>
+        <!-- Installation dependend links -->
+        <?php
+        if (false === empty($cfg['web_root']))
+        {
+          echo ' | ';
+          echo '<a href="' . $cfg['web_root'] . 'tos.php">' . t('Terms of Service') . '</a>';
+        }
+        ?>
     </p>
 </div>
 </div>