Merge pull request #1973 from kurund/CRM-13587
[civicrm-core.git] / templates / CRM / common / joomla.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
232624b1 3 | CiviCRM version 4.4 |
6a488035
TO
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
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
32{* Only include joomla.css in administrator (backend). Page layout style ids and classes conflict with typical front-end css and break the page layout. *}
33{crmNavigationMenu is_default=1}
34
35{* include wysiwyg related files*}
36{include file="CRM/common/wysiwyg.tpl"}
37
38<table border="0" cellpadding="0" cellspacing="0" id="crm-content">
39 <tr>
40{if $sidebarLeft}
41 <td id="sidebar-left" valign="top">
42 <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>
43 {$sidebarLeft}
44 </td>
45{/if}
46 <td id="content-right" valign="top">
47 {if $breadcrumb}
48 <div class="breadcrumb">
49 {foreach from=$breadcrumb item=crumb key=key}
50 {if $key != 0}
51 &raquo;
52 {/if}
53 <a href="{$crumb.url}">{$crumb.title}</a>
54 {/foreach}
55 </div>
56 {/if}
57
58{if $browserPrint}
59{* Javascript window.print link. Used for public pages where we can't do printer-friendly view. *}
b7054e52 60<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
61{else}
62{* Printer friendly link/icon. *}
0b4dcd5e 63<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
64{/if}
65
66{if $pageTitle}
67 <div class="crm-title">
68 <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1>
69 </div>
70{/if}
71
72 {crmRegion name='page-header'}
73 {/crmRegion}
74
75{*{include file="CRM/common/langSwitch.tpl"}*}
76
77 <div class="clear"></div>
78
79 {if $localTasks}
80 {include file="CRM/common/localNav.tpl"}
81 {/if}
82
83 {include file="CRM/common/status.tpl"}
84
85 <!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
86 {crmRegion name='page-body'}
87 {if $isForm}
88 {include file="CRM/Form/$formTpl.tpl"}
89 {else}
90 {include file=$tplFile}
91 {/if}
92 {/crmRegion}
93
94 {crmRegion name='page-footer'}
95 {if ! $urlIsPublic}
96 {include file="CRM/common/footer.tpl"}
97 {/if}
98 {/crmRegion}
99
100 </td>
101
102 </tr>
103</table>
104</div> {* end crm-container div *}