/** * Init * * @param ilTemplate $a_tpl template object */ function init($a_tpl = null) { global $tpl; if ($a_tpl == null) { $a_tpl = $tpl; } foreach (ilUIFramework::getJSFiles() as $f) { $a_tpl->addJavaScript($f, true, 1); } foreach (ilUIFramework::getCssFiles() as $f) { $a_tpl->addCss($f); } }