Merge pull request #4380 from atif-shaikh/CRM-15301
[civicrm-core.git] / templates / CRM / Form / body.tpl
index 2ed29d54256110f9917dae351d4967a20e80fa10..d951907da040ec0eac1ae216e1ff3d54a235a279 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -23,8 +23,6 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
-{include file="CRM/common/stateCountry.tpl"}
-
 {if $form.javascript}
   {$form.javascript}
 {/if}
@@ -33,7 +31,7 @@
   <div>{$form.hidden}</div>
 {/if}
 
-{if ($snippet eq 0 or $snippet neq 'json') and !$suppressForm and count($form.errors) gt 0}
+{if ($snippet !== 'json') and !$suppressForm and count($form.errors) gt 0}
    <div class="messages crm-error">
        <div class="icon red-icon alert-icon"></div>
      {ts}Please correct the following errors in the form fields below:{/ts}