You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
305 lines
7.7 KiB
305 lines
7.7 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
<TITLE>System Restore Confirmation (Step 3)</TITLE>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
|
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
|
|
<OBJECT ID=ObjSystemRestore CLASSID="CLSID:fd589b7c-7ce0-11d3-b9e5-00c04f79e399"></OBJECT>
|
|
<SCRIPT ID="RestoreUI" LANGUAGE=JavaScript SRC="RestoreUI.js"></SCRIPT>
|
|
<LINK id="UI_StyleSheet" REL="stylesheet" TYPE="text/css" HREF="rstrui.css">
|
|
|
|
<script>
|
|
|
|
var g_bPageLoaded = false ;
|
|
|
|
var L_HeaderNormal_Message =
|
|
"Confirm Restore Point Selection";
|
|
var L_HeaderUndo_Message =
|
|
"Confirm Restoration Undo";
|
|
|
|
var L_RPTitleNormal_Message =
|
|
"Selected restore point:";
|
|
var L_RPTitleUndo_Message =
|
|
"System Restore will undo the following restoration:";
|
|
|
|
var L_NavInfoNormal_Message =
|
|
"To restore your computer to this date and time, click Next.";
|
|
var L_NavInfoUndo_Message =
|
|
"To undo this restoration, click Next.";
|
|
|
|
var L_WarnRestart_Message =
|
|
"Before restoring your computer, save and close all open files and close all open programs. Do not alter, open, or delete any files or programs until the restoration is complete.";
|
|
|
|
function OnLink_HelpF1()
|
|
{
|
|
OnLink_Confirm(ObjSystemRestore.IsUndo);
|
|
}
|
|
|
|
function OnCancel()
|
|
{
|
|
|
|
if ( ObjSystemRestore.Cancel() )
|
|
{
|
|
external.window.close();
|
|
}
|
|
|
|
}
|
|
|
|
function OnBack()
|
|
{
|
|
|
|
if ( g_bPageLoaded == false )
|
|
return ;
|
|
|
|
ObjSystemRestore.CanNavigatePage = true ;
|
|
if ( ObjSystemRestore.IsUndo )
|
|
self.location = "SRUI-Main.htm";
|
|
else
|
|
self.location = "SRUI-Pick.htm";
|
|
|
|
}
|
|
|
|
var fStarted = false;
|
|
|
|
function OnNext()
|
|
{
|
|
|
|
if ( g_bPageLoaded == false )
|
|
return;
|
|
|
|
if ( fStarted )
|
|
return;
|
|
|
|
if (!ObjSystemRestore.CanRunRestore())
|
|
{
|
|
external.window.close();
|
|
return;
|
|
}
|
|
|
|
if ( ObjSystemRestore.BeginRestore() )
|
|
{
|
|
ObjSystemRestore.CanNavigatePage = true ;
|
|
//self.location = "SRUI-Progress.htm";
|
|
external.window.close();
|
|
}
|
|
|
|
}
|
|
</script>
|
|
|
|
<SCRIPT FOR=window EVENT=onresize>
|
|
|
|
ObjSystemRestore.CanNavigatePage = true ;
|
|
self.location = "SRUI-Confirm.htm";
|
|
|
|
</SCRIPT>
|
|
|
|
<script for=window event=onload>
|
|
|
|
fnSetLowColorImage();
|
|
|
|
ObjSystemRestore.CanNavigatePage = false ;
|
|
window.HomePageBody.style.visibility = "visible";
|
|
|
|
if (!ObjSystemRestore.CanRunRestore())
|
|
{
|
|
external.window.close();
|
|
return;
|
|
}
|
|
|
|
if ( ObjSystemRestore.IsUndo )
|
|
{
|
|
TxtHeader.innerText = L_HeaderUndo_Message;
|
|
TxtRPTitle.innerText = L_RPTitleUndo_Message;
|
|
TxtNavInfo.innerHTML = L_NavInfoUndo_Message;
|
|
}
|
|
else
|
|
{
|
|
TxtHeader.innerText = L_HeaderNormal_Message;
|
|
TxtRPTitle.innerText = L_RPTitleNormal_Message;
|
|
TxtNavInfo.innerHTML = L_NavInfoNormal_Message;
|
|
}
|
|
|
|
TxtRPDate.innerText = ObjSystemRestore.FormatDate( ObjSystemRestore.SelectedDate, true );
|
|
var strName = ObjSystemRestore.SelectedName;
|
|
if (strName.length > 64)
|
|
{
|
|
strName = strName.slice(0,63);
|
|
strName = strName.concat("...");
|
|
}
|
|
TxtRPName.innerText = strName;
|
|
TxtRPName.title = strName;
|
|
|
|
//ObjSystemRestore.ShowMessage( L_WarnRestart_Message );
|
|
|
|
window.BtnNext.focus();
|
|
|
|
//
|
|
// Set page loaded
|
|
//
|
|
g_bPageLoaded = true ;
|
|
|
|
</script>
|
|
|
|
</HEAD>
|
|
|
|
<!--
|
|
|
|
Body of doc
|
|
|
|
-->
|
|
<BODY ID="HomePageBody">
|
|
|
|
<!--
|
|
Background image located on the bottom right of the page
|
|
-->
|
|
<DIV style="position: absolute; bottom: 0px; right: 0px; z-index: -1">
|
|
<img src="watermark.jpg" border=0 width="270" height="297"></DIV>
|
|
|
|
|
|
<table width=100% height=100% cellspacing=0 cellpadding=0 border=0><tbody>
|
|
|
|
<!--
|
|
|
|
Page header
|
|
|
|
-->
|
|
<tr height="60px"><td id="TdBranding" colspan=3 class="styHeaderBlock">
|
|
<table class="styImage" width=100% height=100% cellspacing=0 cellpadding=0 background="SR_Grad.jpg" style="border-collapse: collapse" bordercolor="#111111"><tbody><tr>
|
|
<td width="65px" nowrap> </td>
|
|
<td width=80% valign=top nowrap>
|
|
<div id="TxtHeader" class="styHeaderText" style="color:#FFFFFF"> </div>
|
|
|
|
</td>
|
|
<td>
|
|
<table><tr>
|
|
<td>
|
|
<a id="NoLoc1" class="styLink" href="javascript:OnLink_Confirm(ObjSystemRestore.IsUndo);">
|
|
<img src="help.gif" border=0 width="32" height="32">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a id="NoLoc1" class="styLink" href="javascript:OnLink_Confirm(ObjSystemRestore.IsUndo);">
|
|
<font color="#FFFFFF"> <id id=HelpId>Help</id></font>
|
|
</a>
|
|
</td>
|
|
</tr></table>
|
|
<id id="NoLoc2"> </id>
|
|
</td>
|
|
</tr></tbody></table>
|
|
</td></tr>
|
|
|
|
<tr height="3px"><td class="styHorzLine" colspan=3></td></tr>
|
|
|
|
<!--
|
|
|
|
Top anchor
|
|
|
|
-->
|
|
<tr height="25px"><td colspan=3>
|
|
<table width=100% height=100% cellspacing=0 cellpadding=0><tbody><tr>
|
|
<td width=90%></td>
|
|
<td class="styImage">
|
|
</td>
|
|
</tr></tbody></table>
|
|
</td></tr>
|
|
|
|
<tr>
|
|
<!-- Left anchor -->
|
|
<td id="NoLoc3" class="styImage" width=8% align=left valign=bottom>
|
|
</td>
|
|
|
|
<td>
|
|
<table width=100% height=100% cellspacing=0 cellpadding=0 border=0><tbody>
|
|
<tr>
|
|
|
|
<!--
|
|
|
|
PAGE CONTENT
|
|
|
|
-->
|
|
<td class="styContentBlock">
|
|
<div id="TxtRPTitle" class="styTextRPTitleBold">
|
|
|
|
</div>
|
|
<div id="TxtRPDate" class="styTextRPInfo">
|
|
|
|
</div>
|
|
<div id="TxtRPName" class="styTextRPInfo">
|
|
|
|
</div>
|
|
<br><br><br>
|
|
<p id="ParaMain" class="styText">
|
|
This process does not cause you to lose recent work, such as saved documents or
|
|
e-mail, and is completely reversible.
|
|
</p>
|
|
<br>
|
|
<p id="ParaMain2" class="styTextWarning">
|
|
During the restoration, System Restore shuts down Windows. After the restoration
|
|
is complete, Windows restarts using the settings from the date and time listed above.
|
|
</p>
|
|
<p id="ParaMain3" class="styTextWarning">
|
|
<b>Important: Before continuing, save your changes and close any open programs.</b>
|
|
</p>
|
|
<br>
|
|
<p id="ParaMain4" class="styText">
|
|
System Restore may take a moment to collect information about the selected restore point
|
|
before shutting down your computer.
|
|
</p>
|
|
</td>
|
|
|
|
<!-- Right padding -->
|
|
<td class="styText" width=17%> </td>
|
|
</tr>
|
|
|
|
<!--
|
|
|
|
Navigation row
|
|
|
|
-->
|
|
<tr height="24px">
|
|
<td class="styText" height="12px" colspan=2 nowrap>
|
|
<table cellspacing=0 cellpadding=0 border=0><tbody><tr>
|
|
<td id="TxtNavInfo" class="styInstruction">
|
|
|
|
</td>
|
|
<td width="10%"> </td>
|
|
<td class="styText" width="10%" nowrap>
|
|
<button id="BtnBack" class="styButton" onclick="OnBack()" accesskey="B" tabindex=0>
|
|
< <U>B</U>ack
|
|
</button>
|
|
|
|
<button id="BtnNext" class="styButton" onclick="OnNext()" accesskey="N" tabindex=0>
|
|
<U>N</U>ext >
|
|
</button>
|
|
|
|
<button id="BtnCancel" class="styButton" onclick="OnCancel()" accesskey="C" tabindex=0>
|
|
<U>C</U>ancel
|
|
</button>
|
|
</td>
|
|
</tr></tbody></table>
|
|
</td>
|
|
</tr></tbody></table>
|
|
|
|
</td>
|
|
|
|
<!-- Right anchor -->
|
|
<td id="NoLoc4" class="styImage" width=8% align=right valign=bottom>
|
|
</td>
|
|
</tr>
|
|
|
|
<!--
|
|
|
|
Bottom anchor
|
|
|
|
-->
|
|
<tr height="24px"><td colspan=3>
|
|
<table width=100% height=100% cellspacing=0 cellpadding=0><tbody><tr>
|
|
<td width=90%></td><td class="styImage">
|
|
</td>
|
|
</tr></tbody></table>
|
|
</td></tr>
|
|
|
|
</tbody></table>
|
|
</BODY>
|
|
</HTML>
|