]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/template/footer.php
[BUGFIX] disable php error reporting by default
[jirafeau_project.git] / lib / template / footer.php
index 50f7b83f5d35271dc20c9c4451a2131766252fdd..21ea5ad0be765e146b585c8a249bb8316be073ef 100644 (file)
@@ -1,6 +1,19 @@
-
 <div id="copyright">
-<p><a href="https://gitlab.com/mojo42/Jirafeau/wikis/home"></a><br /><a href="http://www.gnu.org/licenses/agpl.html">agplv3</a> | <a href="https://gitlab.com/mojo42/Jirafeau/wikis/home">Jirafeau Project</a> | <a href="<?php echo $cfg['web_root'] . '/tos.php'; ?>">Terms of Service</a></p>
+    <p>
+        <!-- Project links -->
+        <?php
+          echo t('MADE_WITH') .
+            ' <a href="https://gitlab.com/mojo42/Jirafeau" target="_blank" rel="noopener noreferrer">' . t('JI_PROJECT') . '</a>' .
+            ' (<a href="https://www.gnu.org/licenses/agpl.html" target="_blank" rel="noopener noreferrer"><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" target="_blank" rel="noopener noreferrer">' . t('TOS') . '</a>';
+        }
+        ?>
+    </p>
 </div>
 </div>
 <div id="jyraphe">

patrick-canterino.de