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