pull/1265/head
Roland Häder 2022-06-23 07:37:04 +02:00
parent 37f3f0e621
commit 4239112dec
No known key found for this signature in database
GPG Key ID: C82EDE5DDFA0BA77
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ function highlightjs_install()
Hook::register('footer', __FILE__, 'highlightjs_footer'); Hook::register('footer', __FILE__, 'highlightjs_footer');
} }
function highlightjs_head(App $a, strring &$b) function highlightjs_head(App $a, string &$str)
{ {
if ($a->getCurrentTheme() == 'frio') { if ($a->getCurrentTheme() == 'frio') {
$style = 'bootstrap'; $style = 'bootstrap';
@ -27,7 +27,7 @@ function highlightjs_head(App $a, strring &$b)
DI::page()->registerStylesheet(__DIR__ . '/asset/styles/' . $style . '.css'); DI::page()->registerStylesheet(__DIR__ . '/asset/styles/' . $style . '.css');
} }
function highlightjs_footer(App $a, string &$b) function highlightjs_footer(App $a, string &$str)
{ {
DI::page()->registerFooterScript(__DIR__ . '/asset/highlight.pack.js'); DI::page()->registerFooterScript(__DIR__ . '/asset/highlight.pack.js');
DI::page()->registerFooterScript(__DIR__ . '/highlightjs.js'); DI::page()->registerFooterScript(__DIR__ . '/highlightjs.js');