]> git.mxchange.org Git - friendica.git/blob - mod/credits.php
Cleanup /format pre-move
[friendica.git] / mod / credits.php
1 <?php
2
3 /**
4  * Show a credits page for all the developers who helped with the project
5  * (only contributors to the git repositories for friendica core and the
6  * addons repository will be listed though ATM)
7  */
8
9
10 function credits_content(App $a) {
11         /* fill the page with credits */
12         $f = fopen('util/credits.txt', 'r');
13         $names = fread($f, filesize('util/credits.txt'));
14         $arr = explode("\n", htmlspecialchars($names));
15         fclose($f);
16         $tpl = get_markup_template('credits.tpl');
17         return replace_macros($tpl, array(
18                 '$title'  => t('Credits'),
19                 '$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!'),
20                 '$names'  => $arr,
21         ));
22 }