$this->assign('paymentType', $this->_paymentType);
$this->assign('paymentAmt', abs($paymentAmt));
- $this->_paymentProcessor = array('billing_mode' => 1);
+ $this->setPageTitle($this->_refund ? ts('Refund') : ts('Payment'));
- $title = ($this->_refund) ? "Refund for {$this->_contributorDisplayName}" : "Payment from {$this->_contributorDisplayName}";
- if ($title) {
- CRM_Utils_System::setTitle(ts('%1', array(1 => $title)));
- }
+ $this->_paymentProcessor = array('billing_mode' => 1);
}
/**
{include file="CRM/Contribute/Form/AdditionalInfo/$formType.tpl"}
{else}
-{if $paymentType eq 'refund'}
-<h3>{ts}New Event Refund{/ts}</h3>
-{else}
-<h3>{if $component eq 'event'}{if $contributionMode}{ts}Credit Card Event Payment{/ts}{else}{ts}New Event Payment{/ts}{/if}{/if}</h3>
-{/if}
<div class="crm-block crm-form-block crm-payment-form-block">
{if $contributionMode == 'test'}