]> git.mxchange.org Git - friendica.git/blob - mod/credits.php
Ops, one more left ...
[friendica.git] / mod / credits.php
1 <?php
2 /**
3  * @file mod/credits.php
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 use Friendica\Core\L10n;
10
11 function credits_content()
12 {
13         /* fill the page with credits */
14         $credits_string = file_get_contents('util/credits.txt');
15         $names = explode("\n", htmlspecialchars($credits_string));
16         $tpl = get_markup_template('credits.tpl');
17         return replace_macros($tpl, [
18                 '$title'  => L10n::t('Credits'),
19                 '$thanks' => L10n::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'  => $names,
21         ]);
22 }