layout.base.php 1.4 KB

12345678910111213141516171819202122232425262728
  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. <meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
  13. <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>">
  14. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
  15. <?php foreach ($_['cssfiles'] as $cssfile): ?>
  16. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="screen">
  17. <?php endforeach; ?>
  18. <?php foreach ($_['jsfiles'] as $jsfile): ?>
  19. <script src="<?php print_unescaped($jsfile); ?>"></script>
  20. <?php endforeach; ?>
  21. <?php print_unescaped($_['headers']); ?>
  22. </head>
  23. <body id="body-public">
  24. <?php include('layout.noscript.warning.php'); ?>
  25. <?php print_unescaped($_['content']); ?>
  26. </body>
  27. </html>