Hanno Böck This code is published under a 0BSD license. Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code. */ require_once('inc/base.php'); require_once('inc/security.php'); require_once('inc/icons.php'); require_role(ROLE_SYSTEMUSER); require_once('dnsinclude.php'); $section = 'dns_dyndns'; $dyndns = get_dyndns_account($_REQUEST['id']); title("Hostnames für DynDNS-Account " . filter_output_html($dyndns['handle'])); $available_domains = []; $domains = get_domain_list($_SESSION['customerinfo']['customerno'], $_SESSION['userinfo']['uid']); foreach ($domains as $d) { if ($d->dns) { $available_domains[$d->id] = $d->fqdn; } } $records = get_dyndns_records($dyndns['id']); if ($records) { $output .= '

Folgende DNS-records sind mit diesem DynDNS-Account verknüpft:

'; } output('

Neuen Hostname festlegen

'); $form = '

 . ' . html_select('domain', $available_domains) . '

Typ:

'; output(html_form('dyndns_hostname_add', 'dyndns_hostname_add', 'id=' . $dyndns['id'], $form)); output('

' . internal_link('dyndns', 'Zurück zur Übersicht') . "

");