'; } // Include here the script ASCIIMathML.js if you want to show mathematical formulas and graphics // not only in the "Documents" tool, but elsewhere in the system. This setting is related to the // online editor's plugins 'asciimath' and 'asciisvg'. if (api_get_setting('include_asciimathml_script') == 'true') { $htmlHeadXtra[] = api_get_js('asciimath/ASCIIMathML.js'); } if (isset($httpHeadXtra) && $httpHeadXtra) { foreach ($httpHeadXtra as & $thisHttpHead) { header($thisHttpHead); } } // Get language iso-code for this page - ignore errors $document_language = api_get_language_isocode(); $course_title = $_course['name']; $title_list[] = api_get_setting('Institution'); $title_list[] = api_get_setting('siteName'); if (!empty($course_title)) { $title_list[] = $course_title; } if ($nameTools != '') { $title_list[] = $nameTools; } $title_string = ''; for($i=0; $i <?php echo Security::remove_XSS($title_string); ?> '; } if (isset($htmlHeadXtra) && $htmlHeadXtra) { foreach ($htmlHeadXtra as & $this_html_head) { echo $this_html_head; } } if (isset($htmlIncHeadXtra) && $htmlIncHeadXtra) { foreach ($htmlIncHeadXtra as & $this_html_head) { include($this_html_head); } } // The following include might be subject to a setting proper to the course or platform. include api_get_path(LIBRARY_PATH).'javascript/email_links.lib.js.php'; $favico = ''; if (isset($_configuration['multiple_access_urls']) && $_configuration['multiple_access_urls']) { $access_url_id = api_get_current_access_url_id(); if ($access_url_id != -1) { $url_info = api_get_access_url($access_url_id); $url = api_remove_trailing_slash(preg_replace('/https?:\/\//i', '', $url_info['url'])); $clean_url = replace_dangerous_char($url); $clean_url = str_replace('/', '-', $clean_url); $clean_url .= '/'; $homep = api_get_path(REL_PATH).'home/'.$clean_url; //homep for Home Path //we create the new dir for the new sites if (is_file($homep.'favicon.ico')) { $favico = ''; } } } echo $favico; if (!api_is_platform_admin()) { $extra_header = trim(api_get_setting('header_extra_content')); if (!empty($extra_header)) { echo $extra_header; } } ?> >