|
|
@@ -393,7 +393,6 @@ function zimbraSingleConfigOptions($params) {
|
|
|
"Type" => "dropdown",
|
|
|
"Options" => implode(',', $cosNames),
|
|
|
"Description" => "Select COS",
|
|
|
- 'SimpleMode' => true,
|
|
|
);
|
|
|
$apiDomainManager = new Zm_Domain($api);
|
|
|
$response = $apiDomainManager->getAllDomains();
|
|
|
@@ -411,18 +410,10 @@ function zimbraSingleConfigOptions($params) {
|
|
|
$configOptions['maildomains'] = array(
|
|
|
"FriendlyName" => "Mail Domain",
|
|
|
"Type" => "dropdown",
|
|
|
- "Multiple" => true,
|
|
|
+ "Multiple" => yes,
|
|
|
"Options" => implode(',', $domainNames),
|
|
|
"Description" => "select maildomains",
|
|
|
- 'SimpleMode' => true,
|
|
|
);
|
|
|
-/* foreach($domainNames as $domainName) {
|
|
|
- $configOptions[$domainName] = array(
|
|
|
- "FriendlyName" => $domainName,
|
|
|
- "Type" => "yesno",
|
|
|
- "Description" => "activate to use this maildomain in customer selection",
|
|
|
- );
|
|
|
- } */
|
|
|
return $configOptions;
|
|
|
}
|
|
|
|