X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fevents.php;h=d82fbd818e4094058c6ab3d5bc383f74492e246f;hb=bca6d9b0896e174e6a0704359d5d92aff8ef84db;hp=69f6b6f326853cf2923379c94d982ce50008d57d;hpb=0007da8630feed2f3207b95d226309a5f03ded43;p=friendica.git diff --git a/mod/events.php b/mod/events.php index 69f6b6f326..d82fbd818e 100644 --- a/mod/events.php +++ b/mod/events.php @@ -256,6 +256,11 @@ function events_content(App $a) // get the translation strings for the callendar $i18n = Event::getStrings(); + DI::page()->registerStylesheet('view/asset/fullcalendar/dist/fullcalendar.min.css'); + DI::page()->registerStylesheet('view/asset/fullcalendar/dist/fullcalendar.print.min.css', 'print'); + DI::page()->registerFooterScript('view/asset/moment/min/moment-with-locales.min.js'); + DI::page()->registerFooterScript('view/asset/fullcalendar/dist/fullcalendar.min.js'); + $htpl = Renderer::getMarkupTemplate('event_head.tpl'); DI::page()['htmlhead'] .= Renderer::replaceMacros($htpl, [ '$module_url' => '/events',