]> git.mxchange.org Git - friendica.git/blob - mod/credits.php
Rewrite Proxy module
[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 use Friendica\Core\Renderer;
11
12 function credits_content()
13 {
14         /* fill the page with credits */
15         $credits_string = file_get_contents('CREDITS.txt');
16         $names = explode("\n", $credits_string);
17         $tpl = Renderer::getMarkupTemplate('credits.tpl');
18         return Renderer::replaceMacros($tpl, [
19                 '$title'  => L10n::t('Credits'),
20                 '$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!'),
21                 '$names'  => $names,
22         ]);
23 }