side_footer.php 1.1 KB

123456789101112131415161718192021222324252627
  1. <footer class="side_widgets_footer side_widget"><ul>
  2. <li>Halcyon for <a href="https://github.com/tootsuite/mastodon">Mastodon</a> and <a href="https://git.pleroma.social/pleroma/pleroma">Pleroma</a></li>
  3. <li><a class="footer_widget_about">About</a></li>
  4. <li><a class="footer_widget_terms">Terms</a></li>
  5. <li><a href="https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md">Apps</a></li>
  6. <li><a href="https://notabug.org/halcyon-suite/halcyon">Source code</a></li>
  7. <li><a href="https://instances.social">Other instances</a></li>
  8. <li><a href="/privacy">Privacy policy</a></li>
  9. <?php
  10. if(file_exists("config/imprint.txt")) {
  11. echo "<li><a href='/imprint'>Imprint</a></li>";
  12. }
  13. if(file_exists("config/footerlinks.txt")) {
  14. $footerlinks = json_decode(file_get_contents("config/footerlinks.txt"));
  15. for($i=0;$i<count($footerlinks);$i++) {
  16. if($footerlinks[$i]->login == true) {
  17. echo "<li><a href='".$footerlinks[$i]->link."'>".$footerlinks[$i]->title."</a></li>";
  18. }
  19. }
  20. }
  21. ?>
  22. <li>Version <?php echo file_get_contents("version.txt") ?></li>
  23. </ul>
  24. </footer>
  25. <img style="display:block;margin:16px auto;width: 30%;opacity: .3;" src="/assets/images/halcyon.png">