Explorar o código

debug configOptions

andre %!s(int64=5) %!d(string=hai) anos
pai
achega
8040abc379
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      zimbraSingle.inc

+ 8 - 2
zimbraSingle.inc

@@ -408,10 +408,16 @@ function zimbraSingleConfigOptions($params) {
     }
     $domainNames = recursiveFindAll($response, 'NAME');
     foreach($domainNames as $domainName) {
-        $configOptions[$domainName] = array(
+        $configOptions['maildomain'] = array(
+            "FriendlyName" => $domainName,
+            "Type" => "textarea", # Textarea
+            "Rows" => "1", # Number of Rows
+            "Cols" => "50", # Number of Columns
+            "Default" => $domainName,
+        );
+        $configOptions['activate'] = array(
             "FriendlyName" => $domainName,
             "Type" => "yesno",
-            "Description" => "activate to use this maildomain in customer selection",
         );
     }
     return $configOptions;