Skip to content
Snippets Groups Projects
footer.inc.php 1.27 KiB
Newer Older
<?php if (!isset($_SERVER['HTTP_X_PJAX'])) { ?>
Jared Hancock's avatar
Jared Hancock committed
    </div>
    <div id="footer">
        Copyright &copy; 2006-<?php echo date('Y'); ?>&nbsp;<?php echo (string) $ost->company ?: 'osTicket.com'; ?>&nbsp;All Rights Reserved.
Jared Hancock's avatar
Jared Hancock committed
    </div>
<?php
if(is_object($thisstaff) && $thisstaff->isStaff()) { ?>
    <div>
        <!-- Do not remove <img src="autocron.php" alt="" width="1" height="1" border="0" /> or your auto cron will cease to function -->
        <img src="autocron.php" alt="" width="1" height="1" border="0" />
        <!-- Do not remove <img src="autocron.php" alt="" width="1" height="1" border="0" /> or your auto cron will cease to function -->
    </div>
<?php
} ?>
</div>
<div id="overlay"></div>
<div id="loading">
    <i class="icon-spinner icon-spin icon-3x pull-left icon-light"></i>
    <h1>Loading ...</h1>
</div>
Peter Rotich's avatar
Peter Rotich committed
<div class="dialog" style="display:none;width:650px;" id="popup">
    <div class="body"></div>
</div>
<script type="text/javascript">
if ($.support.pjax) {
  $(document).on('click', 'a', function(event) {
    if (!$(this).hasClass('no-pjax')
        && !$(this).closest('.no-pjax').length)
      $.pjax.click(event, {container: $('#pjax-container'), timeout: 2000});
Jared Hancock's avatar
Jared Hancock committed
</body>
</html>
<?php } # endif X_PJAX ?>