X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fcredits.php;h=3d71c54b3aa0c4e61cd01d201efa576e41653da8;hb=6319d9671c9924617ccd11077190b6fc74b3f5a8;hp=a501dee1f0d9cff3d3d347a2254eebbe21938874;hpb=c66af117b37d486700c7bc656c883bc2196728da;p=friendica.git diff --git a/mod/credits.php b/mod/credits.php index a501dee1f0..3d71c54b3a 100644 --- a/mod/credits.php +++ b/mod/credits.php @@ -1,21 +1,23 @@ t('Credits'), - '$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!'), + $credits_string = file_get_contents('CREDITS.txt'); + $names = explode("\n", $credits_string); + $tpl = Renderer::getMarkupTemplate('credits.tpl'); + return Renderer::replaceMacros($tpl, [ + '$title' => L10n::t('Credits'), + '$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!'), '$names' => $names, ]); }