|
|
@@ -184,35 +184,12 @@ class EditListDataProvider extends AddListDataProvider
|
|
|
// $this->data['hideGal'] = $list->getDataResourceA(DistributionList::ATTR_HIDE_IN_GAL) === Kerio::ATTR_ENABLED ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
|
|
|
// $this->data['receiveMail'] = $list->getDataResourceA(DistributionList::ATTR_MAIL_STATUS) === Kerio::ENABLED ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
|
|
|
// $this->data['replyEmail'] = $list->getDataResourceA(DistributionList::REPLY_TO_ENABLED) === Kerio::ATTR_ENABLED ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
|
|
|
- /**
|
|
|
- * is dynamic group
|
|
|
- */
|
|
|
-// $this->data['dynamicGroup'] = (int)$list->isDynamic() === Kerio::ENABLED_AS_INT ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
|
|
|
-
|
|
|
|
|
|
/**
|
|
|
* available members
|
|
|
*/
|
|
|
// $accounts = $repository->accounts->getByDomainName($hosting->domain);
|
|
|
|
|
|
- /**
|
|
|
- * subscription requests
|
|
|
- */
|
|
|
-// $this->availableValues['subscriptionRequest'] = [
|
|
|
-// Kerio::STATUS_ACCEPT => $lang->absoluteT('Automatically accept'),
|
|
|
-// Kerio::STATUS_APPROVAL => $lang->absoluteT('Require list owner approval'),
|
|
|
- // Kerio::STATUS_REJECT => $lang->absoluteT('Automatically reject')
|
|
|
-// ];
|
|
|
-
|
|
|
- /**
|
|
|
- * unsubscription requests
|
|
|
- */
|
|
|
-// $this->availableValues['unsubscriptionRequest'] = [
|
|
|
-// Kerio::STATUS_ACCEPT => $lang->absoluteT('Automatically accept'),
|
|
|
-// Kerio::STATUS_APPROVAL => $lang->absoluteT('Require list owner approval'),
|
|
|
-// Kerio::STATUS_REJECT => $lang->absoluteT('Automatically reject')
|
|
|
-// ];
|
|
|
-
|
|
|
// $members = $list->getResourceMembers();
|
|
|
|
|
|
/**
|