added game creadits to the module page

This commit is contained in:
Tobias Diekershoff 2022-02-20 08:06:37 +01:00
parent fcd93a1def
commit 44763ecc9e
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ function mahjong_content(&$a) {
</div>
</app-root>
EOT;
$o .= '<div id="mahcredits">' . DI::l10n()->t('Game credits: <a href="%s" target="_new">mah - Mahjong Solitaire Game</a> by ffalt (MIT license).') . '</div>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/runtime.js" type="module"></script>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/polyfills.js" type="module"></script>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/main.js" type="module"></script>';