Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
6b83d5bd | 5 | | Copyright CiviCRM LLC (c) 2004-2019 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
6a488035 TO |
26 | {if $config->debug} |
27 | {include file="CRM/common/debug.tpl"} | |
28 | {/if} | |
29 | ||
30 | <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}"> | |
31 | ||
6a488035 TO |
32 | <table border="0" cellpadding="0" cellspacing="0" id="crm-content"> |
33 | <tr> | |
34 | {if $sidebarLeft} | |
35 | <td id="sidebar-left" valign="top"> | |
36 | <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> | |
37 | {$sidebarLeft} | |
38 | </td> | |
39 | {/if} | |
40 | <td id="content-right" valign="top"> | |
41 | {if $breadcrumb} | |
42 | <div class="breadcrumb"> | |
43 | {foreach from=$breadcrumb item=crumb key=key} | |
44 | {if $key != 0} | |
45 | » | |
46 | {/if} | |
47 | <a href="{$crumb.url}">{$crumb.title}</a> | |
48 | {/foreach} | |
49 | </div> | |
50 | {/if} | |
51 | ||
52 | {if $browserPrint} | |
53 | {* Javascript window.print link. Used for public pages where we can't do printer-friendly view. *} | |
d2f7ffaa | 54 | <div id="printer-friendly"><a href="#" onclick="window.print(); return false;" title="{ts}Print this page.{/ts}"><i class="crm-i fa-print"></i></a></div> |
6a488035 TO |
55 | {else} |
56 | {* Printer friendly link/icon. *} | |
d2f7ffaa | 57 | <div id="printer-friendly"><a href="{$printerFriendly}" target='_blank' title="{ts}Printer-friendly view of this page.{/ts}"><i class="crm-i fa-print"></i></a></div> |
6a488035 TO |
58 | {/if} |
59 | ||
60 | {if $pageTitle} | |
61 | <div class="crm-title"> | |
62 | <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1> | |
63 | </div> | |
64 | {/if} | |
65 | ||
66 | {crmRegion name='page-header'} | |
67 | {/crmRegion} | |
68 | ||
69 | {*{include file="CRM/common/langSwitch.tpl"}*} | |
70 | ||
71 | <div class="clear"></div> | |
72 | ||
73 | {if $localTasks} | |
74 | {include file="CRM/common/localNav.tpl"} | |
75 | {/if} | |
76 | ||
6bb066a3 CW |
77 | <div id="crm-main-content-wrapper"> |
78 | {include file="CRM/common/status.tpl"} | |
79 | {crmRegion name='page-body'} | |
b1dd8421 | 80 | {if isset($isForm) and $isForm and isset($formTpl)} |
6bb066a3 CW |
81 | {include file="CRM/Form/$formTpl.tpl"} |
82 | {else} | |
83 | {include file=$tplFile} | |
84 | {/if} | |
85 | {/crmRegion} | |
86 | </div> | |
6a488035 TO |
87 | |
88 | {crmRegion name='page-footer'} | |
466913fc AH |
89 | {if $urlIsPublic} |
90 | {include file="CRM/common/publicFooter.tpl"} | |
91 | {else} | |
92 | {include file="CRM/common/footer.tpl"} | |
6a488035 TO |
93 | {/if} |
94 | {/crmRegion} | |
95 | ||
96 | </td> | |
97 | ||
98 | </tr> | |
99 | </table> | |
100 | </div> {* end crm-container div *} |