Merge pull request #15415 from ixiam/dev_issue#1297
[civicrm-core.git] / templates / CRM / common / CMSPrint.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 {if $breadcrumb}
33 <div class="breadcrumb">
34 {foreach from=$breadcrumb item=crumb key=key}
35 {if $key != 0}
36 &raquo;
37 {/if}
38 {$crumb}
39 {/foreach}
40 </div>
41 {/if}
42
43 {if $pageTitle}
44 <div class="crm-title">
45 <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1>
46 </div>
47 {/if}
48
49 {crmRegion name='page-header'}
50 {/crmRegion}
51 <div class="clear"></div>
52
53 {if isset($localTasks) and $localTasks}
54 {include file="CRM/common/localNav.tpl"}
55 {/if}
56 <div id="crm-main-content-wrapper">
57 {include file="CRM/common/status.tpl"}
58 {crmRegion name='page-body'}
59 {if isset($isForm) and $isForm and isset($formTpl)}
60 {include file="CRM/Form/$formTpl.tpl"}
61 {else}
62 {include file=$tplFile}
63 {/if}
64 {/crmRegion}
65 </div>
66
67 {crmRegion name='page-footer'}
68 {if $urlIsPublic}
69 {include file="CRM/common/publicFooter.tpl"}
70 {else}
71 {include file="CRM/common/footer.tpl"}
72 {/if}
73 {/crmRegion}
74
75 </div> {* end crm-container div *}