layout.guest.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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="shortcut 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); ?>" media="screen">
  20. <?php endforeach; ?>
  21. <?php foreach($_['jsfiles'] as $jsfile): ?>
  22. <script src="<?php print_unescaped($jsfile); ?>"></script>
  23. <?php endforeach; ?>
  24. <?php print_unescaped($_['headers']); ?>
  25. </head>
  26. <body id="<?php p($_['bodyid']);?>">
  27. <?php include('layout.noscript.warning.php'); ?>
  28. <div class="wrapper">
  29. <div class="v-align">
  30. <?php if ($_['bodyid'] === 'body-login' ): ?>
  31. <header role="banner">
  32. <div id="header">
  33. <div class="logo svg">
  34. <h1 class="hidden-visually">
  35. <?php p($theme->getName()); ?>
  36. </h1>
  37. </div>
  38. <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
  39. </div>
  40. </header>
  41. <?php endif; ?>
  42. <?php print_unescaped($_['content']); ?>
  43. <div class="push"></div><!-- for sticky footer -->
  44. </div>
  45. </div>
  46. <footer role="contentinfo">
  47. <p class="info">
  48. <?php print_unescaped($theme->getLongFooter()); ?>
  49. </p>
  50. </footer>
  51. </body>
  52. </html>