X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcredits.php;h=3d71c54b3aa0c4e61cd01d201efa576e41653da8;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=42894484a91ce148efde5eb81947fff395af7c60;hpb=91facd2d0a2869e2c26a5943d8afe1849d3891f8;p=friendica.git diff --git a/mod/credits.php b/mod/credits.php index 42894484a9..3d71c54b3a 100644 --- a/mod/credits.php +++ b/mod/credits.php @@ -5,16 +5,16 @@ * (only contributors to the git repositories for friendica core and the * addons repository will be listed though ATM) */ -use Friendica\App; + use Friendica\Core\L10n; use Friendica\Core\Renderer; function credits_content() { /* fill the page with credits */ - $credits_string = file_get_contents('util/credits.txt'); - $names = explode("\n", htmlspecialchars($credits_string)); - $tpl = get_markup_template('credits.tpl'); + $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!'),