Merge pull request #15498 from civicrm/5.19
[civicrm-core.git] / templates / CRM / common / joomla.tpl
CommitLineData
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 &raquo;
46 {/if}
47 <a href="{$crumb.url}">{$crumb.title}</a>
48 {/foreach}
49 </div>
50 {/if}
51
6a488035
TO
52{if $pageTitle}
53 <div class="crm-title">
54 <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1>
55 </div>
56{/if}
57
58 {crmRegion name='page-header'}
59 {/crmRegion}
60
61{*{include file="CRM/common/langSwitch.tpl"}*}
62
63 <div class="clear"></div>
64
65 {if $localTasks}
66 {include file="CRM/common/localNav.tpl"}
67 {/if}
68
6bb066a3
CW
69 <div id="crm-main-content-wrapper">
70 {include file="CRM/common/status.tpl"}
71 {crmRegion name='page-body'}
b1dd8421 72 {if isset($isForm) and $isForm and isset($formTpl)}
6bb066a3
CW
73 {include file="CRM/Form/$formTpl.tpl"}
74 {else}
75 {include file=$tplFile}
76 {/if}
77 {/crmRegion}
78 </div>
6a488035
TO
79
80 {crmRegion name='page-footer'}
466913fc
AH
81 {if $urlIsPublic}
82 {include file="CRM/common/publicFooter.tpl"}
83 {else}
84 {include file="CRM/common/footer.tpl"}
6a488035
TO
85 {/if}
86 {/crmRegion}
87
88 </td>
89
90 </tr>
91</table>
92</div> {* end crm-container div *}