id; } if (! $new) { $data = get_dns_record($_REQUEST['id']); $type = $data['type']; if (! in_array($type, $valid_record_types)) system_failure('Ungültiger Record-Typ!'); } if ($new) $output .= '

DNS-Record erstellen

'; else $output .= '

DNS-Record bearbeiten

'; $action = 'create'; if (! $new) $action = 'edit&id='.(int)$_REQUEST['id']; $submit = 'Speichern'; if ($new) $submit = 'Anlegen'; $domain = new Domain( (int) $data['domain'] ); $output .= html_form('dns_record_edit', 'save', 'type=dns&action='.$action, '

  .'.$domain->fqdn.'

Typ:

'); ?>