|
@@ -382,12 +382,12 @@ function zimbraSingleConfigOptions() {
|
|
|
}
|
|
}
|
|
|
$cosNames = recursiveFindAll($response, 'NAME');
|
|
$cosNames = recursiveFindAll($response, 'NAME');
|
|
|
$configOptions = array();
|
|
$configOptions = array();
|
|
|
- $configOptions['cos'] = [
|
|
|
|
|
|
|
+ $configOptions['cos'] = array (
|
|
|
"FriendlyName" => "Class of Service",
|
|
"FriendlyName" => "Class of Service",
|
|
|
"Type" => "radio",
|
|
"Type" => "radio",
|
|
|
"Options" => implode(',', $cosNames),
|
|
"Options" => implode(',', $cosNames),
|
|
|
"Description" => "Tick to use this COS",
|
|
"Description" => "Tick to use this COS",
|
|
|
- ];
|
|
|
|
|
|
|
+ );
|
|
|
$apiDomainManager = new Zm_Domain($api);
|
|
$apiDomainManager = new Zm_Domain($api);
|
|
|
$response = $apiDomainManager->getAllDomains();
|
|
$response = $apiDomainManager->getAllDomains();
|
|
|
$domainNames = recursiveFindAll($response, 'NAME');
|
|
$domainNames = recursiveFindAll($response, 'NAME');
|