layout.base.php 1.4 KB

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