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 | ||
14 | <div id="crm-container" class="crm-container{if $urlIsPublic} crm-public{/if}" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}"> | |
15 | ||
8c902e9e | 16 | {if $breadcrumb} |
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 | ||
8c902e9e | 27 | {if $pageTitle} |
28 | <div class="crm-title"> | |
29 | <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1> | |
30 | </div> | |
31 | {/if} | |
32 | ||
33 | {crmRegion name='page-header'} | |
34 | {/crmRegion} | |
35 | <div class="clear"></div> | |
36 | ||
37 | {if isset($localTasks) and $localTasks} | |
38 | {include file="CRM/common/localNav.tpl"} | |
39 | {/if} | |
40 | <div id="crm-main-content-wrapper"> | |
41 | {include file="CRM/common/status.tpl"} | |
42 | {crmRegion name='page-body'} | |
43 | {if isset($isForm) and $isForm and isset($formTpl)} | |
44 | {include file="CRM/Form/$formTpl.tpl"} | |
45 | {else} | |
46 | {include file=$tplFile} | |
47 | {/if} | |
48 | {/crmRegion} | |
49 | </div> | |
50 | ||
51 | {crmRegion name='page-footer'} | |
52 | {if $urlIsPublic} | |
53 | {include file="CRM/common/publicFooter.tpl"} | |
54 | {else} | |
55 | {include file="CRM/common/footer.tpl"} | |
56 | {/if} | |
57 | {/crmRegion} | |
58 | ||
59 | </div> {* end crm-container div *} |