first commit
This commit is contained in:
53
modules/higallery/views/templates/front/galleries.tpl
Normal file
53
modules/higallery/views/templates/front/galleries.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
{**
|
||||
* 2012 - 2020 HiPresta
|
||||
*
|
||||
* MODULE Gallery
|
||||
*
|
||||
* @author HiPresta <support@hipresta.com>
|
||||
* @copyright HiPresta 2020
|
||||
* @license Addons PrestaShop license limitation
|
||||
* @link https://hipresta.com
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Don't use this module on several shops. The license provided by PrestaShop Addons
|
||||
* for all its modules is valid only once for a single shop.
|
||||
*}
|
||||
|
||||
{if $psv < 1.7}
|
||||
{if isset($gallery_controller_name) && $gallery_controller_name == 'gallery'}
|
||||
{capture name=path}
|
||||
{l s='Gallery' mod='higallery'}
|
||||
{/capture}
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $gallery_title}
|
||||
<h1 class="gallery-title">{$gallery_title|escape:'htmlall':'UTF-8'}</h1>
|
||||
{/if}
|
||||
|
||||
{if $gallery_description}
|
||||
<div class="gallery-description">
|
||||
{$gallery_description nofilter}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if !empty($galleries) && $galleries['visible']}
|
||||
<div id="galleries">
|
||||
<div class="higallery-loader"></div>
|
||||
<div class="higallery-masonry column-3 clearfix">
|
||||
{foreach from=$galleries item=gallery}
|
||||
{if !empty($gallery['images'])}
|
||||
<div class="galleries-block higallery-masonry-item column-3">
|
||||
<a href="{$gallery['url'] nofilter}">
|
||||
<img src="{$upload_img_path}small/{$gallery['images'][0]['image']|escape:'htmlall':'UTF-8'}">
|
||||
<h4>{$gallery['name']|escape:'htmlall':'UTF-8'}</h4>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
<p class="alert alert-danger">{l s='Gallery Not Found' mod='higallery'}</p>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user