1fb9798cc53f151a7e20d59f9a8f33be5df50c36
[civicrm-core.git] / templates / CRM / Contact / Page / View / Print.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
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 +--------------------------------------------------------------------+
9 *}
10 {* Contact Summary template to print contact information *}
11 {literal}
12 <style type="text/css" media="screen, print">
13 <!--
14 #crm-container div {
15 font-size: 12px;
16 }
17 -->
18 </style>
19 {/literal}
20 <form action="{crmURL p='civicrm/contact/view' q="cid=`$contactId`&reset=1"}" method="post" id="Print1" >
21 <div class="form-item">
22 <span class="element-right"><input onclick="window.print(); return false" class="crm-form-submit default" name="_qf_Print_next" value="{ts}Print{/ts}" type="submit" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input class="crm-form-submit" name="_qf_Print_back" value="{ts}Done{/ts}" type="submit" /></span>
23 </div>
24 </form>
25 <br />
26 <div class="solid-border-top"><br />
27 {include file="CRM/Contact/Page/View/Summary.tpl"}
28 <form action="{crmURL p='civicrm/contact/view' q="cid=`$contactId`&reset=1"}" method="post" id="Print2" >
29 <div class="form-item">
30 <span class="element-right"><input onclick="window.print(); return false" class="crm-form-submit default" name="_qf_Print_next" value="{ts}Print{/ts}" type="submit" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input class="crm-form-submit" name="_qf_Print_back" value="{ts}Done{/ts}" type="submit" /></span>
31 </div>
32 </form>
33 </div>
34 {literal}
35 <script type="text/javascript">
36 cj('#mainTabContainer').children(':first').remove();
37
38 </script>
39 {/literal}