1
0

layout.guest.php 2.2 KB

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