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 regels
832 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. function credits_content (&$a) {
  8. /* fill the page with credits */
  9. $f = fopen('util/credits.txt','r');
  10. $names = fread($f, filesize('util/credits.txt'));
  11. $arr = explode("\n", htmlspecialchars($names));
  12. fclose($f);
  13. $tpl = get_markup_template('credits.tpl');
  14. return replace_macros( $tpl, array(
  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' => $arr,
  18. ));
  19. }