Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
819d0d41 | 3 | | CiviCRM version 4.5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
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 | ||
36 | {* include wysiwyg related files*} | |
37 | {include file="CRM/common/wysiwyg.tpl"} | |
38 | ||
39 | <table border="0" cellpadding="0" cellspacing="0" id="crm-content"> | |
40 | <tr> | |
41 | {if $sidebarLeft} | |
42 | <td id="sidebar-left" valign="top"> | |
43 | <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> | |
44 | {$sidebarLeft} | |
45 | </td> | |
46 | {/if} | |
47 | <td id="content-right" valign="top"> | |
48 | {if $breadcrumb} | |
49 | <div class="breadcrumb"> | |
50 | {foreach from=$breadcrumb item=crumb key=key} | |
51 | {if $key != 0} | |
52 | » | |
53 | {/if} | |
54 | <a href="{$crumb.url}">{$crumb.title}</a> | |
55 | {/foreach} | |
56 | </div> | |
57 | {/if} | |
58 | ||
59 | {if $browserPrint} | |
60 | {* Javascript window.print link. Used for public pages where we can't do printer-friendly view. *} | |
b7054e52 | 61 | <div id="printer-friendly"><a href="#" onclick="window.print(); return false;" title="{ts}Print this page.{/ts}"><div class="ui-icon ui-icon-print"></div></a></div> |
6a488035 TO |
62 | {else} |
63 | {* Printer friendly link/icon. *} | |
0b4dcd5e | 64 | <div id="printer-friendly"><a href="{$printerFriendly}" target='_blank' title="{ts}Printer-friendly view of this page.{/ts}"><div class="ui-icon ui-icon-print"></div></a></div> |
6a488035 TO |
65 | {/if} |
66 | ||
67 | {if $pageTitle} | |
68 | <div class="crm-title"> | |
69 | <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1> | |
70 | </div> | |
71 | {/if} | |
72 | ||
73 | {crmRegion name='page-header'} | |
74 | {/crmRegion} | |
75 | ||
76 | {*{include file="CRM/common/langSwitch.tpl"}*} | |
77 | ||
78 | <div class="clear"></div> | |
79 | ||
80 | {if $localTasks} | |
81 | {include file="CRM/common/localNav.tpl"} | |
82 | {/if} | |
83 | ||
6bb066a3 CW |
84 | <div id="crm-main-content-wrapper"> |
85 | {include file="CRM/common/status.tpl"} | |
86 | {crmRegion name='page-body'} | |
87 | <!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. --> | |
88 | {if isset($isForm) and $isForm} | |
89 | {include file="CRM/Form/$formTpl.tpl"} | |
90 | {else} | |
91 | {include file=$tplFile} | |
92 | {/if} | |
93 | {/crmRegion} | |
94 | </div> | |
6a488035 TO |
95 | |
96 | {crmRegion name='page-footer'} | |
466913fc AH |
97 | {if $urlIsPublic} |
98 | {include file="CRM/common/publicFooter.tpl"} | |
99 | {else} | |
100 | {include file="CRM/common/footer.tpl"} | |
6a488035 TO |
101 | {/if} |
102 | {/crmRegion} | |
103 | ||
104 | </td> | |
105 | ||
106 | </tr> | |
107 | </table> | |
108 | </div> {* end crm-container div *} |