Merge pull request #5716 from jitendrapurohit/CRM-15716_4.6
[civicrm-core.git] / templates / CRM / Report / Form.tpl
index c7b63389ef895b10964b54500d2f7a9ce1b0f458..94046386f1dd9ff4e4cb43701fa9d52bfe8ba40e 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  +--------------------------------------------------------------------+
 *}
 {if $outputMode neq 'print'}
-  {include file="CRM/common/crmeditable.tpl"}
-{/if} 
+{/if}
 {* this div is being used to apply special css *}
-    {if $section eq 1}
-    <div class="crm-block crm-content-block crm-report-layoutGraph-form-block">
-        {*include the graph*}
-        {include file="CRM/Report/Form/Layout/Graph.tpl"}
-    </div>
-    {elseif $section eq 2}
-    <div class="crm-block crm-content-block crm-report-layoutTable-form-block">
-        {*include the table layout*}
-        {include file="CRM/Report/Form/Layout/Table.tpl"}
+{if $section eq 1}
+  <div class="crm-block crm-content-block crm-report-layoutGraph-form-block">
+    {*include the graph*}
+    {include file="CRM/Report/Form/Layout/Graph.tpl"}
+  </div>
+{elseif $section eq 2}
+  <div class="crm-block crm-content-block crm-report-layoutTable-form-block">
+    {*include the table layout*}
+    {include file="CRM/Report/Form/Layout/Table.tpl"}
   </div>
-    {else}
-    {if $criteriaForm OR $instanceForm OR $instanceFormError}
+{else}
+  {if $criteriaForm OR $instanceForm OR $instanceFormError}
     <div class="crm-block crm-form-block crm-report-field-form-block">
-        {include file="CRM/Report/Form/Fields.tpl"}
+      {include file="CRM/Report/Form/Fields.tpl"}
     </div>
-    {/if}
+  {/if}
 
-    <div class="crm-block crm-content-block crm-report-form-block">
-        {*include actions*}
-        {include file="CRM/Report/Form/Actions.tpl"}
+  <div class="crm-block crm-content-block crm-report-form-block">
+    {*include actions*}
+    {include file="CRM/Report/Form/Actions.tpl"}
 
-        {*Statistics at the Top of the page*}
-        {include file="CRM/Report/Form/Statistics.tpl" top=true}
+    {*Statistics at the Top of the page*}
+    {include file="CRM/Report/Form/Statistics.tpl" top=true}
 
-        {*include the graph*}
-        {include file="CRM/Report/Form/Layout/Graph.tpl"}
+    {*include the graph*}
+    {include file="CRM/Report/Form/Layout/Graph.tpl"}
 
-        {*include the table layout*}
-        {include file="CRM/Report/Form/Layout/Table.tpl"}
-      <br />
-        {*Statistics at the bottom of the page*}
-        {include file="CRM/Report/Form/Statistics.tpl" bottom=true}
+    {*include the table layout*}
+    {include file="CRM/Report/Form/Layout/Table.tpl"}
+    <br />
+    {*Statistics at the bottom of the page*}
+    {include file="CRM/Report/Form/Statistics.tpl" bottom=true}
 
-        {include file="CRM/Report/Form/ErrorMessage.tpl"}
-    </div>
-    {/if}
-    {if $outputMode == 'print'}
-      <script type="text/javascript">
-        window.print();
-      </script>
-    {/if}
+    {include file="CRM/Report/Form/ErrorMessage.tpl"}
+  </div>
+{/if}
+{if $outputMode == 'print'}
+  <script type="text/javascript">
+    window.print();
+  </script>
+{/if}