Hanno Böck To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/ 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_role(ROLE_SYSTEMUSER); require_once('dnsinclude.php'); $section = 'dns_dyndns'; $new = true; $dyndns = array(); if (isset($_REQUEST['id'])) { $dyndns = get_dyndns_account($_REQUEST['id']); $new = false; } $username_http = $_SESSION['userinfo']['username']; if (isset($dyndns['handle'])) $username_http .= "_{$dyndns['handle']}"; $http_update_info = ''; if (isset($dyndns['password'])) $http_update_info = ' Lassen Sie das Passworteingabefeld unberührt um das bestehende Passwort zu erhalten. Entfernen Sie das bestehende Passwort um das HTTP-Update zu deaktivieren.'; $html_header .= ' '; title('DynDNS-Account'); if (! $new ) $output .= '
aktuelle Daten:
letztes Update: '.$dyndns['lastchange'].'
aktuelle Adresse: '.$dyndns['address'].'
'; $form = '

 

Update per HTTPs

Geben Sie hier ein Passwort ein um das Update per HTTPs zu aktivieren.'.$http_update_info.'

Benutzername: '.$username_http.'

 

Update per SSH

Kopieren Sie Ihren SSH-public-Key im OpenSSH-Format in dieses Eingabefeld um das Update per SSH zu aktivieren.


'; $output .= html_form('dyndns_edit', 'save', 'type=dyndns&action=edit&'.(isset($_REQUEST['id']) ? 'id='.$_REQUEST['id'] : ''), $form); if (! $new ) { $records = get_dyndns_records($_REQUEST['id']); $output .= '

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

'; output("

".internal_link('dyndns_hostnames', "Liste ändern...", "id={$_REQUEST['id']}")."

"); }