projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
156fd9b
)
CRM-15524 - Support adding scripts, styles, etc to page header/footer regions in...
author
Coleman Watts
<coleman@civicrm.org>
Sat, 25 Oct 2014 01:37:56 +0000
(21:37 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Sun, 2 Nov 2014 23:12:31 +0000
(18:12 -0500)
templates/CRM/common/snippet.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/common/snippet.tpl
b/templates/CRM/common/snippet.tpl
index 98e3686c74c5591c050002703b2206690e300466..bb84d5a84ab52c0533e3a56864cc3b777ff388c4 100644
(file)
--- a/
templates/CRM/common/snippet.tpl
+++ b/
templates/CRM/common/snippet.tpl
@@
-37,6
+37,8
@@
{if $smarty.get.snippet eq 2}
{include file="CRM/common/print.tpl"}
{else}
+ {crmRegion name='page-header' allowCmsOverride=0}{/crmRegion}
+
{crmRegion name='page-body'}
{* Add status messages and container-snippet div unless we are outputting json. *}
@@
-58,6
+60,8
@@
{/if}
{/crmRegion}
+
+ {crmRegion name='page-footer' allowCmsOverride=0}{/crmRegion}
{/if}
{/if}
{/strip}