'; } 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(); /* * HTML HEADER */ ?> <?php $title_list[] = api_get_setting('siteName'); $title_list[] = $nameTools; $title_list[] = $_course['official_code']; $title_string = ''; for($i=0; $i<count($title_list);$i++) { if (!empty($title_list[$i])) { $title_string .=$title_list[$i]; if (isset($title_list[$i+1])) { $title_string .=' - '; } } } echo $title_string; ?> >