From 48b4d964411d6a1cedc1b22b092baa3aaf781029 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 2 Nov 2011 10:39:59 +0000 Subject: [PATCH] // Missing smarty functions git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9785 b9a71923-0436-4b27-9f14-aed3839534dd --- config/smarty.config.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/smarty.config.inc.php b/config/smarty.config.inc.php index 073f641ac..b0b3075c7 100644 --- a/config/smarty.config.inc.php +++ b/config/smarty.config.inc.php @@ -66,6 +66,8 @@ smartyRegisterFunction($smarty, 'function', 'displayWtPrice', array('Product', ' smartyRegisterFunction($smarty, 'function', 'displayWtPriceWithCurrency', array('Product', 'displayWtPriceWithCurrency')); smartyRegisterFunction($smarty, 'function', 'displayPrice', array('Tools', 'displayPriceSmarty')); smartyRegisterFunction($smarty, 'modifier', 'convertAndFormatPrice', array('Product', 'convertAndFormatPrice')); // used twice +smartyRegisterFunction($smarty, 'function', 'getAdminToken', array('Tools', 'getAdminTokenLiteSmarty')); +smartyRegisterFunction($smarty, 'function', 'displayAddressDetail', array('AddressFormat', 'generateAddressSmarty')); function smartyDieObject($params, &$smarty) {