X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUF%2FPage%2FGroup.php;h=78296ee8cd0a57fec66fd3133bea1c8f52af3e8e;hb=3507f83ef45583ad7815e2a7ca2511cd994f32ab;hp=2c559e34ad56d04132cdf1348410e91db0306e94;hpb=bd44e0df9eab07e1bb406cb320e970a35abd6a45;p=civicrm-core.git diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index 2c559e34ad..78296ee8cd 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -1,7 +1,7 @@ 'civicrm/profile/create', 'qs' => 'gid=%%id%%&reset=1', 'title' => ts('Use Profile-Create Mode'), + 'fe' => true, ), CRM_Core_Action::DISABLE => array( 'name' => ts('Disable'), @@ -298,13 +299,16 @@ class CRM_UF_Page_Group extends CRM_Core_Page { return; } - $ufGroups = CRM_Core_PseudoConstant::get('CRM_Core_DAO_UFGroup', 'uf_group_id'); + $ufGroups = CRM_Core_PseudoConstant::get('CRM_Core_DAO_UFField', 'uf_group_id'); CRM_Utils_Hook::aclGroup(CRM_Core_Permission::ADMIN, NULL, 'civicrm_uf_group', $ufGroups, $allUFGroups); foreach ($allUFGroups as $id => $value) { $ufGroup[$id] = array(); $ufGroup[$id]['id'] = $id; $ufGroup[$id]['title'] = $value['title']; + $ufGroup[$id]['created_id'] = $value['created_id']; + $ufGroup[$id]['created_by'] = CRM_Contact_BAO_Contact::displayName($value['created_id']); + $ufGroup[$id]['description'] = $value['description']; $ufGroup[$id]['is_active'] = $value['is_active']; $ufGroup[$id]['group_type'] = $value['group_type']; $ufGroup[$id]['is_reserved'] = $value['is_reserved'];