first commit
This commit is contained in:
28
modules/ps_linklist/views/templates/hook/index.php
Normal file
28
modules/ps_linklist/views/templates/hook/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License version 3.0
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* 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.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
||||
*/
|
||||
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,37 @@
|
||||
{**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License version 3.0
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* 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.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
||||
*}
|
||||
|
||||
{foreach $linkBlocks as $linkBlock}
|
||||
<h3>{$linkBlock.title|escape:'html':'UTF-8'}</h3>
|
||||
<ul>
|
||||
{foreach $linkBlock.links as $link}
|
||||
<li>
|
||||
<a
|
||||
id="{$link.id}-{$linkBlock.id}"
|
||||
class="{$link.class}"
|
||||
href="{$link.url|escape:'html':'UTF-8'}"
|
||||
title="{$link.description|escape:'html':'UTF-8'}"
|
||||
{if !empty($link.target)} target="{$link.target|escape:'html':'UTF-8'}" {/if}
|
||||
>
|
||||
{$link.title|escape:'html':'UTF-8'}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/foreach}
|
||||
37
modules/ps_linklist/views/templates/hook/linkblock.tpl
Normal file
37
modules/ps_linklist/views/templates/hook/linkblock.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
{**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License version 3.0
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* 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.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
||||
*}
|
||||
|
||||
{foreach $linkBlocks as $linkBlock}
|
||||
<h3>{$linkBlock.title|escape:'html':'UTF-8'}</h3>
|
||||
<ul>
|
||||
{foreach $linkBlock.links as $link}
|
||||
<li>
|
||||
<a
|
||||
id="{$link.id}-{$linkBlock.id}"
|
||||
class="{$link.class}"
|
||||
href="{$link.url|escape:'html':'UTF-8'}"
|
||||
title="{$link.description|escape:'html':'UTF-8'}"
|
||||
{if !empty($link.target)} target="{$link.target|escape:'html':'UTF-8'}" {/if}
|
||||
>
|
||||
{$link.title|escape:'html':'UTF-8'}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/foreach}
|
||||
Reference in New Issue
Block a user