X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcredits.php;h=f397bdca70f5f00898ae80d8cf3bf7b86f84f3e3;hb=761e94d134cf841a013127ba5070dcba525e0c6d;hp=880b4b34c4cdbaab87a18a9c1383340ef51d32ab;hpb=29f7ebe307c22b275466390937b82ccb3820fb1c;p=friendica.git diff --git a/mod/credits.php b/mod/credits.php index 880b4b34c4..f397bdca70 100644 --- a/mod/credits.php +++ b/mod/credits.php @@ -7,14 +7,15 @@ */ 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'); - return replace_macros($tpl, [ + $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,