]> git.p6c8.net - jirafeau.git/blobdiff - lib/template/footer.php
Added link to Sodium extension in README
[jirafeau.git] / lib / template / footer.php
index 7b9e188a5fa3af72adebe38db1ab2a8a19dc612f..e0856a873a889f17211c8fdcce2764e2c403ddf7 100644 (file)
@@ -1,10 +1,18 @@
-
 <div id="copyright">
     <p>
 <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 -->
+        <?php
+          echo t('MADE_WITH') .
+            ' <a href="https://gitlab.com/jirafeau/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 dependent 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>
     </p>
 </div>
 </div>

patrick-canterino.de