From c0321a2d42c8de518fb1abaf9191d49058699cda Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Fri, 31 Jan 2014 10:55:25 -0800 Subject: [PATCH] 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 --- CRM/Contribute/Form/Contribution/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index f1fb2d6aac..9027acf679 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -563,7 +563,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu if (!($allAreBillingModeProcessors && !$this->_values['is_pay_later'])) { $submitButton = array( 'type' => 'upload', - 'name' => ts('Contribute'), + 'name' => CRM_Utils_Array::value('is_confirm_enabled', $this->_values) ? ts('Confirm Contribution') : ts('Contribute'), 'spacing' => '         ', 'isDefault' => TRUE, ); -- 2.25.1