layout.guest.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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="apple-itunes-app" content="app-id=543672169">
  14. <link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
  15. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
  16. <?php foreach($_['cssfiles'] as $cssfile): ?>
  17. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
  18. <?php endforeach; ?>
  19. <?php foreach($_['jsfiles'] as $jsfile): ?>
  20. <script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
  21. <?php endforeach; ?>
  22. <?php foreach($_['headers'] as $header): ?>
  23. <?php
  24. print_unescaped('<'.$header['tag'].' ');
  25. foreach($header['attributes'] as $name=>$value) {
  26. print_unescaped("$name='$value' ");
  27. };
  28. print_unescaped('/>');
  29. ?>
  30. <?php endforeach; ?>
  31. </head>
  32. <body id="body-login">
  33. <div class="wrapper"><!-- for sticky footer -->
  34. <header><div id="header">
  35. <img src="<?php print_unescaped(image_path('', 'logo.svg')); ?>" class="svg" alt="<?php p($theme->getName()); ?>" />
  36. <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
  37. </div></header>
  38. <?php print_unescaped($_['content']); ?>
  39. <div class="push"></div><!-- for sticky footer -->
  40. </div>
  41. <footer>
  42. <p class="info">
  43. <?php print_unescaped($theme->getLongFooter()); ?>
  44. </p>
  45. </footer>
  46. </body>
  47. </html>