layout.base.php 1.4 KB

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <!--[if lte IE 8]><html class="ng-csp ie ie8 lte9 lte8" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
  3. <!--[if IE 9]><html class="ng-csp ie ie9 lte9" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
  4. <!--[if (gt IE 9)|!(IE)]><!--><html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><!--<![endif]-->
  5. <head data-requesttoken="<?php p($_['requesttoken']); ?>">
  6. <meta charset="utf-8">
  7. <title>
  8. <?php p($theme->getTitle()); ?>
  9. </title>
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
  12. <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>">
  13. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
  14. <?php foreach ($_['cssfiles'] as $cssfile): ?>
  15. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="screen">
  16. <?php endforeach; ?>
  17. <?php foreach ($_['jsfiles'] as $jsfile): ?>
  18. <script src="<?php print_unescaped($jsfile); ?>"></script>
  19. <?php endforeach; ?>
  20. <?php print_unescaped($_['headers']); ?>
  21. </head>
  22. <body id="body-public">
  23. <?php include('layout.noscript.warning.php'); ?>
  24. <?php print_unescaped($_['content']); ?>
  25. </body>
  26. </html>