|
172 | 172 | 'default' => 'n', |
173 | 173 | 'value' => array(0 => 'n', 1 => 'y') |
174 | 174 | ), |
| 175 | + 'default_webserver' => array ( |
| 176 | + 'datatype' => 'INTEGER', |
| 177 | + 'formtype' => 'SELECT', |
| 178 | + 'default' => '1', |
| 179 | + 'datasource' => array ( 'type' => 'CUSTOM', |
| 180 | + 'class'=> 'custom_datasource', |
| 181 | + 'function'=> 'client_servers' |
| 182 | + ), |
| 183 | + 'value' => '', |
| 184 | + 'name' => 'default_webserver' |
| 185 | + ), |
| 186 | + 'default_dbserver' => array ( |
| 187 | + 'datatype' => 'INTEGER', |
| 188 | + 'formtype' => 'SELECT', |
| 189 | + 'default' => '1', |
| 190 | + 'datasource' => array ( 'type' => 'CUSTOM', |
| 191 | + 'class'=> 'custom_datasource', |
| 192 | + 'function'=> 'client_servers' |
| 193 | + ), |
| 194 | + 'value' => '', |
| 195 | + 'name' => 'default_dbserver' |
| 196 | + ), |
175 | 197 | //################################# |
176 | 198 | // ENDE Datatable fields |
177 | 199 | //################################# |
|
321 | 343 | 'default' => '', |
322 | 344 | 'value' => array('' => 'No', 'ssl' => 'SSL', 'tls' => 'STARTTLS') |
323 | 345 | ), |
| 346 | + 'default_mailserver' => array ( |
| 347 | + 'datatype' => 'INTEGER', |
| 348 | + 'formtype' => 'SELECT', |
| 349 | + 'default' => '1', |
| 350 | + 'datasource' => array ( 'type' => 'CUSTOM', |
| 351 | + 'class'=> 'custom_datasource', |
| 352 | + 'function'=> 'client_servers' |
| 353 | + ), |
| 354 | + 'value' => '', |
| 355 | + 'name' => 'default_mailserver' |
| 356 | + ), |
| 357 | + //################################# |
| 358 | + // ENDE Datatable fields |
| 359 | + //################################# |
| 360 | + ) |
| 361 | +); |
| 362 | + |
| 363 | +$form["tabs"]['dns'] = array ( |
| 364 | + 'title' => "DNS", |
| 365 | + 'width' => 70, |
| 366 | + 'template' => "templates/system_config_dns_edit.htm", |
| 367 | + 'fields' => array ( |
| 368 | + //################################# |
| 369 | + // Begin Datatable fields |
| 370 | + //################################# |
| 371 | + 'default_dnsserver' => array ( |
| 372 | + 'datatype' => 'INTEGER', |
| 373 | + 'formtype' => 'SELECT', |
| 374 | + 'default' => '1', |
| 375 | + 'datasource' => array ( 'type' => 'CUSTOM', |
| 376 | + 'class'=> 'custom_datasource', |
| 377 | + 'function'=> 'client_servers' |
| 378 | + ), |
| 379 | + 'value' => '', |
| 380 | + 'name' => 'default_dnsserver' |
| 381 | + ), |
| 382 | + 'default_slave_dnsserver' => array ( |
| 383 | + 'datatype' => 'INTEGER', |
| 384 | + 'formtype' => 'SELECT', |
| 385 | + 'default' => '1', |
| 386 | + 'datasource' => array ( 'type' => 'CUSTOM', |
| 387 | + 'class'=> 'custom_datasource', |
| 388 | + 'function'=> 'client_servers' |
| 389 | + ), |
| 390 | + 'value' => '', |
| 391 | + 'name' => 'default_slave_dnsserver' |
| 392 | + ), |
324 | 393 | //################################# |
325 | 394 | // ENDE Datatable fields |
326 | 395 | //################################# |
|
0 commit comments