Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 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 | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
6a488035 TO |
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 | ||
6a488035 TO |
16 | <table border="0" cellpadding="0" cellspacing="0" id="crm-content"> |
17 | <tr> | |
18 | {if $sidebarLeft} | |
19 | <td id="sidebar-left" valign="top"> | |
20 | <div id="civi-sidebar-logo" style="margin: 0 0 .25em .25em"><img src="{$config->resourceBase}i/logo_words_small.png" title="{ts}CiviCRM{/ts}"/></div><div class="spacer"></div> | |
21 | {$sidebarLeft} | |
22 | </td> | |
23 | {/if} | |
24 | <td id="content-right" valign="top"> | |
25 | {if $breadcrumb} | |
26 | <div class="breadcrumb"> | |
27 | {foreach from=$breadcrumb item=crumb key=key} | |
28 | {if $key != 0} | |
13a3d214 | 29 | <i class="crm-i fa-angle-double-right" aria-hidden="true"></i> |
6a488035 TO |
30 | {/if} |
31 | <a href="{$crumb.url}">{$crumb.title}</a> | |
32 | {/foreach} | |
33 | </div> | |
34 | {/if} | |
35 | ||
6a488035 TO |
36 | {if $pageTitle} |
37 | <div class="crm-title"> | |
38 | <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1> | |
39 | </div> | |
40 | {/if} | |
41 | ||
42 | {crmRegion name='page-header'} | |
43 | {/crmRegion} | |
44 | ||
45 | {*{include file="CRM/common/langSwitch.tpl"}*} | |
46 | ||
47 | <div class="clear"></div> | |
48 | ||
49 | {if $localTasks} | |
50 | {include file="CRM/common/localNav.tpl"} | |
51 | {/if} | |
52 | ||
6bb066a3 CW |
53 | <div id="crm-main-content-wrapper"> |
54 | {include file="CRM/common/status.tpl"} | |
55 | {crmRegion name='page-body'} | |
b1dd8421 | 56 | {if isset($isForm) and $isForm and isset($formTpl)} |
6bb066a3 CW |
57 | {include file="CRM/Form/$formTpl.tpl"} |
58 | {else} | |
59 | {include file=$tplFile} | |
60 | {/if} | |
61 | {/crmRegion} | |
62 | </div> | |
6a488035 TO |
63 | |
64 | {crmRegion name='page-footer'} | |
466913fc AH |
65 | {if $urlIsPublic} |
66 | {include file="CRM/common/publicFooter.tpl"} | |
67 | {else} | |
68 | {include file="CRM/common/footer.tpl"} | |
6a488035 TO |
69 | {/if} |
70 | {/crmRegion} | |
71 | ||
72 | </td> | |
73 | ||
74 | </tr> | |
75 | </table> | |
76 | </div> {* end crm-container div *} |