Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
765 B

  1. <?php
  2. /**
  3. * Show a credits page for all the developers who helped with the project
  4. * (only contributors to the git repositories for friendica core and the
  5. * addons repository will be listed though ATM)
  6. */
  7. use Friendica\App;
  8. function credits_content()
  9. {
  10. /* fill the page with credits */
  11. $credits_string = file_get_contents('util/credits.txt');
  12. $names = explode("\n", htmlspecialchars($credits_string));
  13. $tpl = get_markup_template('credits.tpl');
  14. return replace_macros($tpl, [
  15. '$title' => t('Credits'),
  16. '$thanks' => t('Friendica is a community project, that would not be possible without the help of many people. Here is a list of those who have contributed to the code or the translation of Friendica. Thank you all!'),
  17. '$names' => $names,
  18. ]);
  19. }