]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/template/footer.php
[BUGFIX] prevent NEXT_STEP button to be disproportionnate cause of \n in ""
[jirafeau_project.git] / lib / template / footer.php
index a8c080d0ba986101468b5d287c98dd463b839d75..8647b2eb7d12d4a472bf11dde4f7c89e619e5337 100644 (file)
@@ -1,10 +1,19 @@
 
 <div id="copyright">
     <p>
 
 <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>
     </p>
 </div>
 </div>

patrick-canterino.de