This commit is contained in:
Thibault UBUNTU 2016-04-04 13:25:38 +02:00
commit 8471702ff7
3 changed files with 32 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<p class="payment_module payment_paybox">
<a href="javascript:document.paybox_form.submit();" title="{l s='Pay with Paybox' mod='paybox'}">
<img src="{$base_dir}modules/paybox/paiement_{$cookie->id_lang}.png" alt="{l s='Pay with Paybox' mod='paybox'}" />
{$pbx_text}
<span class="title_payment">{$pbx_text}</span>
<img class="img_payment" src="{$base_dir}modules/paybox/paiement_{$cookie->id_lang}.png" alt="{l s='Pay with Paybox' mod='paybox'}" />
</a>
</p>
<form action="{$pbx_link}" method="post" name="paybox_form">

View File

@ -54,15 +54,15 @@
{else}
<p class="payment_module payment_paypal">
<a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}">
<span class="title_payment">{$PayPal_content.payment_choice}</span>
{if isset($use_mobile) && $use_mobile}
<img src="{$base_dir_ssl}modules/paypal/img/logos/express_checkout_mobile/CO_{$PayPal_lang_code}_orange_295x43.png" />
<img class="img_payment" src="{$base_dir_ssl}modules/paypal/img/logos/express_checkout_mobile/CO_{$PayPal_lang_code}_orange_295x43.png" />
{else}
{if isset($logos.LocalPayPalHorizontalSolutionPP) && $PayPal_payment_method == $PayPal_integral}
<img src="{$logos.LocalPayPalHorizontalSolutionPP}" alt="{$PayPal_content.payment_choice|escape:'htmlall':'UTF-8'}" height="48px" />
<img class="img_payment" src="{$logos.LocalPayPalHorizontalSolutionPP}" alt="{$PayPal_content.payment_choice|escape:'htmlall':'UTF-8'}" height="48px" />
{else}
<img src="{$logos.LocalPayPalLogoMedium}" alt="{$PayPal_content.payment_choice|escape:'htmlall':'UTF-8'}" />
<img class="img_payment" src="{$logos.LocalPayPalLogoMedium}" alt="{$PayPal_content.payment_choice|escape:'htmlall':'UTF-8'}" />
{/if}
{$PayPal_content.payment_choice}
{/if}
</a>

View File

@ -3321,11 +3321,34 @@ table.std tfoot tr.cart_total_price.endline td, #block-order-detail tr.endline t
margin-right: 20px;
float: none !important;
}
#order #center_column #HOOK_PAYMENT p.payment_module, #order #center_column #HOOK_PAYMENT div.payment_module {
background: #e2e2e1;
margin: 15px 0;
overflow: auto;
background: #fff;
float: left;
height: 250px;
margin-bottom: 30px;
margin-right: 15px;
text-align: center;
width: 335px;
border: 15px solid transparent;
-moz-border-image: -moz-linear-gradient(top, #e1e3e2 0%, #f3f3f3 100%);
-webkit-border-image: -webkit-linear-gradient(top, #e1e3e2 0%, #f3f3f3 100%);
border-image: linear-gradient(to bottom, #e1e3e2 0%, #f3f3f3 100%);
border-image-slice: 1;
}
.title_payment {
font-family: georgia,times new roman,serif;
display: block;
font-size: 18px;
border-bottom: 4px double #e9e5e6;
text-align: center;
margin: 20px;
font-style: italic;
color: #222;
padding-bottom: 20px;
}
#order #center_column #HOOK_PAYMENT p a:hover { text-decoration: none;}
#order #center_column #HOOK_PAYMENT p.payment_module:hover, #order #center_column #HOOK_PAYMENT div.payment_module:hover {
background: #ffffff;