CRM-12505
authorStoob <stuart@korlon.com>
Thu, 2 May 2013 23:04:44 +0000 (16:04 -0700)
committerStoob <stuart@korlon.com>
Thu, 2 May 2013 23:04:44 +0000 (16:04 -0700)
----------------------------------------
* CRM-12505: Social Networking block should only be included on Thank-you page for online contributions and event registration
  http://issues.civicrm.org/jira/browse/CRM-12505

templates/CRM/Contribute/Form/Contribution/Main.tpl

index aa017296b2a7f4e95b8f4d364c4bf916d8d010f1..c81cd8c12f7aa3d228621139a3036e214dcb5b8f 100644 (file)
@@ -23,6 +23,7 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+
 {* Callback snippet: Load payment processor *}
 {if $snippet}
 {include file="CRM/Core/BillingBlock.tpl" context="front-end"}
@@ -94,7 +95,7 @@
   {include file="CRM/common/TrackingFields.tpl"}
 
   {capture assign='reqMark'}<span class="marker" title="{ts}This field is required.{/ts}">*</span>{/capture}
-  <div class="crm-block crm-contribution-main-form-block">
+  <div class="crm-contribution-page-id-{$contributionPageID} crm-block crm-contribution-main-form-block">
   <div id="intro_text" class="crm-section intro_text-section">
     {$intro_text}
   </div>
     <p>{$footer_text}</p>
   </div>
   {/if}
-  <br/>
-  {if $isShare}
-    {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="$qParams" a=true fe=1 h=1}{/capture}
-  {include file="CRM/common/SocialNetwork.tpl" url=$contributionUrl title=$title pageURL=$contributionUrl}
-  {/if}
 </div>
 
 <script type="text/javascript">