1{**
2 * Copyright since 2007 PrestaShop SA and Contributors
3 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
4 *
5 * NOTICE OF LICENSE
6 *
7 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
8 * that is bundled with this package in the file LICENSE.md.
9 * It is also available through the world-wide-web at this URL:
10 * https://opensource.org/licenses/AFL-3.0
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@prestashop.com so we can send you a copy immediately.
14 *
15 * DISCLAIMER
16 *
17 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18 * versions in the future. If you wish to customize PrestaShop for your
19 * needs please refer to https://devdocs.prestashop.com/ for more information.
20 *
21 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
22 * @copyright Since 2007 PrestaShop SA and Contributors
23 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
24 *}
25
26{include file='_partials/helpers.tpl'}
27
28<!doctype html>
29<html lang="{$language.locale}">
30
31  <head>
32    {block name='head'}
33      {include file='_partials/head.tpl'}
34    {/block}
35  </head>
36
37  <body id="{$page.page_name}" class="{$page.body_classes|classnames}">
38
39    {block name='hook_after_body_opening_tag'}
40      {hook h='displayAfterBodyOpeningTag'}
41    {/block}
42
43    <main>
44      {block name='product_activation'}
45        {include file='catalog/_partials/product-activation.tpl'}
46      {/block}
47
48      <header id="header">
49        {block name='header'}
50          {include file='_partials/header.tpl'}
51        {/block}
52      </header>
53
54      <section id="wrapper">
55        {block name='notifications'}
56          {include file='_partials/notifications.tpl'}
57        {/block}
58
59        {hook h="displayWrapperTop"}
60        <div class="container">
61          {block name='breadcrumb'}
62            {include file='_partials/breadcrumb.tpl'}
63          {/block}
64
65          {block name="left_column"}
66            <div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
67              {if $page.page_name == 'product'}
68                {hook h='displayLeftColumnProduct'}
69              {else}
70                {hook h="displayLeftColumn"}
71              {/if}
72            </div>
73          {/block}
74
75          {block name="content_wrapper"}
76            <div id="content-wrapper" class="js-content-wrapper left-column right-column col-sm-4 col-md-6">
77              {hook h="displayContentWrapperTop"}
78              {block name="content"}
79                <p>Hello world! This is HTML5 Boilerplate.</p>
80              {/block}
81              {hook h="displayContentWrapperBottom"}
82            </div>
83          {/block}
84
85          {block name="right_column"}
86            <div id="right-column" class="col-xs-12 col-sm-4 col-md-3">
87              {if $page.page_name == 'product'}
88                {hook h='displayRightColumnProduct'}
89              {else}
90                {hook h="displayRightColumn"}
91              {/if}
92            </div>
93          {/block}
94        </div>
95        {hook h="displayWrapperBottom"}
96      </section>
97
98      <footer id="footer" class="js-footer">
99        {block name="footer"}
100          {include file="_partials/footer.tpl"}
101        {/block}
102      </footer>
103
104    </main>
105
106    {block name='javascript_bottom'}
107      {include file="_partials/javascript.tpl" javascript=$javascript.bottom}
108    {/block}
109
110    {block name='hook_before_body_closing_tag'}
111      {hook h='displayBeforeBodyClosingTag'}
112    {/block}
113  </body>
114
115</html>
116