2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
27 {include file="CRM/common/debug.tpl"}
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}">
32 {* we should uncomment below code only when we are experimenting with new css for specific pages and comment css inclusion in civicrm.module*}
33 {*if $config->customCSSURL}
34 <link rel="stylesheet" href="{$config->customCSSURL}" type="text/css" />
36 {assign var="revamp" value=0}
37 {foreach from=$config->revampPages item=page}
38 {if $page eq $tplFile}
39 {assign var="revamp" value=1}
44 <link rel="stylesheet" href="{$config->resourceBase}css/civicrm.css" type="text/css" />
46 <link rel="stylesheet" href="{$config->resourceBase}css/civicrm-new.css" type="text/css" />
48 <link rel="stylesheet" href="{$config->resourceBase}css/extras.css" type="text/css" />
52 {crmNavigationMenu is_default=1}
55 <div class="breadcrumb">
56 {foreach from=$breadcrumb item=crumb key=key}
65 {* include wysiwyg related files*}
66 {include file="CRM/common/wysiwyg.tpl"}
68 {if isset($browserPrint) and $browserPrint}
69 {* Javascript window.print link. Used for public pages where we can't do printer-friendly view. *}
70 <div id="printer-friendly">
71 <a href="#" onclick="window.print(); return false;" title="{ts}Print this page.{/ts}">
72 <div class="ui-icon ui-icon-print"></div>
76 {* Printer friendly link/icon. *}
77 <div id="printer-friendly">
78 <a href="{$printerFriendly}" target='_blank' title="{ts}Printer-friendly view of this page.{/ts}">
79 <div class="ui-icon ui-icon-print"></div>
85 <div class="crm-title">
86 <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1>
90 {crmRegion name='page-header'}
92 {*{include file="CRM/common/langSwitch.tpl"}*}
94 <div class="clear"></div>
96 {if isset($localTasks) and $localTasks}
97 {include file="CRM/common/localNav.tpl"}
100 <div id="crm-main-content-wrapper">
101 {include file="CRM/common/status.tpl"}
102 {crmRegion name='page-body'}
103 <!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
104 {if isset($isForm) and $isForm}
105 {include file="CRM/Form/$formTpl.tpl"}
107 {include file=$tplFile}
113 {crmRegion name='page-footer'}
115 {include file="CRM/common/footer.tpl"}
119 </div> {* end crm-container div *}