|
@@ -407,13 +407,20 @@ function zimbraSingleConfigOptions($params) {
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
$domainNames = recursiveFindAll($response, 'NAME');
|
|
$domainNames = recursiveFindAll($response, 'NAME');
|
|
|
- foreach($domainNames as $domainName) {
|
|
|
|
|
|
|
+ $configOptions['maildomains'] = array(
|
|
|
|
|
+ "FriendlyName" => "Mail Domains",
|
|
|
|
|
+ "Type" => "textarea",
|
|
|
|
|
+ "Rows" => "1",
|
|
|
|
|
+ "Description" => "list of maildomains",
|
|
|
|
|
+ "Default" => implode(',', $domainNames),
|
|
|
|
|
+ );
|
|
|
|
|
+/* foreach($domainNames as $domainName) {
|
|
|
$configOptions[$domainName] = array(
|
|
$configOptions[$domainName] = array(
|
|
|
"FriendlyName" => $domainName,
|
|
"FriendlyName" => $domainName,
|
|
|
"Type" => "yesno",
|
|
"Type" => "yesno",
|
|
|
"Description" => "activate to use this maildomain in customer selection",
|
|
"Description" => "activate to use this maildomain in customer selection",
|
|
|
);
|
|
);
|
|
|
- }
|
|
|
|
|
|
|
+ } */
|
|
|
return $configOptions;
|
|
return $configOptions;
|
|
|
}
|
|
}
|
|
|
|
|
|