2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
11 {include file="CRM/common/debug.tpl"}
14 {if $smarty.get.snippet eq 4}
16 {include file="CRM/Form/default.tpl"}
18 {include file=$tplFile}
21 {if $smarty.get.snippet eq 2}
22 {include file="CRM/common/print.tpl"}
24 {crmRegion name='ajax-snippet'}{/crmRegion}
26 {crmRegion name='page-header' allowCmsOverride=0}{/crmRegion}
28 {crmRegion name='page-body'}
30 {* Add status messages and container-snippet div unless we are outputting json. *}
31 {if $smarty.get.snippet neq 'json'}
32 {* this div is deprecated but included for older-style snippets for legacy support *}
33 <div class="crm-container-snippet">
34 {include file="CRM/common/status.tpl"}
38 {include file="CRM/Form/default.tpl"}
40 {include file=$tplFile}
43 {if $smarty.get.snippet neq 'json'}
49 {crmRegion name='page-footer' allowCmsOverride=0}{/crmRegion}