X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/04145f58ba8130845b0841aa691f90153ef07077..4a0435033a0b5a97f89ad0e16db8b4ede1265639:/lib/template/footer.php

diff --git a/lib/template/footer.php b/lib/template/footer.php
index 132ce90..5bc158f 100644
--- a/lib/template/footer.php
+++ b/lib/template/footer.php
@@ -5,14 +5,13 @@
         <?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>)';
+            ' (<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['web_root']))
-        {
-          echo ' | ';
-          echo '<a href="' . $cfg['web_root'] . 'tos.php">' . t('Terms of Service') . '</a>';
+        if (true == $cfg['installation_done']) {
+            echo ' | ';
+            echo '<a href="' . JIRAFEAU_ABSPREFIX . 'tos.php">' . t('Terms of Service') . '</a>';
         }
         ?>
     </p>