layout.guest.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]><html class="ng-csp ie ie6 lte9 lte8 lte7"><![endif]-->
  3. <!--[if IE 7]><html class="ng-csp ie ie7 lte9 lte8 lte7"><![endif]-->
  4. <!--[if IE 8]><html class="ng-csp ie ie8 lte9 lte8"><![endif]-->
  5. <!--[if IE 9]><html class="ng-csp ie ie9 lte9"><![endif]-->
  6. <!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
  7. <!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
  8. <head data-requesttoken="<?php p($_['requesttoken']); ?>">
  9. <title>
  10. <?php p($theme->getTitle()); ?>
  11. </title>
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <meta name="apple-itunes-app" content="app-id=543672169">
  15. <link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
  16. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
  17. <?php foreach($_['cssfiles'] as $cssfile): ?>
  18. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
  19. <?php endforeach; ?>
  20. <?php foreach($_['jsfiles'] as $jsfile): ?>
  21. <script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
  22. <?php endforeach; ?>
  23. <?php foreach($_['headers'] as $header): ?>
  24. <?php
  25. print_unescaped('<'.$header['tag'].' ');
  26. foreach($header['attributes'] as $name=>$value) {
  27. print_unescaped("$name='$value' ");
  28. };
  29. print_unescaped('/>');
  30. ?>
  31. <?php endforeach; ?>
  32. </head>
  33. <body id="body-login">
  34. <div class="wrapper"><!-- for sticky footer -->
  35. <header><div id="header">
  36. <img src="<?php print_unescaped(image_path('', 'logo.svg')); ?>" class="svg" alt="<?php p($theme->getName()); ?>" />
  37. <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
  38. </div></header>
  39. <?php print_unescaped($_['content']); ?>
  40. <div class="push"></div><!-- for sticky footer -->
  41. </div>
  42. <footer>
  43. <p class="info">
  44. <?php print_unescaped($theme->getLongFooter()); ?>
  45. </p>
  46. </footer>
  47. </body>
  48. </html>