78 lines
3.8 KiB
HTML
78 lines
3.8 KiB
HTML
<html>
|
|
<head>
|
|
<title>SGI Embedded Support Partner - ver.1.0</title>
|
|
<script language="JavaScript">
|
|
<!--
|
|
function showMap()
|
|
{ var map=window.open('help.html', 'help',
|
|
'width=650,height=350,status=yes,scrollbars=yes,resizable=yes');
|
|
map.main=self;
|
|
map.main.name="sss_main";
|
|
map.focus();
|
|
}
|
|
|
|
function checkString(inputVal,fieldname)
|
|
{ var inputStr = inputVal.toString()
|
|
if(inputStr.charAt(0) == " ")
|
|
{ var i = 1;
|
|
while(inputStr.charAt(i) == " ")
|
|
i++;
|
|
}
|
|
else
|
|
{ for(var j = 0;j < inputStr.length; j++)
|
|
{ var oneChar = inputStr.charAt(j);
|
|
if(oneChar == "\"")
|
|
{ alert("String \"" + fieldname + "\" should not contain \"'s.");
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
if(i != inputStr.length) { alert("String \"" + fieldname + "\" cannot contain leading spaces."); return false; }
|
|
else { alert("String \"" + fieldname + "\" cannot contain only spaces."); return false; }
|
|
return true;
|
|
}
|
|
|
|
function clearForm(form)
|
|
{ form.av_text.value = "";
|
|
form.av_compressed.value = "";
|
|
form.av_encrypted.value = "";
|
|
form.av_diag_text.value = "";
|
|
form.av_diag_compressed.value = "";
|
|
form.av_diag_encrypted.value = "";
|
|
form.av_pager.value = "";
|
|
}
|
|
|
|
function checkData(form)
|
|
{ if(form.av_text.value != "" && !checkString(form.av_text.value, "availability text report email address")) return false;
|
|
if(form.av_compressed.value != "" && !checkString(form.av_compressed.value, "availability compressed report email address")) return false;
|
|
if(form.av_encrypted.value != "" && !checkString(form.av_encrypted.value, "availability encrypted report email address")) return false;
|
|
if(form.av_diag_text.value != "" && !checkString(form.av_diag_text.value, "diagnostic text report email address")) return false;
|
|
if(form.av_diag_compressed.value != "" && !checkString(form.av_diag_compressed.value, "diagnostic compressed report email address")) return false;
|
|
if(form.av_diag_encrypted.value != "" && !checkString(form.av_diag_encrypted.value, "diagnostic encrypted report email address")) return false;
|
|
if(form.av_pager.value != "" && !checkString(form.av_pager.value, "chatty pager")) return false;
|
|
|
|
return window.confirm("You entered the following parameters for Availmon Email List setup:\n\nAvailability report:\n-------------\nE-mail addresses for text form = " + form.av_text.value + "\nE-mail addresses for compressed form = " + form.av_compressed.value + "\nE-mail addresses for compressed encrypted form = " + form.av_encrypted.value + "\n\nDiagnostic report:\n-------------\nE-mail addresses for text form = " + form.av_diag_text.value + "\nE-mail addresses for compressed form = " + form.av_diag_compressed.value + "\nE-mail addresses for compressed encrypted form = " + form.av_diag_encrypted.value + "\n\nChatty pager:\n-------------\nE-mail addresses for chatty pager = " + form.av_pager.value)
|
|
}
|
|
//-->
|
|
</script>
|
|
</head>
|
|
<body bgcolor="#ffffcc" link="#333300" vlink="#333300">
|
|
<a href="/$sss/$nocache"></a>
|
|
<form onSubmit="return checkData(this)" method=POST action="/$sss/rgs/libavailability~AVAILMON_MAIL_CONFIRM">
|
|
<table border=0 cellpadding=0 cellspacing=0 width=100%>
|
|
<tr><TD bgcolor="#cccc99" width="15"> </td>
|
|
<td bgcolor="#cccc99"><font face="Arial,Helvetica">SETUP > Availability Monitoring > Availability MailList</font></td></tr>
|
|
<tr><td colspan=2> </td></tr>
|
|
<tr><td align=right colspan=2><font face="Arial,Helvetica"><input TYPE="button" onClick="showMap()" Value=" Help "></font></td></tr>
|
|
<tr><td colspan=2> </td></tr>
|
|
<tr><td></td><td>
|
|
<a href="/$sss/rg/libavailability~AVAILMON_MAIL">AVAILMON_MAIL</a>
|
|
<font face="Arial,Helvetica"><p>
|
|
<INPUT TYPE="SUBMIT" VALUE=" Accept "> <input type="button" value=" Clear " onClick="clearForm(this.form)">
|
|
<INPUT TYPE="hidden" name="pageselect" value=2>
|
|
</font></td></tr></table>
|
|
</form>
|
|
</body>
|
|
</html>
|