]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/template/footer.php
Define new constant JIRAFEAU_WEBSITE with the project's website
[jirafeau_project.git] / lib / template / footer.php
index 4356961c7eac224fc6754c2e59ac0d74da64fb55..efe238f730b420521a44c05156d0943c2d6bd982 100644 (file)
@@ -1,10 +1,22 @@
 <div id="copyright">
-<p><a href="https://gitorious.org/jirafeau/"><?php echo t('powered by Jirafeau'); ?></a><br />
-<a href="http://www.gnu.org/licenses/agpl.html">copyright</a> &copy; 2008-2012 <a href="https://gitorious.org/jirafeau/">
-<?php echo t('Jirafeau Project'); ?></a></p>
-<p><a href="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'])) {
+            echo ' <span>|</span> ';
+            echo '<a href="tos.php" target="_blank" rel="noopener noreferrer">' . t('TOS') . '</a>';
+        }
+        ?>
+    </p>
 </div>
 </div>
-
+<div id="jyraphe">
+</div>
 </body>
 </html>

patrick-canterino.de