windows-nt/Source/XPSP1/NT/windows/appcompat/compatui/tempfileslist.htm

149 lines
4.4 KiB
HTML
Raw Normal View History

2020-09-26 03:20:57 -05:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Program Compatibility Data</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1252">
<META HTTP-EQUIV=PICS-Label CONTENT='(PICS-1.1 "http://www.rsac.org/ratingsv01.html" l comment "RSACi North America Server" by "inet@microsoft.com" r (n 0 s 0 v 0 l 0))'>
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
<META content=en-us http-equiv=Content-Language>
<LINK ID=Stylesheet_Ref0 href="hcp://system/css/shared.css" rel=STYLESHEET type=text/css>
<LINK ID=Stylesheet_Ref1 href="hcp://system/css/Behaviors.css" rel=STYLESHEET type=text/css>
<LINK ID=Stylesheet_Ref2 href="hcp://system/css/Layout.css" rel=STYLESHEET type=text/css>
<SCRIPT language="javascript">
<!--
var g_shell = new ActiveXObject("Wscript.Shell");
var g_ViewCmd = '%SystemRoot%\\system32\\notepad.exe ';
var g_rgFileList = null;
var g_rgJobList = null;
function onTempFileView(iFile) {
var sCmd = g_ViewCmd;
var sFileName = g_rgFileList[iFile];
if (event != null) {
event.returnValue = false;
}
sCmd += '\"' + sFileName + '\"';
if (g_rgJobList[iFile] != null) {
g_rgJobList[iFile].Terminate();
}
g_rgJobList[iFile] = g_shell.Exec(sCmd);
}
function onNothing() {
}
function OnDialogEnd() {
var i;
if (g_rgJobList != null) {
for (i = 0; i < g_rgJobList.length; ++i) {
if (g_rgJobList[i] != null) {
g_rgJobList[i].Terminate();
}
}
}
}
function OnDialogInit() {
var sFileList = window.dialogArguments;
var divTempFileList = document.all['TempFileList'];
var rgFileList = sFileList.split(';');
var sHtml = '';
var i;
// now we have an array of individual file names
for (i = 0; i < rgFileList.length; ++i) {
sHtml += '<a onclick=\"javascript:onTempFileView(' + i + ');\" ' +
'href=\"javascript:onNothing()\">';
sHtml += rgFileList[i];
sHtml += '</a><br>';
}
divTempFileList.innerHTML = sHtml;
g_rgFileList = rgFileList;
if (rgFileList.length) {
g_rgJobList = new Array(rgFileList.length);
}
}
function onClose() {
window.close();
}
//-->
</SCRIPT>
<STYLE ID="CompatibilityDataDialogStyle" TYPE="text/css">
HTML {width:480px;
height:240px;
top-margin:0;
bottom-margin:0;
left-margin:0;
right-margin:0}
</STYLE>
</HEAD>
<BODY onload="javascript:OnDialogInit()" onunload="javascript:OnDialogEnd()"
style="margin-top:0.5em; margin-left:0.5em; margin-right:0.5em; margin-bottom:0.5em"
class="sys-color-body sys-font-body">
<!-- header -->
<table border=0 cellpadding=0 cellspacing=0 height=100% width=100% style="margin-top:0; margin-bottom:0">
<tr style="margin-bottom:0em; margin-top:0em">
<td>
<div id=loc1 class="sys-font-heading3 sys-rhp-color-title" style="margin-bottom:1em; margin-top:0em">
Program Compatibility Wizard
</div>
</td>
</tr>
<tr valign=top height=100%>
<td>
<Div style="height:100%; margin-top:0em; margin-bottom:0em">
<table border=0 cellspacing=0 cellpadding=0 height=100% width=100% style="margin-top:0; margin-bottom:0">
<tr valign=top>
<td>
<Div class="sys-font-body sys-color-body" style="margin-bottom:0.5em; margin-top:0em">
<label id="lblTemporaryFiles" title="Temporary Files" class="sys-font-body sys-color-body">Temporary Files</label>
</Div>
<Div style="height:80%; overflow-y:auto; border-style:inset; border-width:1; padding:2">
<div id=TempFileList class="sys-font-body sys-color-body" style="margin-top:0em; margin-left:1em">
</div>
</Div>
</td>
</tr>
</table>
</Div>
</td>
</tr>
<tr>
<td>
<Div style="margin-top:1em; width:100%" class="sys-font-body sys-color-body">
<BUTTON id="btnClose" value="Close" name="btnClose" ACCESSKEY="C" onclick="javascript:onClose()" style="float:right"><u>C</u>lose</BUTTON>
</Div>
</td>
</tr>
</table>
</BODY>
</HTML>