getTitle()) ? $cfg->getTitle() : 'osTicket :: '.__('Support Ticket System'); $signin_url = ROOT_PATH . "login.php" . ($thisclient ? "?e=".urlencode($thisclient->getEmail()) : ""); $signout_url = ROOT_PATH . "logout.php?auth=".$ost->getLinkToken(); header("Content-Type: text/html; charset=UTF-8"); /* Anpassung Anfang: help-topic-drop-down (jsTree) header("Content-Security-Policy: frame-ancestors ".$cfg->getAllowIframes()."; script-src 'self' 'unsafe-inline'; object-src 'none'"); */ // jsTree uses a blob ressource for window.Worker (jstree.min.js) -> we need to allow 'worker-src 'self' blob:' header("Content-Security-Policy: frame-ancestors ".$cfg->getAllowIframes()."; script-src 'self' 'unsafe-inline'; object-src 'none'; worker-src 'self' blob:"); // Anpassung Ende: help-topic-drop-down (jsTree) if (($lang = Internationalization::getCurrentLanguage())) { $langs = array_unique(array($lang, $cfg->getPrimaryLanguage())); $langs = Internationalization::rfc1766($langs); header("Content-Language: ".implode(', ', $langs)); } ?> setWarning(__('osTicket no longer supports Internet Explorer.')); ?>> <?php echo Format::htmlchars($title); ?> getTopicSortMode() != 'm') { ?> getExtraHeaders())) { echo "\n\t".implode("\n\t", $headers)."\n"; } // Offer alternate links for search engines // @see https://support.google.com/webmasters/answer/189077?hl=en if (($all_langs = Internationalization::getConfiguredSystemLanguages()) && (count($all_langs) > 1) ) { $langs = Internationalization::rfc1766(array_keys($all_langs)); $qs = array(); parse_str($_SERVER['QUERY_STRING'], $qs); foreach ($langs as $L) { $qs['lang'] = $L; ?> ' #, '.'.$hpClass.' {position:relative; display: block;}' , '.'.$hpClass.' > * {position:relative; z-index:',$overlayZIndex,'; background-color:#fff;}' , '#header {z-index:',$overlayZIndex,'; background-color:#fff;}' , '.'.$hpClass.' > *:last-child {' , 'position: absolute; top:',$HPtopPos,'px; z-index:',$HPzIndex,';' , '}' , ''; // Anpassung Ende: Honeypot ?>
getError()) echo sprintf('
%s
', $ost->getError()); elseif($ost->getWarning()) echo sprintf('
%s
', $ost->getWarning()); elseif($ost->getNotice()) echo sprintf('
%s
', $ost->getNotice()); ?>