119 lines
4.4 KiB
HTML
119 lines
4.4 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 shutdown timeout</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess = "You must enter an integer value between 2 and 45 minutes.";
|
|
|
|
//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[96])) {
|
|
document.form1.numb.value = parent.hidden.v1[96];
|
|
} else {
|
|
document.form1.numb.value = "15";
|
|
}
|
|
}
|
|
|
|
//Check to see if 'server timeout value' is valid and if not alert. Otherwise, save it.
|
|
function onNext() {
|
|
//Is there something in the field?
|
|
if (!isEmpty(document.form1.numb.value)) {
|
|
// If so, is it an integer?
|
|
if (isInteger(document.form1.numb.value)) {
|
|
//If is, is it not between 2 and 45?
|
|
if (document.form1.numb.value < 2 || document.form1.numb.value > 45) {
|
|
//Woop, Woop! Error, the number is out of range!
|
|
alert(errMess);
|
|
document.form1.numb.focus();
|
|
document.form1.numb.select();
|
|
return;
|
|
} else { //If passes all tests, save it and move on
|
|
parent.hidden.v1[96] = document.form1.numb.value;
|
|
|
|
if (parent.hidden.v1[3] == "iSCSI")
|
|
window.location = "rzahqadvisor13_5a.htm";
|
|
else
|
|
window.location = "rzahqadvisor14.htm";
|
|
}
|
|
} else { // The number is not an integer, error!
|
|
alert(errMess);
|
|
document.form1.numb.focus();
|
|
document.form1.numb.select();
|
|
}
|
|
} else { // The field is empty, error!
|
|
alert(errMess);
|
|
document.form1.numb.focus();
|
|
document.form1.numb.select();
|
|
}
|
|
}
|
|
|
|
function onBack() {
|
|
//Go back to previous page.
|
|
|
|
if (parent.hidden.v1[3] == "iSCSI")
|
|
window.location = "rzahqadvisor13c.htm";
|
|
else
|
|
window.location = "rzahqadvisor13.htm";
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
|
|
<body onLoad="getData()">
|
|
<h2>Windows Server installation advisor</h2>
|
|
<strong>Server shutdown timeout</strong>
|
|
<form name="form1">
|
|
<p>The Server shutdown timeout is a value which determines how long the server waits to allow programs to end
|
|
before shutting down. The delay can be from 2 to 45 minutes.</p>
|
|
|
|
<p>How long do you want the server to wait before shutting down?</p>
|
|
|
|
<blockquote>
|
|
<label for="numb">Server shutdown timeout (2 to 45 minutes):</label> <input type="text" name="numb" size="3" maxlength="2" id="numb">
|
|
</blockquote>
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|