{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
*}
{* this template is used for adding/editing/deleting contributions and pledge payments *}
-{if $cdType}
- {include file="CRM/Custom/Form/CustomData.tpl"}
-{elseif $priceSetId}
+{if $priceSetId}
{include file="CRM/Price/Form/PriceSet.tpl" context="standalone" extends="Contribution"}
{elseif $showAdditionalInfo and $formType }
{include file="CRM/Contribute/Form/AdditionalInfo/$formType.tpl"}
{else}
-
+ {include file="CRM/Contribute/Form/AdditionalInfo/Payment.tpl"}
<div class="crm-block crm-form-block crm-contribution-form-block">
{if !$email and $action neq 8 and $context neq 'standalone'}
</div>
{/if}
{if $contributionMode}
- <div id="help">
+ <div class="help">
{if $contactId}
{ts 1=$displayName 2=$contributionMode|upper}Use this form to submit a new contribution on behalf of %1. <strong>A
%2 transaction will be submitted</strong> using the selected payment processor.{/ts}
<td>{$form.contact_id.html}</td>
{/if}
{if $contributionMode}
- <tr class="crm-contribution-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>
+ <tr class="crm-contribution-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="crm-marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>
{/if}
<tr class="crm-contribution-form-block-contribution_type_id crm-contribution-form-block-financial_type_id">
<td class="label">{$form.financial_type_id.label}</td><td{$valueStyle}>{$form.financial_type_id.html}
</td>
</tr>
- {if $buildRecurBlock && !$ppID}
+ {if $buildRecurBlock}
<tr id='recurringPaymentBlock' class='hiddenElement'>
<td></td>
<td>