Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

109 wiersze
3.7 KiB

  1. <?php $helper = ContaoBootstrap\Layout\Helper\LayoutHelper::forTemplate($this); ?>
  2. <!DOCTYPE html>
  3. <html lang="<?= $this->language ?>"<?php if ($this->isRTL): ?> dir="rtl"<?php endif; ?>>
  4. <head>
  5. <?php $this->block('head'); ?>
  6. <meta charset="<?= $this->charset ?>">
  7. <title><?= $this->title ?></title>
  8. <base href="<?= $this->base ?>">
  9. <?php $this->block('meta'); ?>
  10. <meta name="robots" content="<?= $this->robots ?>">
  11. <meta name="description" content="<?= $this->description ?>">
  12. <meta name="generator" content="Contao Open Source CMS">
  13. <meta http-equiv="x-ua-compatible" content="ie=edge">
  14. <?php $this->endblock(); ?>
  15. <?= $this->viewport ?>
  16. <?= $this->framework ?>
  17. <?= $this->stylesheets ?>
  18. <?= $this->mooScripts ?>
  19. <?= $this->head ?>
  20. <?php if (version_compare(VERSION, '4.8', '<')): ?>
  21. <?php $this->block('html5shiv'); ?>
  22. <!--[if lt IE 9]><script src="<?= TL_ASSETS_URL ?>assets/html5shiv/js/html5shiv-printshiv.min.js"></script><![endif]-->
  23. <?php $this->endblock(); ?>
  24. <?php endif ?>
  25. <?php $this->endblock(); ?>
  26. </head>
  27. <body id="top" class="{{ua::class}}<?php if ($this->class) echo ' ' . $this->class; ?>"<?php if ($this->onload): ?> onload="<?= $this->onload ?>"<?php endif; ?> itemscope itemtype="http://schema.org/WebPage">
  28. <?php $this->block('body'); ?>
  29. <?php $this->sections('top'); ?>
  30. <div <?= $helper->getAttributes($helper::WRAPPER) ?>>
  31. <?php $this->block('header'); ?>
  32. <?php if ($this->header): ?>
  33. <header id="header" itemscope itemtype="http://schema.org/WPHeader">
  34. <div <?= $helper->getAttributes($helper::HEADER, true) ?>>
  35. <?= $this->header ?>
  36. </div>
  37. </header>
  38. <?php endif; ?>
  39. <?php $this->endblock(); ?>
  40. <?php $this->sections('before'); ?>
  41. <?php $this->block('container'); ?>
  42. <div <?= $helper->getAttributes($helper::CONTAINER) ?>>
  43. <?php if ($helper->isGridActive()): ?><div class="row"><?php endif; ?>
  44. <?php $this->block('main'); ?>
  45. <main <?= $helper->getAttributes($helper::MAIN) ?>>
  46. <div id="fullpage" class="inside">
  47. <?= $this->main ?>
  48. </div>
  49. <?php $this->sections('main'); ?>
  50. </main>
  51. <?php $this->endblock(); ?>
  52. <?php $this->block('left'); ?>
  53. <?php if ($this->left): ?>
  54. <aside <?= $helper->getAttributes($helper::LEFT) ?>>
  55. <div class="inside">
  56. <?= $this->left ?>
  57. </div>
  58. </aside>
  59. <?php endif; ?>
  60. <?php $this->endblock(); ?>
  61. <?php $this->block('right'); ?>
  62. <?php if ($this->right): ?>
  63. <aside <?= $helper->getAttributes($helper::RIGHT) ?>>
  64. <div class="inside">
  65. <?= $this->right ?>
  66. </div>
  67. </aside>
  68. <?php endif; ?>
  69. <?php $this->endblock(); ?>
  70. <?php if ($helper->isGridActive()): ?></div><?php endif; ?>
  71. </div>
  72. <?php $this->endblock(); ?>
  73. <?php $this->sections('after'); ?>
  74. <?php $this->block('footer'); ?>
  75. <?php if ($this->footer): ?>
  76. <footer id="footer" itemscope itemtype="http://schema.org/WPFooter">
  77. <div <?php echo $helper->getAttributes($helper::FOOTER, true); ?>>
  78. <?= $this->footer ?>
  79. </div>
  80. </footer>
  81. <?php endif; ?>
  82. <?php $this->endblock(); ?>
  83. </div>
  84. <?php $this->sections('bottom'); ?>
  85. <?php $this->endblock(); ?>
  86. <?= $this->mootools ?>
  87. </body>
  88. </html>