Merge pull request #14832 from mattwire/profileformsession
[civicrm-core.git] / templates / CRM / common / joomla.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
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 *}
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
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 &raquo;
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. *}
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>
55 {else}
56 {* Printer friendly link/icon. *}
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>
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
77 <div id="crm-main-content-wrapper">
78 {include file="CRM/common/status.tpl"}
79 {crmRegion name='page-body'}
80 {if isset($isForm) and $isForm and isset($formTpl)}
81 {include file="CRM/Form/$formTpl.tpl"}
82 {else}
83 {include file=$tplFile}
84 {/if}
85 {/crmRegion}
86 </div>
87
88 {crmRegion name='page-footer'}
89 {if $urlIsPublic}
90 {include file="CRM/common/publicFooter.tpl"}
91 {else}
92 {include file="CRM/common/footer.tpl"}
93 {/if}
94 {/crmRegion}
95
96 </td>
97
98 </tr>
99 </table>
100 </div> {* end crm-container div *}