18 private static $min =
".min";
35 $a_tpl->addJavaScript(self::getLocaljQueryPath(),
true, 0);
36 $a_tpl->addJavaScript(
'./libs/bower/bower_components/jquery-migrate/jquery-migrate.min.js',
true, 0);
53 $a_tpl->addJavaScript(self::getLocaljQueryUIPath(),
true, 0);
62 return "./libs/bower/bower_components/jquery/dist/jquery" . self::$min .
".js";
71 return "./libs/bower/bower_components/jquery-ui/jquery-ui" . self::$min .
".js";
87 $tpl->addJavaScript(self::getLocalMaphilightPath(),
true, 1);
96 return "./libs/bower/bower_components/maphilight/jquery.maphilight.min.js";
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
static getLocaljQueryUIPath()
static initMaphilight()
Inits and add maphilight to the general template.
static initjQueryUI($a_tpl=null)
inits and adds the jQuery-UI JS-File to the global template (see included_components.txt for included components)
static initjQuery(ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template
static getLocalMaphilightPath()
Get local path of maphilight file.
static getLocaljQueryPath()