// Context part 32
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8095 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -382,9 +382,9 @@ class MoneyBookers extends PaymentModule
|
||||
$selected = ($currentLogoBlockPosition == $position) ? 'selected="selected"' : '';
|
||||
$output .= '<option value="'.$position.'" '.$selected.'>'.$translation.'</option>';
|
||||
}
|
||||
$link = new Link();
|
||||
$link = $this->context->link;
|
||||
$admin_dir = substr(_PS_ADMIN_DIR_, strrpos(_PS_ADMIN_DIR_,'/') + 1);
|
||||
$iso_code = strtolower(Country::getIsoById(Configuration::get('PS_COUNTRY_DEFAULT')));
|
||||
$iso_code = strtolower($this->context->country->iso_code);
|
||||
$landingPage = ($iso_code == 'en' || $iso_code == 'us') ? 'http://www.moneybookers.com/ads/partners/index.html?p=Prestashop' :
|
||||
'http://www.moneybookers.com/ads/partners/'.$iso_code.'/index.html?p=Prestashop';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user