first commit
This commit is contained in:
29
modules/appagebuilder/views/templates/hook/ApButton.tpl
Normal file
29
modules/appagebuilder/views/templates/hook/ApButton.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
{*
|
||||
* @Module Name: AP Page Builder
|
||||
* @Website: apollotheme.com - prestashop template provider
|
||||
* @author Apollotheme <apollotheme@gmail.com>
|
||||
* @copyright Apollotheme
|
||||
* @description: ApPageBuilder is module help you can build content for your shop
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\hook\ApButton -->
|
||||
{($apLiveEdit)?$apLiveEdit:'' nofilter}{* HTML form , no escape necessary *}
|
||||
<div class="AppButton {(isset($formAtts.class)) ? $formAtts.class : ''|escape:'html':'UTF-8'} {if isset($formAtts.is_block) && $formAtts.is_block} btn-block{/if}">
|
||||
{if isset($formAtts.title) && !empty($formAtts.title)}
|
||||
<h4 class="title_block">
|
||||
{$formAtts.title|escape:'html':'UTF-8'}
|
||||
</h4>
|
||||
{/if}
|
||||
{if isset($formAtts.sub_title) && $formAtts.sub_title}
|
||||
<div class="sub-title-widget">{$formAtts.sub_title nofilter}</div>
|
||||
{/if}
|
||||
{if isset($formAtts.name) && $formAtts.name}
|
||||
{if isset($formAtts.url) && $formAtts.url}
|
||||
<a href="{$formAtts.url}{*full link can not escape*}" {if isset($formAtts.is_blank) && $formAtts.is_blank}target="_blank"{/if}>
|
||||
{/if}
|
||||
<span class="btn {$formAtts.button_type|escape:'html':'UTF-8'} {$formAtts.button_size|escape:'html':'UTF-8'}">{$formAtts.name|escape:'html':'UTF-8'}</span>
|
||||
{if isset($formAtts.url) && $formAtts.url}
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{($apLiveEditEnd)?$apLiveEditEnd:'' nofilter}{* HTML form , no escape necessary *}
|
||||
Reference in New Issue
Block a user