3 namespace Friendica\Module;
5 use Friendica\BaseModule;
6 use Friendica\Core\L10n;
7 use Friendica\Core\Renderer;
10 * Show a credits page for all the developers who helped with the project
11 * (only contributors to the git repositories for friendica core and the
12 * addons repository will be listed though ATM)
14 class Credits extends BaseModule
16 public static function content()
18 /* fill the page with credits */
19 $credits_string = file_get_contents('CREDITS.txt');
21 $names = explode("\n", $credits_string);
23 $tpl = Renderer::getMarkupTemplate('credits.tpl');
24 return Renderer::replaceMacros($tpl, [
25 '$title' => L10n::t('Credits'),
26 '$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!'),