projects
/
com.zyxware.civiwci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb6dbc
)
#32 - Add number_format PHP function to the Smarty MODIFIER_FUNCS
author
Vimal Joseph
<vimal.joseph@zyxware.com>
Wed, 14 Jan 2015 15:42:36 +0000
(21:12 +0530)
committer
Vimal Joseph
<vimal.joseph@zyxware.com>
Wed, 14 Jan 2015 15:42:36 +0000
(21:12 +0530)
CRM/Wci/WidgetCode.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Wci/WidgetCode.php
b/CRM/Wci/WidgetCode.php
index c243cd09c8a761ab450decac0eaa7fd39c5cc5dd..1dc6aeda2987f74ee149a6271370c0c8cf824afa 100644
(file)
--- a/
CRM/Wci/WidgetCode.php
+++ b/
CRM/Wci/WidgetCode.php
@@
-39,6
+39,7
@@
class CRM_Wci_WidgetCode {
$template->template_dir[] = getWciWidgetTemplatePath();
$wcidata = $template->fetch('WCIWidget.tpl');
} else {
+ $template->security_settings['MODIFIER_FUNCS'] = array('number_format', 'count');
$wcidata = $template->fetch('string:' . html_entity_decode($data['custom_template']));
}