first commit
This commit is contained in:
35
themes/at_movic/templates/cms/_partials/index.php
Normal file
35
themes/at_movic/templates/cms/_partials/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,38 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{block name='sitemap_item'}
|
||||
<ul{if isset($is_nested)} class="nested"{/if}>
|
||||
{foreach $links as $link}
|
||||
<li>
|
||||
<a id="{$link.id}" href="{$link.url}" title="{$link.label}">
|
||||
{$link.label}
|
||||
</a>
|
||||
{if isset($link.children) && $link.children|@count > 0}
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$link.children is_nested=true}
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
53
themes/at_movic/templates/cms/category.tpl
Normal file
53
themes/at_movic/templates/cms/category.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_title'}
|
||||
{$cms_category.name}
|
||||
{/block}
|
||||
|
||||
{block name='page_content'}
|
||||
{block name='cms_sub_categories'}
|
||||
{if $sub_categories}
|
||||
<p>{l s='List of sub categories in %name%:' d='Shop.Theme.Global' sprintf=['%name%' => $cms_category.name]}</p>
|
||||
<ul>
|
||||
{foreach from=$sub_categories item=sub_category}
|
||||
<li><a href="{$sub_category.link}">{$sub_category.name}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='cms_sub_pages'}
|
||||
{if $cms_pages}
|
||||
<p>{l s='List of pages in %category_name%:' d='Shop.Theme.Global' sprintf=['%category_name%' => $cms_category.name]}</p>
|
||||
<ul>
|
||||
{foreach from=$cms_pages item=cms_page}
|
||||
<li><a href="{$cms_page.link}">{$cms_page.meta_title}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
{/block}
|
||||
35
themes/at_movic/templates/cms/index.php
Normal file
35
themes/at_movic/templates/cms/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
47
themes/at_movic/templates/cms/page.tpl
Normal file
47
themes/at_movic/templates/cms/page.tpl
Normal file
@@ -0,0 +1,47 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_title'}
|
||||
{$cms.meta_title}
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-content page-cms page-cms-{$cms.id}">
|
||||
|
||||
{block name='cms_content'}
|
||||
{$cms.content nofilter}
|
||||
{/block}
|
||||
|
||||
{block name='hook_cms_dispute_information'}
|
||||
{hook h='displayCMSDisputeInformation'}
|
||||
{/block}
|
||||
|
||||
{block name='hook_cms_print_button'}
|
||||
{hook h='displayCMSPrintButton'}
|
||||
{/block}
|
||||
|
||||
</section>
|
||||
{/block}
|
||||
52
themes/at_movic/templates/cms/sitemap.tpl
Normal file
52
themes/at_movic/templates/cms/sitemap.tpl
Normal file
@@ -0,0 +1,52 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_title'}
|
||||
<span class="sitemap-title">{l s='Sitemap' d='Shop.Theme.Global'}</span>
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<div class="container-fluid">
|
||||
<div class="row sitemap col-xs-12">
|
||||
<div class="col-md-3">
|
||||
<h2>{$our_offers}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.offers}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h2>{$categories}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.categories}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h2>{$your_account}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.user_account}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h2>{$pages}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.pages}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
88
themes/at_movic/templates/cms/stores.tpl
Normal file
88
themes/at_movic/templates/cms/stores.tpl
Normal file
@@ -0,0 +1,88 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_title'}
|
||||
{l s='Our stores' d='Shop.Theme.Global'}
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-content page-stores">
|
||||
|
||||
{foreach $stores as $store}
|
||||
<article id="store-{$store.id}" class="store-item card">
|
||||
<div class="store-item-container clearfix">
|
||||
<div class="col-md-3 store-picture hidden-sm-down">
|
||||
<img class="lazy" data-src="{$store.image.bySize.stores_default.url}" alt="{$store.image.legend}" title="{$store.image.legend}">
|
||||
</div>
|
||||
<div class="col-md-5 col-sm-7 col-xs-12 store-description">
|
||||
<p class="h3 card-title">{$store.name}</p>
|
||||
<address>{$store.address.formatted nofilter}</address>
|
||||
{if $store.note || $store.phone || $store.fax || $store.email}
|
||||
<a data-toggle="collapse" href="#about-{$store.id}" aria-expanded="false" aria-controls="about-{$store.id}"><strong>{l s='About and Contact' d='Shop.Theme.Global'}</strong><i class="material-icons"></i></a>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-5 col-xs-12 divide-left">
|
||||
<table>
|
||||
{foreach $store.business_hours as $day}
|
||||
<tr>
|
||||
<th>{$day.day|truncate:4:'.'}</th>
|
||||
<td>
|
||||
<ul>
|
||||
{foreach $day.hours as $h}
|
||||
<li>{$h}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="about-{$store.id}" class="collapse">
|
||||
<div class="store-item-footer divide-top">
|
||||
<div class="card-block">
|
||||
{if $store.note}
|
||||
<p class="text-justify">{$store.note}<p>
|
||||
{/if}
|
||||
</div>
|
||||
<ul class="card-block">
|
||||
{if $store.phone}
|
||||
<li><i class="material-icons"></i>{$store.phone}</li>
|
||||
{/if}
|
||||
{if $store.fax}
|
||||
<li><i class="material-icons"></i>{$store.fax}</li>
|
||||
{/if}
|
||||
{if $store.email}
|
||||
<li><i class="material-icons"></i>{$store.email}</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
</article>
|
||||
{/foreach}
|
||||
|
||||
</section>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user