Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
232624b1 | 3 | | CiviCRM version 4.4 | |
6a488035 TO |
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 | *} | |
46065582 PJ |
26 | {if $outputMode neq 'print'} |
27 | {include file="CRM/common/crmeditable.tpl"} | |
28 | {/if} | |
6a488035 TO |
29 | {* this div is being used to apply special css *} |
30 | {if $section eq 1} | |
31 | <div class="crm-block crm-content-block crm-report-layoutGraph-form-block"> | |
32 | {*include the graph*} | |
33 | {include file="CRM/Report/Form/Layout/Graph.tpl"} | |
34 | </div> | |
35 | {elseif $section eq 2} | |
36 | <div class="crm-block crm-content-block crm-report-layoutTable-form-block"> | |
37 | {*include the table layout*} | |
38 | {include file="CRM/Report/Form/Layout/Table.tpl"} | |
39 | </div> | |
40 | {else} | |
41 | {if $criteriaForm OR $instanceForm OR $instanceFormError} | |
42 | <div class="crm-block crm-form-block crm-report-field-form-block"> | |
43 | {include file="CRM/Report/Form/Fields.tpl"} | |
44 | </div> | |
45 | {/if} | |
46 | ||
47 | <div class="crm-block crm-content-block crm-report-form-block"> | |
48 | {*include actions*} | |
49 | {include file="CRM/Report/Form/Actions.tpl"} | |
50 | ||
51 | {*Statistics at the Top of the page*} | |
52 | {include file="CRM/Report/Form/Statistics.tpl" top=true} | |
53 | ||
54 | {*include the graph*} | |
55 | {include file="CRM/Report/Form/Layout/Graph.tpl"} | |
56 | ||
57 | {*include the table layout*} | |
58 | {include file="CRM/Report/Form/Layout/Table.tpl"} | |
59 | <br /> | |
60 | {*Statistics at the bottom of the page*} | |
61 | {include file="CRM/Report/Form/Statistics.tpl" bottom=true} | |
62 | ||
63 | {include file="CRM/Report/Form/ErrorMessage.tpl"} | |
64 | </div> | |
65 | {/if} | |
66 | {if $outputMode == 'print'} | |
67 | <script type="text/javascript"> | |
68 | window.print(); | |
69 | </script> | |
232624b1 | 70 | {/if} |