X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/9093d4ec5187ecd2638bae1f2f9decce6b501642..1ed002b703c25eb4c68fab84f3bd70b649d65803:/lib/template/footer.php

diff --git a/lib/template/footer.php b/lib/template/footer.php
index 7b9e188..3abc290 100644
--- a/lib/template/footer.php
+++ b/lib/template/footer.php
@@ -2,9 +2,17 @@
 <div id="copyright">
     <p>
         <br />
-        <a href="https://www.gnu.org/licenses/agpl.html">agplv3</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 -->
+        <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>
+        <!-- Installation dependend links -->
+        <?php
+        if (false === empty($cfg['web_root']))
+        {
+          echo ' | ';
+          echo '<a href="' . $cfg['web_root'] . '/tos.php">' . t('Term Of Service') . '</a>';
+        }
+        ?>
     </p>
 </div>
 </div>