header.inc.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. $version = '1-1-1';
  3. header('Content-Type: text/html; charset=utf-8');
  4. header('Cache-Control: private');
  5. ?>
  6. <!DOCTYPE html>
  7. <html lang=en>
  8. <head>
  9. <meta charset=utf-8>
  10. <?php
  11. if (is_ie()) {
  12. // Always force latest IE rendering engine and chrome frame (also hides compatibility mode button)
  13. ?>
  14. <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
  15. <?php
  16. }
  17. ?>
  18. <?php /* Disable phone number detection on apple devices. */?>
  19. <meta name=format-detection content="telephone=no">
  20. <?php /* I don't think we ever want this to be indexed*/ ?>
  21. <meta name=robots content="noindex,nofollow,noarchive">
  22. <meta name=author content="https://github.com/ErikDubbelboer/">
  23. <title><?php echo format_html($server['host'])?> - phpRedisAdmin</title>
  24. <?php foreach ($page['css'] as $css) { ?>
  25. <link rel=stylesheet href="css/<?php echo $css; ?>.css?v=<?php echo $version;?>" media=all>
  26. <?php } ?>
  27. <link rel="shortcut icon" href="images/favicon.png">
  28. <?php foreach ($page['js'] as $js) { ?>
  29. <script src="js/<?php echo $js; ?>.js?v=<?php echo $version;?>"></script>
  30. <?php } ?>
  31. </head>
  32. <body>