24
modules/an_banners/views/templates/front/banners/default.tpl
Normal file
24
modules/an_banners/views/templates/front/banners/default.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
{*
|
||||
* 2022 Anvanto
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
*
|
||||
* @author Anvanto <anvantoco@gmail.com>
|
||||
* @copyright 2022 Anvanto
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*}
|
||||
|
||||
<div{if $banner.col != 'div'} class="an_homeproducts-banner {if $banner.imgUrlFile != ''}an_homeproducts-banner-overlay{else}an_homeproducts-banner-noimg{/if} col-sm-{$banner.col|intval}"{/if}>
|
||||
{if $banner.imgUrlFile !=''}
|
||||
<img src="{$banner.imgUrlFile}"/>
|
||||
{/if}
|
||||
<div class="an_homeproducts-banner-content">
|
||||
<p class="an_homeproducts-banner-title h1 {if $banner.text != ''}an_homeproducts-banner-title-margin{/if}">{$banner.title|escape:'htmlall':'UTF-8'}</p>
|
||||
{$banner.text nofilter}
|
||||
</div>
|
||||
{if $banner.link !=''}
|
||||
<a href="{$banner.link|escape:'htmlall':'UTF-8'}" class="an_homeproducts-banner-link"></a>
|
||||
{/if}
|
||||
</div>
|
||||
Reference in New Issue
Block a user