layout.base.php 1.4 KB

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" >
  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="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  10. <meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
  11. <link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
  12. <link rel="apple-touch-icon" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
  13. <link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
  14. <?php emit_css_loading_tags($_); ?>
  15. <?php emit_script_loading_tags($_); ?>
  16. <?php print_unescaped($_['headers']); ?>
  17. </head>
  18. <body id="body-public" class="layout-base">
  19. <?php include 'layout.noscript.warning.php'; ?>
  20. <?php foreach ($_['initialStates'] as $app => $initialState) { ?>
  21. <input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>">
  22. <?php }?>
  23. <div id="content" class="app-public" role="main">
  24. <?php print_unescaped($_['content']); ?>
  25. </div>
  26. </body>
  27. </html>