]> git.mxchange.org Git - friendica.git/blob - mod/credits.php
Merge pull request #2170 from fabrixxm/issue_1953
[friendica.git] / mod / credits.php
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
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 }