<title>DNS Add</title>
<link href="usr_main.css" rel="stylesheet" type="text/css">
- <script src="usr_menus.js" type="text/javascript"></script>
+ <link href="usr_menus.css" rel="stylesheet" type="text/css"><script src="usr_menus.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
<script src="usr_common.js" type="text/javascript"></script>
<meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<script type="text/javascript">
<!-- hide
-setPageTitle("<%ejGetWl(wlInterface)%>");
+setPageTitle("<%ejGetWlJS(wlInterface)%>");
function ddnsChange() {
with ( document.forms[0] ) {
switch( ddns ) {
case "dyndns":
+ case "dtdns":
+ case "noip":
hideDDNSInfo( 0 );
hideTZOInfo( 1 );
hideDynDNSInfo( 0 );
if ( place == "ddnsmngr.cmd" ) {
with ( document.forms[0] ) {
switch( ddnsMode[ddnsMode.selectedIndex].value ) {
+ case 'noip':
+ loc += '3';
+ break;
+ case 'dtdns':
+ loc += '2';
+ break;
case 'dyndns':
loc += '1';
break;
switch( ddnsMode[ddnsMode.selectedIndex].value ) {
case "dyndns":
+ case "dtdns":
+ case "noip":
update_username = dyndnsUsername.value;
update_password = dyndnsPassword.value;
break;
}
if ( update_username.length == 0 ) {
- if ( ddnsMode[ddnsMode.selectedIndex].value == 'dyndns' )
+ if ( ddnsMode[ddnsMode.selectedIndex].value == 'dyndns' ||
+ ddnsMode[ddnsMode.selectedIndex].value == 'dtdns' ||
+ ddnsMode[ddnsMode.selectedIndex].value == 'noip' )
alert('Empty username.' );
else
alert('Invalid Email address.' );
loc += '&username=' + update_username;
if ( update_password.length == 0 ) {
- if ( ddnsMode[ddnsMode.selectedIndex].value == 'dyndns' )
+ if ( ddnsMode[ddnsMode.selectedIndex].value == 'dyndns' ||
+ ddnsMode[ddnsMode.selectedIndex].value == 'dtdns' ||
+ ddnsMode[ddnsMode.selectedIndex].value == 'noip' )
alert('Empty password.' );
else
alert('Invalid key.' );
loc += '&iface=' + ddnsInterface[ddnsInterface.selectedIndex].value;
}
- var code = 'location.assign("' + loc + '")';
+ var code = 'location = "' + loc + '"';
eval(code);
}
}
// done hiding -->
</script>
</head>
-<body onload="initMenu('idMenu'); frmLoad();">
+<body onload="initMenu(); frmLoad();">
<script type="text/javascript">
- writeHeader("Dynamic DNS", "<%ejGet(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWl(wlInterface)%>", <%ejGet(enblQos)%>);
+ writeHeader("Dynamic DNS", "<%ejGetJS(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWlJS(wlInterface)%>", <%ejGetJS(enblQos)%>);
</script>
<h3>Add Dynamic DDNS</h3>
<p>This page allows you to add a Dynamic DNS address from
- DynDNS.org or TZO.</p>
+ selected dynamic DNS servers.</p>
<p><label for="">Dynamic DNS provider:</label>
<select name="ddnsMode" id="ddnsMode" onChange='ddnsChange()'>
<option value="dyndns">DynDNS.org</option>
+ <option value="dtdns">DtDNS.net</option>
+ <option value="noip">No-IP.com</option>
<option value="tzo">TZO</option>
</select>
</p>