// Log edited, this modification on Module::displayTemplate was reverted in a better one

This commit is contained in:
rMalie
2011-11-25 16:09:13 +00:00
parent 929ba7ebc1
commit fe3148fb80
8 changed files with 53 additions and 30 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
<?php
/*
* 2007-2011 PrestaShop
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -43,7 +43,7 @@ foreach (Module::getPaymentModules() as $module)
}
if (!$authorized)
die(Tools::displayError('This payment method is not available.'));
$customer = new Customer((int)$cart->id_customer);
if (!Validate::isLoadedObject($customer))
@@ -60,7 +60,7 @@ if (Tools::getValue('confirm'))
}
else
{
/* or ask for confirmation */
/* or ask for confirmation */
$smarty->assign(array(
'total' => $cart->getOrderTotal(true, Cart::BOTH),
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/cashondelivery/'
@@ -68,7 +68,7 @@ else
$smarty->assign('this_path', __PS_BASE_URI__.'modules/cashondelivery/');
$template = 'validation.tpl';
echo Module::display('cashondelivery', $template);
echo Module::displayTemplate('cashondelivery', $template);
}
include(dirname(__FILE__).'/../../footer.php');