// Little change on adminpayment

This commit is contained in:
rGaillard
2011-11-23 14:29:40 +00:00
parent a7ead19457
commit b9b3ed5554
2 changed files with 35 additions and 30 deletions
+19 -19
View File
@@ -25,26 +25,26 @@
*}
{extends file="helper/view/view.tpl"}
{block name="override_tpl"}
{if !$shop_context}
<div class="warn">{l s='You have more than one shop. You need to select one to configure payment.'}</div>
{else}
<h2 class="space">{l s='Payment modules list'}</h2>
{if isset($url_modules)}
<input type="button" class="button" onclick="document.location='{$url_modules}'" value="{l s='Click to see the list of payment modules.'}" /><br>
{/if}
<h2 class="space">{l s='Payment modules list'}</h2>
{if isset($url_modules)}
<input type="button" class="button" onclick="document.location='{$url_modules}'" value="{l s='Click to see the list of payment modules.'}" /><br>
{/if}
<br />
{if $display_restrictions}
<br /><h2 class="space">{l s='Payment module restrictions'}</h2>
{foreach $lists as $list}
{include file='payment/restrictions.tpl'}
<br />
{/foreach}
{else}
<br />
<div class='warn'>{l s='No payment module installed'}</div>
{/if}
{if $display_restrictions}
<br /><h2 class="space">{l s='Payment module restrictions'}</h2>
{foreach $lists as $list}
{include file='payment/restrictions.tpl'}
<br />
{/foreach}
{else}
<br />
<div class='warn'>{l s='No payment module installed'}</div>
{/if}
{/if}
{/block}