layout.guest.php 2.1 KB

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