147 lines
5.3 KiB
HTML
147 lines
5.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
|
<html>
|
|
<head>
|
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
|
<title>Windows Server installation advisor--Server domain name</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess = "Enter a domain name. Valid domain names consist of 1 to 15 characters.";
|
|
var errMess1 = "Enter a workgroup name. Valid workgroup names consist of 1 to 15 characters.";
|
|
|
|
//START NON-TRANSLATABLE
|
|
//Obtain name of HTML file in parent frame.
|
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
|
|
|
function checkFrame() {
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzahqadvisor1.htm") {
|
|
window.location = "rzahqadvisor1.htm"; //load advisor frameset
|
|
return;
|
|
} else {
|
|
//Obtain name of HTML file in hidden frame.
|
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
|
if (hiddenUrl != "rzahqadvhidden.htm") {
|
|
//Correct HTML not loaded, load it
|
|
parent.hidden.window.location = "rzahqadvhidden.htm";
|
|
} else { //already loaded
|
|
getData();
|
|
}
|
|
}
|
|
}
|
|
|
|
function getData() {
|
|
if (!isEmpty(parent.hidden.v1[50])) {
|
|
if (parseInt(parent.hidden.v1[50]) == 2) {
|
|
document.form1.rad[1].checked = true;
|
|
document.form1.domain.value = "";
|
|
document.form1.workgroup.value = "";
|
|
if (!isEmpty(parent.hidden.v1[51])) {
|
|
document.form1.workgroup.value = parent.hidden.v1[51];
|
|
document.form1.domain.value = "";
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[50]) == 3) {
|
|
document.form1.rad[2].checked = true;
|
|
} else { //one must be selected
|
|
if (!isEmpty(parent.hidden.v1[51]) && parseInt(parent.hidden.v1[50]) == 1) {
|
|
document.form1.domain.value = parent.hidden.v1[51];
|
|
document.form1.workgroup.value = "";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function onNext() {
|
|
//Save data
|
|
if (document.form1.rad[0].checked == true) {
|
|
//Ensure domain name is valid
|
|
if (!isEmpty(document.form1.domain.value)) {
|
|
parent.hidden.v1[50] = "1";
|
|
parent.hidden.v1[51] = document.form1.domain.value;
|
|
} else {
|
|
alert(errMess);
|
|
return;
|
|
}
|
|
} else {
|
|
if (document.form1.rad[1].checked == true) {
|
|
//Ensure workgroup name is valid
|
|
if (!isEmpty(document.form1.workgroup.value)) {
|
|
parent.hidden.v1[50] = "2";
|
|
parent.hidden.v1[51] = document.form1.workgroup.value;
|
|
} else {
|
|
alert(errMess1);
|
|
return;
|
|
}
|
|
} else {
|
|
parent.hidden.v1[50] = "3";
|
|
}
|
|
}
|
|
//Next page
|
|
window.location = "rzahqadvisor24.htm";
|
|
}
|
|
|
|
function onBack() {
|
|
window.location = "rzahqadvisor21.htm";
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
|
|
<body onLoad="checkFrame()">
|
|
<h2>Windows Server installation advisor</h2>
|
|
<strong>Server domain name</strong>
|
|
<form name="form1">
|
|
<p>What is the name of the Windows server domain in which the server participates?
|
|
If you are creating a new domain, select <strong>Join workgroup</strong> and specify a workgroup name.
|
|
The new domain will be created when the Windows DCPROMO command is run.</p>
|
|
|
|
<blockquote>
|
|
<table cellspacing="2" cellpadding="2" border="0">
|
|
<tr>
|
|
<td><input type="radio" name="rad" value="jdomain" checked id="jdomain"></td>
|
|
<td><label for="jdomain">Join domain</label></td></tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><label for="domain">Domain name:</label></td>
|
|
<td><input type="text" name="domain" id="domain" maxlength="15" size="25" onKeyPress="selectRadio(0)"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" name="rad" value="jworkgroup" id="jworkgroup"></td>
|
|
<td><label for="jworkgroup">Join workgroup</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><label for="workgroup">Workgroup name:</label></td>
|
|
<td><input type="text" name="workgroup" id="workgroup" maxlength="15" size="25" onKeyPress="selectRadio(1)"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="radio" id="neither" name="rad" value="neither"></td>
|
|
<td><label for="neither">Neither</label></td>
|
|
</tr>
|
|
</table>
|
|
</blockquote>
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|