Import from SVN (r45945, r596)
[civicrm-core.git] / templates / CRM / common / joomla.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.3 |
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*}
26{include file="CRM/common/scripts.tpl"}
27{if $config->debug}
28{include file="CRM/common/debug.tpl"}
29{/if}
30
31<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}">
32
33{* Only include joomla.css in administrator (backend). Page layout style ids and classes conflict with typical front-end css and break the page layout. *}
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 &raquo;
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. *}
61<div id="printer-friendly"><a href="javascript:window.print()" title="{ts}Print this page.{/ts}"><div class="ui-icon ui-icon-print"></div></a></div>
62{else}
63{* Printer friendly link/icon. *}
64<div id="printer-friendly"><a href="{$printerFriendly}" title="{ts}Printer-friendly view of this page.{/ts}"><div class="ui-icon ui-icon-print"></div></a></div>
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
84 {include file="CRM/common/status.tpl"}
85
86 <!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
87 {crmRegion name='page-body'}
88 {if $isForm}
89 {include file="CRM/Form/$formTpl.tpl"}
90 {else}
91 {include file=$tplFile}
92 {/if}
93 {/crmRegion}
94
95 {crmRegion name='page-footer'}
96 {if ! $urlIsPublic}
97 {include file="CRM/common/footer.tpl"}
98 {/if}
99 {/crmRegion}
100
101 </td>
102
103 </tr>
104</table>
105</div> {* end crm-container div *}