Skip to content
Snippets Groups Projects
Commit c0321a2d authored by Dave Greenberg's avatar Dave Greenberg
Browse files

CRM-14146 - conditionally change contribution button text based on whether...

CRM-14146 - conditionally change contribution button text  based on whether confirm page is skipped.

----------------------------------------
* CRM-14146: Button on contribution page should be "Confirm Contribution"
  http://issues.civicrm.org/jira/browse/CRM-14146
parent 38699bed
No related branches found
No related tags found
No related merge requests found
...@@ -563,7 +563,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu ...@@ -563,7 +563,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
if (!($allAreBillingModeProcessors && !$this->_values['is_pay_later'])) { if (!($allAreBillingModeProcessors && !$this->_values['is_pay_later'])) {
$submitButton = array( $submitButton = array(
'type' => 'upload', 'type' => 'upload',
'name' => ts('Contribute'), 'name' => CRM_Utils_Array::value('is_confirm_enabled', $this->_values) ? ts('Confirm Contribution') : ts('Contribute'),
'spacing' => '         ', 'spacing' => '         ',
'isDefault' => TRUE, 'isDefault' => TRUE,
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment