/** * Get supplying export files * * @param * @return */ static function getSupplyingExportFiles($a_target_dir = ".") { include_once "./Services/YUI/classes/class.ilYuiUtil.php"; include_once "./Services/jQuery/classes/class.iljQueryUtil.php"; include_once "./Services/MediaObjects/classes/class.ilPlayerUtil.php"; include_once "./Services/UIComponent/Explorer2/classes/class.ilExplorerBaseGUI.php"; $scripts = array(array("source" => ilYuiUtil::getLocalPath('yahoo/yahoo-min.js'), "target" => $a_target_dir . '/js/yahoo/yahoo-min.js', "type" => "js"), array("source" => ilYuiUtil::getLocalPath('yahoo-dom-event/yahoo-dom-event.js'), "target" => $a_target_dir . '/js/yahoo/yahoo-dom-event.js', "type" => "js"), array("source" => ilYuiUtil::getLocalPath('animation/animation-min.js'), "target" => $a_target_dir . '/js/yahoo/animation-min.js', "type" => "js"), array("source" => './Services/JavaScript/js/Basic.js', "target" => $a_target_dir . '/js/Basic.js', "type" => "js"), array("source" => './Services/Accordion/js/accordion.js', "target" => $a_target_dir . '/js/accordion.js', "type" => "js"), array("source" => './Services/Accordion/css/accordion.css', "target" => $a_target_dir . '/css/accordion.css', "type" => "css"), array("source" => iljQueryUtil::getLocaljQueryPath(), "target" => $a_target_dir . '/js/jquery.js', "type" => "js"), array("source" => iljQueryUtil::getLocalMaphilightPath(), "target" => $a_target_dir . '/js/maphilight.js', "type" => "js"), array("source" => iljQueryUtil::getLocaljQueryUIPath(), "target" => $a_target_dir . '/js/jquery-ui-min.js', "type" => "js"), array("source" => './Services/COPage/js/ilCOPagePres.js', "target" => $a_target_dir . '/js/ilCOPagePres.js', "type" => "js"), array("source" => './Modules/Scorm2004/scripts/questions/pure.js', "target" => $a_target_dir . '/js/pure.js', "type" => "js"), array("source" => './Modules/Scorm2004/scripts/questions/question_handling.js', "target" => $a_target_dir . '/js/question_handling.js', "type" => "js"), array("source" => './Modules/TestQuestionPool/js/ilMatchingQuestion.js', "target" => $a_target_dir . '/js/ilMatchingQuestion.js', "type" => "js"), array("source" => './Modules/Scorm2004/templates/default/question_handling.css', "target" => $a_target_dir . '/css/question_handling.css', "type" => "css"), array("source" => './Modules/TestQuestionPool/templates/default/test_javascript.css', "target" => $a_target_dir . '/css/test_javascript.css', "type" => "css"), array("source" => ilPlayerUtil::getLocalMediaElementJsPath(), "target" => $a_target_dir . "/" . ilPlayerUtil::getLocalMediaElementJsPath(), "type" => "js"), array("source" => ilPlayerUtil::getLocalMediaElementCssPath(), "target" => $a_target_dir . "/" . ilPlayerUtil::getLocalMediaElementCssPath(), "type" => "css"), array("source" => ilExplorerBaseGUI::getLocalExplorerJsPath(), "target" => $a_target_dir . "/" . ilExplorerBaseGUI::getLocalExplorerJsPath(), "type" => "js"), array("source" => ilExplorerBaseGUI::getLocalJsTreeJsPath(), "target" => $a_target_dir . "/" . ilExplorerBaseGUI::getLocalJsTreeJsPath(), "type" => "js"), array("source" => './Modules/LearningModule/js/LearningModule.js', "target" => $a_target_dir . '/js/LearningModule.js', "type" => "js")); $mathJaxSetting = new ilSetting("MathJax"); $use_mathjax = $mathJaxSetting->get("enable"); if ($use_mathjax) { $scripts[] = array("source" => "", "target" => $mathJaxSetting->get("path_to_mathjax"), "type" => "js"); } return $scripts; }