]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/template/footer.php
[TASK] Refactor server send limitation functions
[jirafeau_project.git] / lib / template / footer.php
index 383839bf1a54b3a31e9a564d988a932298a67439..8647b2eb7d12d4a472bf11dde4f7c89e619e5337 100644 (file)
@@ -1,9 +1,23 @@
 
 <div id="copyright">
 
 <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">Jyrafeau 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">' . 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>
 <div id="jyraphe">
 </div>
 </body>
 </div>
 </div>
 <div id="jyraphe">
 </div>
 </body>
-</html>
\ No newline at end of file
+</html>

patrick-canterino.de