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 | ||
47c4c1ca CW |
32 | {* Joomla-only container to hold the civicrm menu *} |
33 | <div id="crm-nav-menu-container"></div> | |
6a488035 TO |
34 | {crmNavigationMenu is_default=1} |
35 | ||
6a488035 TO |
36 | <table border="0" cellpadding="0" cellspacing="0" id="crm-content"> |
37 | <tr> | |
38 | {if $sidebarLeft} | |
39 | <td id="sidebar-left" valign="top"> | |
40 | <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> | |
41 | {$sidebarLeft} | |
42 | </td> | |
43 | {/if} | |
44 | <td id="content-right" valign="top"> | |
45 | {if $breadcrumb} | |
46 | <div class="breadcrumb"> | |
47 | {foreach from=$breadcrumb item=crumb key=key} | |
48 | {if $key != 0} | |
49 | » | |
50 | {/if} | |
51 | <a href="{$crumb.url}">{$crumb.title}</a> | |
52 | {/foreach} | |
53 | </div> | |
54 | {/if} | |
55 | ||
56 | {if $browserPrint} | |
57 | {* Javascript window.print link. Used for public pages where we can't do printer-friendly view. *} | |
d2f7ffaa | 58 | <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 |
59 | {else} |
60 | {* Printer friendly link/icon. *} | |
d2f7ffaa | 61 | <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 |
62 | {/if} |
63 | ||
64 | {if $pageTitle} | |
65 | <div class="crm-title"> | |
66 | <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1> | |
67 | </div> | |
68 | {/if} | |
69 | ||
70 | {crmRegion name='page-header'} | |
71 | {/crmRegion} | |
72 | ||
73 | {*{include file="CRM/common/langSwitch.tpl"}*} | |
74 | ||
75 | <div class="clear"></div> | |
76 | ||
77 | {if $localTasks} | |
78 | {include file="CRM/common/localNav.tpl"} | |
79 | {/if} | |
80 | ||
6bb066a3 CW |
81 | <div id="crm-main-content-wrapper"> |
82 | {include file="CRM/common/status.tpl"} | |
83 | {crmRegion name='page-body'} | |
b1dd8421 | 84 | {if isset($isForm) and $isForm and isset($formTpl)} |
6bb066a3 CW |
85 | {include file="CRM/Form/$formTpl.tpl"} |
86 | {else} | |
87 | {include file=$tplFile} | |
88 | {/if} | |
89 | {/crmRegion} | |
90 | </div> | |
6a488035 TO |
91 | |
92 | {crmRegion name='page-footer'} | |
466913fc AH |
93 | {if $urlIsPublic} |
94 | {include file="CRM/common/publicFooter.tpl"} | |
95 | {else} | |
96 | {include file="CRM/common/footer.tpl"} | |
6a488035 TO |
97 | {/if} |
98 | {/crmRegion} | |
99 | ||
100 | </td> | |
101 | ||
102 | </tr> | |
103 | </table> | |
104 | </div> {* end crm-container div *} |