2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
10 {* Print.tpl: wrapper for Print views. Provides complete HTML doc. Includes print media stylesheet.*}
11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
12 <html xmlns="http://www.w3.org/1999/xhtml" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}">
15 <title>{if $pageTitle}{$pageTitle|strip_tags}{else}{ts}Printer-Friendly View{/ts} | {ts}CiviCRM{/ts}{/if}</title>
16 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
17 <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
18 {crmRegion name='html-header' allowCmsOverride=0}{/crmRegion}
19 <style type="text/css" media="print">@import url({$config->resourceBase}css/print.css);</style>
24 {include file="CRM/common/debug.tpl"}
26 <div id="crm-container" class="crm-container" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}">
27 {crmRegion name='page-header' allowCmsOverride=0}{/crmRegion}
28 {* Check for Status message for the page (stored in session->getStatus). Status is cleared on retrieval. *}
29 {include file="CRM/common/status.tpl"}
31 {crmRegion name='page-body' allowCmsOverride=0}
32 {if $isForm and isset($formTpl)}
33 {include file="CRM/Form/$formTpl.tpl"}
35 {include file=$tplFile}
40 {crmRegion name='page-footer' allowCmsOverride=0}
41 <script type="text/javascript">
45 </div> {* end crm-container div *}