projects
/
civicrm-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge pull request #2173 from webpartners/master
[civicrm-core.git]
/
CRM
/
Core
/
Smarty
/
plugins
/
prefilter.resetExtScope.php
1
<
?php
2
3
/**
4
* Wrap every Smarty template in a {crmScope} tag that sets the
5
* variable "extensionKey" to blank.
6
*/
7
function
smarty_prefilter_resetExtScope
(
$tpl_source
, &
$smarty
) {
8
return
9
'{crmScope extensionKey=""}'
10
.
$tpl_source
11
.
'{/crmScope}'
;
12
}