Skip to content
Snippets Groups Projects
login.header.php 1.08 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?php
    defined('OSTSCPINC') or die('Invalid path');
    
    JediKev's avatar
    JediKev committed
    header("Content-Security-Policy: frame-ancestors ".$cfg->getAllowIframes().";");
    
    ?>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    
        <meta http-equiv="refresh" content="7200" />
    
        <title>osTicket :: <?php echo __('Agent Login'); ?></title>
    
        <link rel="stylesheet" href="css/login.css" type="text/css" />
    
        <link type="text/css" rel="stylesheet" href="<?php echo ROOT_PATH; ?>css/font-awesome.min.css">
    
        <meta name="robots" content="noindex" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="pragma" content="no-cache" />
    
        <meta name="viewport" content="width=device-width, initial-scale=1">
    
    JediKev's avatar
    JediKev committed
        <script type="text/javascript" src="<?php echo ROOT_PATH; ?>js/jquery-3.3.1.min.js"></script>
    
        <script type="text/javascript">
            $(document).ready(function() {
                $("input:not(.dp):visible:enabled:first").focus();
             });
        </script>
    </head>
    <body id="loginBody">