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.

22 lines
877 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. if(! function_exists('credits_content')) {
  8. function credits_content (&$a) {
  9. /* fill the page with credits */
  10. $f = fopen('util/credits.txt','r');
  11. $names = fread($f, filesize('util/credits.txt'));
  12. $arr = explode("\n", htmlspecialchars($names));
  13. fclose($f);
  14. $tpl = get_markup_template('credits.tpl');
  15. return replace_macros( $tpl, array(
  16. '$title' => t('Credits'),
  17. '$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!'),
  18. '$names' => $arr,
  19. ));
  20. }
  21. }