CRM-12872 - Ajax-enable pager links
[civicrm-core.git] / templates / CRM / Contact / Page / View / CustomData.tpl
index 33df73b93dd6ad50fd81cc6ef837dba02125a5fc..11dc71448d4ccedb12c17701b080c457c6f5d1ed 100644 (file)
@@ -1,6 +1,6 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
 *}
 {* template for custom data *}
 {if $action eq 0 or $action eq 1 or $action eq 2 or $recordActivity}
-    {include file="CRM/Contact/Form/CustomData.tpl" mainEdit=$mainEditForm}
+  {include file="CRM/Contact/Form/CustomData.tpl" mainEdit=$mainEditForm}
 {/if}
 
 {strip}
-    {if $action eq 16 or $action eq 4} {* Browse or View actions *}
-        <div class="form-item">
-            {include file="CRM/Custom/Page/CustomDataView.tpl"}            
-        </div>
-    {/if}
+  {if $action eq 16 or $action eq 4} {* Browse or View actions *}
+    <div class="form-item">
+      {include file="CRM/Custom/Page/CustomDataView.tpl"}
+    </div>
+  {/if}
 {/strip}
+
 {if $mainEditForm}
-<script type="text/javascript"> 
-    var showBlocks1 = new Array({$showBlocks1}); 
-    var hideBlocks1 = new Array({$hideBlocks1}); 
-    on_load_init_blocks( showBlocks1, hideBlocks1 ); 
-</script>
+  <script type="text/javascript">
+    var showBlocks1 = new Array({$showBlocks1});
+    var hideBlocks1 = new Array({$hideBlocks1});
+
+    on_load_init_blocks(showBlocks1, hideBlocks1);
+  </script>
 {else}
-<script type="text/javascript">
+  <script type="text/javascript">
     var showBlocks = new Array({$showBlocks});
     var hideBlocks = new Array({$hideBlocks});
 
     {* hide and display the appropriate blocks as directed by the php code *}
-    on_load_init_blocks( showBlocks, hideBlocks );
+    on_load_init_blocks(showBlocks, hideBlocks);
   </script>
 {/if}