// Context part 12

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7649 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-19 09:28:11 +00:00
parent 8a0a62ae03
commit 89213e18e5
53 changed files with 184 additions and 196 deletions
+4 -4
View File
@@ -171,7 +171,7 @@ class BankWire extends PaymentModule
$context = Context::getContext();
$context->controller->smarty->assign(array(
$context->smarty->assign(array(
'nbProducts' => $cart->nbProducts(),
'cust_currency' => $cart->id_currency,
'currencies' => $this->getCurrency((int)$cart->id_currency),
@@ -192,7 +192,7 @@ class BankWire extends PaymentModule
$context = Context::getContext();
$context->controller->smarty->assign(array(
$context->smarty->assign(array(
'this_path' => $this->_path,
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/'
));
@@ -207,7 +207,7 @@ class BankWire extends PaymentModule
$context = Context::getContext();
$state = $params['objOrder']->getCurrentState();
if ($state == _PS_OS_BANKWIRE_ OR $state == _PS_OS_OUTOFSTOCK_)
$context->controller->smarty->assign(array(
$context->smarty->assign(array(
'total_to_pay' => Tools::displayPrice($params['total_to_pay'], $params['currencyObj'], false),
'bankwireDetails' => nl2br2($this->details),
'bankwireAddress' => nl2br2($this->address),
@@ -216,7 +216,7 @@ class BankWire extends PaymentModule
'id_order' => $params['objOrder']->id
));
else
$context->controller->smarty->assign('status', 'failed');
$context->smarty->assign('status', 'failed');
return $this->display(__FILE__, 'payment_return.tpl');
}