]> git.mxchange.org Git - friendica.git/blob - mod/credits.php
Create L10n class
[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 use Friendica\App;
9
10 function credits_content()
11 {
12         /* fill the page with credits */
13         $credits_string = file_get_contents('util/credits.txt');
14         $names = explode("\n", htmlspecialchars($credits_string));
15         $tpl = get_markup_template('credits.tpl');
16         return replace_macros($tpl, [
17                 '$title'  => t('Credits'),
18                 '$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!'),
19                 '$names'  => $names,
20         ]);
21 }