From 1314081fcc7722bcbcdc531bc44b41230d0d6e26 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Mon, 9 Feb 2015 18:10:10 +0530 Subject: [PATCH] CRM-14114 fix - Online recurring contribution page does not translate recurring unit https://issues.civicrm.org/jira/browse/CRM-14114 --- CRM/Contribute/Form/ContributionPage/Amount.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Contribute/Form/ContributionPage/Amount.php b/CRM/Contribute/Form/ContributionPage/Amount.php index 4ca9d4aef1..956c1d6f60 100644 --- a/CRM/Contribute/Form/ContributionPage/Amount.php +++ b/CRM/Contribute/Form/ContributionPage/Amount.php @@ -123,9 +123,9 @@ SELECT id array('onclick' => "showHideByValue('is_recur',true,'recurFields','table-row','radio',false);") ); $this->addCheckBox('recur_frequency_unit', ts('Supported recurring units'), - CRM_Core_OptionGroup::values('recur_frequency_units', FALSE, FALSE, FALSE, NULL, 'name'), + CRM_Core_OptionGroup::values('recur_frequency_units', FALSE, FALSE, TRUE), NULL, NULL, NULL, NULL, - array('  ', '  ', '  ', '
') + array('  ', '  ', '  ', '
'), TRUE ); $this->addElement('checkbox', 'is_recur_interval', ts('Support recurring intervals')); $this->addElement('checkbox', 'is_recur_installments', ts('Offer installments')); @@ -164,9 +164,9 @@ SELECT id NULL, array('onclick' => "showHideAmountBlock( this, 'is_pledge_active' ); return showHideByValue('is_pledge_active',true,'pledgeFields','table-row','radio',false);") ); $this->addCheckBox('pledge_frequency_unit', ts('Supported pledge frequencies'), - CRM_Core_OptionGroup::values('recur_frequency_units', FALSE, FALSE, FALSE, NULL, 'name'), + CRM_Core_OptionGroup::values('recur_frequency_units', FALSE, FALSE, TRUE), NULL, NULL, NULL, NULL, - array('  ', '  ', '  ', '
') + array('  ', '  ', '  ', '
'), TRUE ); $this->addElement('checkbox', 'is_pledge_interval', ts('Allow frequency intervals')); $this->addElement('text', 'initial_reminder_day', ts('Send payment reminder'), array('size' => 3)); -- 2.25.1