X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FDedupeFind.php;h=13e2a4035f8233406cd2e26d5b70402113945d5a;hb=9ac33d0facc90a601965c3a338826a1a90ef4d80;hp=999390ec5ea8e56879b8f3d4adfe014fc3661c9b;hpb=4ac1772d31cffe0b198aa491f4daad7cfa9f7c93;p=civicrm-core.git diff --git a/CRM/Contact/Form/DedupeFind.php b/CRM/Contact/Form/DedupeFind.php index 999390ec5e..13e2a4035f 100644 --- a/CRM/Contact/Form/DedupeFind.php +++ b/CRM/Contact/Form/DedupeFind.php @@ -1,34 +1,18 @@ ts('- All Contacts -')) + CRM_Core_PseudoConstant::nestedGroup(); + $groupList = ['' => ts('- All Contacts -')] + CRM_Core_PseudoConstant::nestedGroup(); - $this->add('select', 'group_id', ts('Select Group'), $groupList, FALSE, array('class' => 'crm-select2 huge')); + $this->add('select', 'group_id', ts('Select Group'), $groupList, FALSE, ['class' => 'crm-select2 huge']); if (Civi::settings()->get('dedupe_default_limit')) { $this->add('text', 'limit', ts('No of contacts to find matches for ')); } - $this->addButtons(array( - array( - 'type' => 'next', - 'name' => ts('Continue'), - 'isDefault' => TRUE, - ), - //hack to support cancel button functionality - array( - 'type' => 'submit', - 'class' => 'cancel', - 'icon' => 'fa-times', - 'name' => ts('Cancel'), - ), - ) - ); + $this->addButtons([ + [ + 'type' => 'next', + 'name' => ts('Continue'), + 'isDefault' => TRUE, + ], + //hack to support cancel button functionality + [ + 'type' => 'submit', + 'class' => 'cancel', + 'icon' => 'fa-times', + 'name' => ts('Cancel'), + ], + ]); } /**