2025-04-27 07:49:33 -04:00

186 lines
4.9 KiB
Plaintext

<html>
<head>
#include "header.inc"
#include "debug_js.inc"
<TITLE id="idTitle" name="idTitle">REMOTE_ASSISTANCE_INVITE</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="MSThemeCompatible" content="Yes">
<LINK id="UI_StyleSheet1" REL="STYLESHEET" TYPE="text/css" HREF="../../Css/rcBuddy.css">
<LINK id="UI_StyleSheet2" REL="stylesheet" TYPE="text/css" HREF="hcp://system/css/shared.css">
<Script id="idScript1" name="idScript1" language="javascript">
/*
* Localizable constants, text and messages
*/
var L_ERRACCESSDENIED_Text = "Directly launching this page is not allowed. ";
function onLoad()
{
TraceFunctEnter("onLoad");
try
{
if( null == parent.OnLoad || parent.g_bRAStart == null )
{
idBody.style.visibility = "hidden";
window.navigate( "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/Common/rcscreen1.htm" );
return;
}
var i = document.URL.indexOf("?", 1);
var ret = document.URL.slice(i+1);
if (ret=="Resend")
{
XMLFile = parent.tempStore.XMLDataFile;
var oInc = null;
try
{
oInc = parent.pchealth.CreateObject_Incident();
oInc.LoadFromXMLFile(XMLFile);
}
catch(error)
{
alert(parent.L_RCCTL_Text);
return;
}
idFrom.value=oInc.UserName;
idMessage.value=oInc.ProblemDescription;
if (oInc.Misc("PassStub")!="")
{
parent.tempPassStatus =true;
}
else
{
parent.tempPassStatus= false;
}
parent.tempTime=oInc.Misc("DtLength");
parent.ResendFlag=true;
}
else
{
idFrom.value = parent.GetLocalUser();
}
idFrom.focus();
}
catch(error)
{
alert(parent.L_RCCTL_Text);
return;
}
TraceFunctLeave();
}
function onContinue()
{
TraceFunctEnter("onContinue");
try
{
parent.sFrom = parent.EscapedName( idFrom.value );
if (idMessage.value.length > 40000)
{
idMessage.value =idMessage.value.slice(0, 40000);
}
parent.sMsg = idMessage.value;
navigate("rcScreen5.htm");
}
catch(error)
{
alert(parent.L_RCCTL_Text);
return;
}
TraceFunctLeave();
}
</script>
<Style>
.TABottomPadding
{
padding-bottom:1px;
}
</style>
</head>
<BODY id="idBody" name="idBody" scroll="auto" onload="onLoad();" class="margin sys-rhp-bgcolor">
<table class="MaxLayout" id="idtableframe" name="idtableframe" cellpadding="16px" border=0>
<tr>
<td>
<TABLE id="RA_Table" name="RA_Table" class="MaxLayout" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD id="idTd1" name="idTd1"><Span id="idMainTitle" name="idMainTitle" class="sys-font-heading3 sys-rhp-color-title">Remote Assistance - E-mail an Invitation</Span></TD>
</TR>
<TR>
<TD id="idTd2" name="idTd2">
<span id="idSubTitle" name="idSubTitle" class="sys-font-body-bold sys-color-body">Provide contact information</span>
</TD>
</TR>
<TR>
<TD class="height8">
</TD>
</TR>
<TR>
<TD id="idTd3" name="idTd3">
<span id="idText" name="idText" class="valignmiddle sys-font-body sys-color-body">Instructions on how to use Remote Assistance are automatically attached to this invitation. Please type a personal message that includes the best way to contact you while the invitation is open, and a brief description of the computer problem.</span>
</TD>
</TR>
<TR>
<TD class="height4">
</TD>
</TR>
<TR>
<TD id="idTd4" name="idTd4">
<span id="idFromText" name="idFromText" class="valignmiddle sys-font-body sys-color-body">From (the name you would like to appear on the invitation):</span>
</TD>
</TR>
<TR>
<TD class="Height5">
</TD>
</TR>
<TR>
<TD>
<input type="text" name="idFrom" id="idFrom" class="MaxWidth sys-font-body sys-color-body" tabindex="1">
</TD>
</TR>
<TR>
<TD class="Height4">
</TD>
</TR>
<TR>
<TD id="idTd5" name="idTd5">
<span id="idMessageText" name="idMessageText" class="valignmiddle sys-font-body sys-color-body">Message:</span>
</TD>
</TR>
<TR>
<TD class="height5">
</TD>
</TR>
<TR>
<TD class="height6 TABottomPadding" >
<TEXTAREA id="idMessage" name="idMessage" class="MaxLayout sys-font-body sys-color-body " rows="6" wrap="hard" tabindex="2"></TEXTAREA>
</TD>
</TR>
<TR>
<TD class="height4">
</TD>
</TR>
<TR>
<TD>
<HR class="bordertype1 sys-toppane-color-border">
</TD>
</TR>
<TR>
<TD class="height4">
</TD>
</TR>
<TR>
<TD id="idbtn" name="idbtn" align="right">
<Button name="idbtnContinue" id="idbtnContinue" class="sys-font-body sys-color-body" onClick="onContinue();" tabindex="3">&nbsp;&nbsp;&nbsp;&nbsp;Continue >&nbsp;&nbsp;&nbsp;&nbsp;</Button>
</TD>
</TR>
</Table>
</TD>
</TR>
</Table>
</Body>
</html>