layout.guest.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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="referrer" content="never">
  12. <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
  13. <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
  14. <meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
  15. <link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
  16. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
  17. <link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="#1d2d44">
  18. <?php foreach($_['cssfiles'] as $cssfile): ?>
  19. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>">
  20. <?php endforeach; ?>
  21. <?php foreach($_['printcssfiles'] as $cssfile): ?>
  22. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
  23. <?php endforeach; ?>
  24. <?php foreach($_['jsfiles'] as $jsfile): ?>
  25. <script src="<?php print_unescaped($jsfile); ?>"></script>
  26. <?php endforeach; ?>
  27. <?php print_unescaped($_['headers']); ?>
  28. </head>
  29. <body id="<?php p($_['bodyid']);?>">
  30. <?php include('layout.noscript.warning.php'); ?>
  31. <div class="wrapper">
  32. <div class="v-align">
  33. <?php if ($_['bodyid'] === 'body-login' ): ?>
  34. <header role="banner">
  35. <div id="header">
  36. <div class="logo svg">
  37. <h1 class="hidden-visually">
  38. <?php p($theme->getName()); ?>
  39. </h1>
  40. </div>
  41. <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
  42. </div>
  43. </header>
  44. <?php endif; ?>
  45. <?php print_unescaped($_['content']); ?>
  46. <div class="push"></div><!-- for sticky footer -->
  47. </div>
  48. </div>
  49. <footer role="contentinfo">
  50. <p class="info">
  51. <?php print_unescaped($theme->getLongFooter()); ?>
  52. </p>
  53. </footer>
  54. </body>
  55. </html>