Skip to content

Commit

Permalink
Use PNG format for all logos.
Browse files Browse the repository at this point in the history
Use getMediaLink() for logos.
  • Loading branch information
Gitdyr committed Jan 17, 2019
1 parent 10984f9 commit 92b3b85
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 104 deletions.
36 changes: 17 additions & 19 deletions views/templates/hook/footerquickpay.tpl
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{*
* NOTICE OF LICENSE
* $Date: 2015/04/22 19:18:18 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

<section class="footer-block col-xs-12 col-sm-2 clearfix">
<h4>
{l s='Payment methods' mod='quickpay'}
</h4>
<div class="block_content toggle-footer" style="display: block;">
{foreach from=$ordering_list item=var_name}
<div class="col-xs-3 col-sm-6" style="float: left; padding-left: 0px;">
<img style="margin-bottom: 10px;" src="{$module_dir|escape:'htmlall':'UTF-8'}views/imgf/{$var_name|escape:'htmlall':'UTF-8'}.gif" alt="{l s='Credit card' mod='quickpay'}" />
</div>
{/foreach}
</div>
</section>
{*
* NOTICE OF LICENSE
* $Date: 2018/09/15 06:03:59 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

<section class="footer-block col-xs-12 col-sm-2 clearfix">
<h4>
{l s='Payment methods' mod='quickpay'}
</h4>
<div class="block_content toggle-footer quickpay imgf">
{foreach from=$ordering_list item=var_name}
<img src="{$link->getMediaLink("`$module_dir|escape:'htmlall':'UTF-8'`views/img/`$var_name|escape:'htmlall':'UTF-8'`.png")}" alt="{l s='Credit card' mod='quickpay'}" />
{/foreach}
</div>
</section>
24 changes: 12 additions & 12 deletions views/templates/hook/leftquickpay.tpl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{*
* NOTICE OF LICENSE
* $Date: 2015/04/22 19:18:18 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

<center>
{foreach from=$ordering_list item=var_name}
<img src="{$module_dir|escape:'htmlall':'UTF-8'}views/imgf/{$var_name|escape:'htmlall':'UTF-8'}.gif" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{/foreach}
</center><br />
{*
* NOTICE OF LICENSE
* $Date: 2018/09/15 05:10:42 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

<center class="quickpay imgf">
{foreach from=$ordering_list item=var_name}
<img src="{$link->getMediaLink("`$module_dir|escape:'htmlall':'UTF-8'`views/img/`$var_name|escape:'htmlall':'UTF-8'`.png")}" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{/foreach}
</center><br />
82 changes: 41 additions & 41 deletions views/templates/hook/quickpay.tpl
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{*
* NOTICE OF LICENSE
* $Date: 2015/08/12 19:40:24 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

<form action="{$payment_url|escape:'javascript':'UTF-8'}" method="post" id="quickpay{$type|escape:'htmlall':'UTF-8'}">
{foreach from=$fields item=field}
<input type="hidden" name="{$field.name|escape:'htmlall':'UTF-8'}" value="{$field.value|escape:'htmlall':'UTF-8'}" />
{/foreach}
</form>
<p class="payment_module quickpay">
<a style="height:auto" href="javascript:$('#quickpay{$type|escape:'htmlall':'UTF-8'}').submit()">
{foreach from=$imgs item=img}
{if $imgs|@count gt 2}
<img src="{$module_dir|escape:'htmlall':'UTF-8'}views/imgf/{$img|escape:'htmlall':'UTF-8'}.gif" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{else}
<img src="{$module_dir|escape:'htmlall':'UTF-8'}views/img/{$img|escape:'htmlall':'UTF-8'}.png" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{/if}
{/foreach}
&nbsp;
{$text|escape:'htmlall':'UTF-8'}
{if $fees|@count gt 0}
<span style="display:table">
{foreach from=$fees item=fee}
<span style="display:table-row">
<span style="display:table-cell">
<i>
{$fee.name|escape:'htmlall':'UTF-8'}
</i>
</span>
<span style="display:table-cell">
{$fee.amount|escape:'htmlall':'UTF-8'}
</span>
</span>
{/foreach}
</span>
{/if}
</a>
</p>
{*
* NOTICE OF LICENSE
* $Date: 2018/09/15 05:10:42 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

<form action="{$payment_url|escape:'javascript':'UTF-8'}" method="post" id="quickpay{$type|escape:'htmlall':'UTF-8'}">
{foreach from=$fields item=field}
<input type="hidden" name="{$field.name|escape:'htmlall':'UTF-8'}" value="{$field.value|escape:'htmlall':'UTF-8'}" />
{/foreach}
</form>
{if $imgs|@count gt 2}
<p class="payment_module quickpay imgf">
{else}
<p class="payment_module quickpay">
{/if}
<a style="height:auto" href="javascript:$('#quickpay{$type|escape:'htmlall':'UTF-8'}').submit()">
{foreach from=$imgs item=img}
<img src="{$module_dir|escape:'htmlall':'UTF-8'}views/img/{$img|escape:'htmlall':'UTF-8'}.png" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{/foreach}
&nbsp;
{$text|escape:'htmlall':'UTF-8'}
{if $fees|@count gt 0}
<span style="display:table">
{foreach from=$fees item=fee}
<span style="display:table-row">
<span style="display:table-cell">
<i>
{$fee.name|escape:'htmlall':'UTF-8'}
</i>
</span>
<span style="display:table-cell">
{$fee.amount|escape:'htmlall':'UTF-8'}
</span>
</span>
{/foreach}
</span>
{/if}
</a>
</p>
64 changes: 32 additions & 32 deletions views/templates/hook/quickpay17.tpl
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{*
* NOTICE OF LICENSE
* $Date: 2016/11/11 04:32:14 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

<p class="payment_module quickpay">
{foreach from=$imgs item=img}
{if $imgs|@count gt 2}
<img src="{$module_dir|escape:'htmlall':'UTF-8'}views/imgf/{$img|escape:'htmlall':'UTF-8'}.gif" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{else}
<img src="{$module_dir|escape:'htmlall':'UTF-8'}views/img/{$img|escape:'htmlall':'UTF-8'}.png" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{/if}
{/foreach}
{if $fees|@count gt 0}
<span style="display:table">
{foreach from=$fees item=fee}
<span style="display:table-row">
<span style="display:table-cell">
<i>
{$fee.name|escape:'htmlall':'UTF-8'}
</i>
</span>
<span style="display:table-cell">
{$fee.amount|escape:'htmlall':'UTF-8'}
</span>
</span>
{/foreach}
</span>
{/if}
</p>
{*
* NOTICE OF LICENSE
* $Date: 2018/09/15 05:10:42 $
* Written by Kjeld Borch Egevang
* E-mail: helpdesk@quickpay.net
*}

{if $imgs|@count gt 2}
<p class="payment_module quickpay imgf">
{else}
<p class="payment_module quickpay">
{/if}
{foreach from=$imgs item=img}
<img src="{$module_dir|escape:'htmlall':'UTF-8'}views/img/{$img|escape:'htmlall':'UTF-8'}.png" alt="{l s='Pay with credit cards ' mod='quickpay'}" />
{/foreach}
{if $fees|@count gt 0}
<span style="display:table">
{foreach from=$fees item=fee}
<span style="display:table-row">
<span style="display:table-cell">
<i>
{$fee.name|escape:'htmlall':'UTF-8'}
</i>
</span>
<span style="display:table-cell">
{$fee.amount|escape:'htmlall':'UTF-8'}
</span>
</span>
{/foreach}
</span>
{/if}
</p>

0 comments on commit 92b3b85

Please sign in to comment.