From c9da2379d5deb866805c329bc3d14a35707e64cb Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 2 Nov 2011 10:39:59 +0000 Subject: [PATCH] // Missing smarty functions --- 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) {