Commit | Line | Data |
---|---|---|
8c902e9e | 1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
8c902e9e | 4 | | | |
1188c7a8 TO |
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 | | |
8c902e9e | 8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {if $config->debug} | |
11 | {include file="CRM/common/debug.tpl"} | |
12 | {/if} | |
13 | ||
e10fac94 | 14 | <div id="crm-container" class="crm-container{if !empty($urlIsPublic)} crm-public{/if}" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}"> |
8c902e9e | 15 | |
f714e90d | 16 | {if $breadcrumb} |
8c902e9e | 17 | <div class="breadcrumb"> |
18 | {foreach from=$breadcrumb item=crumb key=key} | |
19 | {if $key != 0} | |
13a3d214 | 20 | <i class="crm-i fa-angle-double-right" aria-hidden="true"></i> |
8c902e9e | 21 | {/if} |
22 | {$crumb} | |
23 | {/foreach} | |
24 | </div> | |
25 | {/if} | |
26 | ||
f714e90d | 27 | {if $pageTitle} |
8c902e9e | 28 | <div class="crm-title"> |
e2e60002 | 29 | <h1 class="title">{if !empty($isDeleted)}<del>{/if}{$pageTitle}{if !empty($isDeleted)}</del>{/if}</h1> |
8c902e9e | 30 | </div> |
31 | {/if} | |
32 | ||
33 | {crmRegion name='page-header'} | |
34 | {/crmRegion} | |
35 | <div class="clear"></div> | |
36 | ||
8c902e9e | 37 | <div id="crm-main-content-wrapper"> |
38 | {include file="CRM/common/status.tpl"} | |
39 | {crmRegion name='page-body'} | |
40ad8f6a | 40 | {if $isForm and $formTpl} |
8c902e9e | 41 | {include file="CRM/Form/$formTpl.tpl"} |
42 | {else} | |
43 | {include file=$tplFile} | |
44 | {/if} | |
45 | {/crmRegion} | |
46 | </div> | |
47 | ||
48 | {crmRegion name='page-footer'} | |
e10fac94 | 49 | {if !empty($urlIsPublic)} |
8c902e9e | 50 | {include file="CRM/common/publicFooter.tpl"} |
51 | {else} | |
52 | {include file="CRM/common/footer.tpl"} | |
53 | {/if} | |
54 | {/crmRegion} | |
55 | ||
56 | </div> {* end crm-container div *} |