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