X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/b5e3da64d80fb8ad7e2d8b388179e123c0f4aa89..HEAD:/lib/template/footer.php?ds=sidebyside

diff --git a/lib/template/footer.php b/lib/template/footer.php
index a72decf..64132c7 100644
--- a/lib/template/footer.php
+++ b/lib/template/footer.php
@@ -1,6 +1,24 @@
-
 <div id="copyright">
-<p><a href="https://gitorious.org/jirafeau"></a><br /><a href="http://www.gnu.org/licenses/agpl.html">agplv3</a> | <a href="https://gitorious.org/jirafeau">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="' . JIRAFEAU_WEBSITE . '" 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'])) {
+            if(false === empty($cfg['organisation'])) {
+                echo ' <span>|</span> ';
+                echo ' ' . t('DESIGNED')  . ' ' .  $cfg['organisation'];
+            }
+
+            echo ' <span>|</span> ';
+            echo '<a href="tos.php" target="_blank" rel="nooener noreferrer">' . t('TOS') . '</a>';
+        }
+        ?>
+    </p>
 </div>
 </div>
 <div id="jyraphe">