* @author Bas Wijnen import/export to CSV */ // The language file that needs to be included. $language_file = array('glossary', 'admin'); // Including the global initialization file. require_once '../inc/global.inc.php'; require_once api_get_path(LIBRARY_PATH) . 'glossary.lib.php'; require_once api_get_path(LIBRARY_PATH) . 'export.lib.inc.php'; require_once api_get_path(LIBRARY_PATH) . 'import.lib.php'; $current_course_tool = TOOL_GLOSSARY; // The section (tabs). $this_section = SECTION_COURSES; // Notification for unauthorized people. api_protect_course_script(true); // Additional javascripts. $htmlHeadXtra[] = GlossaryManager::javascript_glossary(); $htmlHeadXtra[] = '<script> function setFocus(){ $("#glossary_title").focus(); } $(document).ready(function () { setFocus(); }); </script>'; // setting the tool constants $tool = TOOL_GLOSSARY; // Tracking event_access_tool(TOOL_GLOSSARY); function sorter($item1, $item2) { if ($item1[2] == $item2[2]) {