From: yashodha Date: Thu, 5 Sep 2013 05:59:45 +0000 (+0530) Subject: indentation fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6432bd6729d43e424e93e03e30208544e7e32191;p=civicrm-core.git indentation fixes --- diff --git a/CRM/Contact/Form/DedupeRules.php b/CRM/Contact/Form/DedupeRules.php index 7cf0deaa98..dd4c322465 100644 --- a/CRM/Contact/Form/DedupeRules.php +++ b/CRM/Contact/Form/DedupeRules.php @@ -125,7 +125,8 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { for ($count = 0; $count < self::RULES_COUNT; $count++) { $this->add('select', "where_$count", ts('Field'), array( - NULL => ts('- none -')) + $this->_fields, FALSE, $disabled + NULL => ts('- none -') + ) + $this->_fields, FALSE, $disabled ); $this->add('text', "length_$count", ts('Length'), $attributes); $this->add('text', "weight_$count", ts('Weight'), $attributes); @@ -133,9 +134,9 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { $this->add('text', 'threshold', ts("Weight Threshold to Consider Contacts 'Matching':"), $attributes); $this->addButtons(array( - array('type' => 'next', 'name' => ts('Save'), 'isDefault' => TRUE), - array('type' => 'cancel', 'name' => ts('Cancel')), - )); + array('type' => 'next', 'name' => ts('Save'), 'isDefault' => TRUE), + array('type' => 'cancel', 'name' => ts('Cancel')), + )); $this->assign('contact_type', $this->_contactType);