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

diff --git a/lib/template/footer.php b/lib/template/footer.php
index 132ce90..8647b2e 100644
--- a/lib/template/footer.php
+++ b/lib/template/footer.php
@@ -3,16 +3,15 @@
     <p>
         <!-- 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>)';
+          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['web_root']))
-        {
-          echo ' | ';
-          echo '<a href="' . $cfg['web_root'] . 'tos.php">' . t('Terms of Service') . '</a>';
+        if (false === empty($cfg['installation_done'])) {
+            echo ' <span>|</span> ';
+            echo '<a href="tos.php">' . t('TOS') . '</a>';
         }
         ?>
     </p>