side_footer.php 1.2 KB

1234567891011121314151617181920212223242526
  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 href="/instance"><?=_('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">