home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 May
/
VPR0105A.BIN
/
MSIE_55
/
IE_EXTRA.CAB
/
msieftp.dll
/
HTML
/
FTPNT5.HTT
< prev
Wrap
Text File
|
2000-06-19
|
11KB
|
318 lines
<!--
* Copyright 1999 Microsoft Corporation. All rights reserved.
* This file was automatically generated by Microsoft Internet Explorer
* using the file %TEMPLATEDIR%\ftp.htt
-->
<HTML>
<style>
body {margin: 0; font: menu; color: windowtext}
#Panel {position: absolute; width: 200px; height: 100%; visibility: hidden}
#Corner {padding-left: 12px; padding-right: 0px; padding-top: 11px}
#FolderIcon {width: 32px; height: 32px}
#FolderName {margin-top: 8px; font: 13pt/13pt; font-weight: bold}
#LogoLine {width: 100%; margin-top: 4px; vertical-align: top}
#Details {padding-left: 12px; padding-right: 0px; margin-top: 8px}
#Locked {vertical-align: baseline}
#Preview {}
.Movie {width: 10px; height: 136px}
.Sound {width: 120px; height: 46px}
#Thumbnail {width: 120px; height: 120px}
.Legend {margin-left: 12px; margin-right: -12px}
#PieChart {width: 120px; height: 60px; margin-top: 10px}
#FileList {position: absolute; width: 100%; height: 100%; tabIndex: 1}
p {margin-top: 12px}
p.Half {margin-top: 6px}
button {font: 9pt MS Pゴシック; margin-left: 12px; margin-right: 0px; background: window; color: windowtext}
input {font: 9pt MS Pゴシック}
.Message {margin-right: 0; padding: 3px; background: infobackground; color: infotext; border: 1px solid lightgrey}
.accesskey {}
</STYLE>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=shift_jis">
<!-- allow references to any resources you might add to the folder -->
<BASE href="%THISDIRPATH%\">
<SCRIPT LANGUAGE="vbscript">
Const g_nCR = 13
Const g_nLF = 10
Function TranslateCRs(strIn)
Dim strOut
strOut = ""
While 0 < Len(strIn)
if Asc(strIn) = g_nCR then
strIn = strIn & " "
strIn = Right(strIn, Len(strIn) - 1)
else
strOut = strOut & Chr(Asc(strIn))
end if
strIn = Right(strIn, Len(strIn) - 1)
Wend
TranslateCRs = strOut
end Function
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
// To localize
var L_Intro_Text = "";
var L_Multiple_Text = " 個のオブジェクトを選択しました。";
var L_AnonymousUserName_Text = "匿名";
var L_MOTDDialogTitle_Text = "サーバーの使用について、次のメッセージが提供されました :\n\n";
var L_ServerLabel_Text = "サーバー : ";
var L_UserNameLabel_Text = "ユーザー名 : ";
var L_TooltipLoginButton_Text = "このボタンをクリックすると、別のユーザー名でログインするための [ログイン] ダイアログ ボックスが表示されます。これは、現在のユーザー名でサーバーにアクセスしたくないときなど、頻繁に必要となります。";
var L_ToolTipEmailAddress_Text = "これは、匿名によるログインをサーバーが認識するために提供する電子メール アドレスです。";
var L_TooltipPassword_Text = "[ログイン] をクリックしてサーバーに再ログインするときに、このパスワードとユーザー名を使用します。";
var L_ToolTipUserName_Text = "異なるユーザー名を入力し、[ログイン] をクリックして、別のユーザーでログインしてください。";
var L_TooltipAnonCheckBox_Text = "ここをオンにして [ログイン] をクリックすると、サーバーのアクセス許可に関係なく、匿名でサーバーにログインできます。次に指定する電子メール アドレスがサーバーに渡されます。";
// Do not localize
var g_strUserName;
var g_strPassword;
var g_strEmailAddress;
var g_fAnonymousLogin;
var g_fDelayedLoginInfoInited = 0;
var g_strAnonymous = "Anonymous"; // Do not localize
function Resize() {
if (document.body.clientWidth < Panel.style.pixelWidth * 2) {
Panel.style.visibility = "hidden";
FileList.style.pixelLeft = 0;
FileList.style.pixelWidth = document.body.clientWidth;
} else {
Panel.style.visibility = "visible";
if (document.dir == "rtl") {
FileList.style.pixelLeft = 0;
} else {
FileList.style.pixelLeft = Panel.style.pixelWidth;
}
FileList.style.pixelWidth = document.body.clientWidth - Panel.style.pixelWidth;
}
}
function Initialize()
{
var strMOTD;
// call our Resize() function whenever the window gets resized
window.onresize = Resize;
Resize();
Info.innerHTML = L_Intro_Text;
InitLoginInfo();
if (1 == DisplayOptions())
ToggleOptionsAvailablility();
// fix styles
var L_SystemFont1_Text = "MS UI Gothic";
var L_SystemFont2_Text = "MS Pゴシック";
var L_SystemFont_Text = "MS Pゴシック";
var tr = document.body.createTextRange();
if (navigator.cpuClass != "Alpha") {
tr.collapse();
var actualFont = tr.queryCommandValue("FontName");
if (actualFont == L_SystemFont1_Text || actualFont == L_SystemFont2_Text)
document.body.style.fontFamily = L_SystemFont_Text;
} else
document.body.style.fontFamily = L_SystemFont_Text;
}
function DisplayOptions()
{
return 0;
}
function OnMOTDDialog()
{
alert(L_MOTDDialogTitle_Text + document.all.ID_MOTD.innerText);
}
function ToggleOptionsAvailablility()
{
}
function InitLoginInfo()
{
if (ID_FTPWebView)
{
var L_None_Text = "None";
strMOTD = TranslateCRs(ID_FTPWebView.MessageOfTheDay);
ID_MOTD.innerText = strMOTD;
ID_MOTD.style.display = ((strMOTD == "") || (strMOTD == L_None_Text)) ? "none" : "";
document.all.ID_Server.innerText = (L_ServerLabel_Text + ID_FTPWebView.Server);
g_strUserName = ID_FTPWebView.UserName;
g_fAnonymousLogin = ID_FTPWebView.CurrentLoginAnonymous;
if (1 == g_fAnonymousLogin)
document.all.ID_StaticUserName.innerText = (L_UserNameLabel_Text + g_strAnonymous);
else
document.all.ID_StaticUserName.innerText = (L_UserNameLabel_Text + g_strUserName);
}
}
function InitDelayedLoginInfo()
{
g_fDelayedLoginInfoInited = 1;
if (null != ID_FTPWebView)
{
g_strPassword = ID_FTPWebView.Password;
g_strEmailAddress = ID_FTPWebView.EmailAddress;
OnAnonymouseChange();
OnUserNameChange();
}
}
function EnableDisableLoginButton()
{
}
function OnAnonymouseChange()
{
}
function OnUserNameChange()
{
}
function OnEmailAddressChange()
{
}
function DisplayLoginDialog()
{
}
function OnWebviewLinkEnter( aLink )
{
if( aLink.title )
{
window.status = aLink.title;
}
else
{
window.status = "";
}
return true;
}
function OnWebviewLinkExit()
{
window.status = "";
return false;
}
</SCRIPT>
<SCRIPT language="JavaScript" for="FileList" event="SelectionChanged">
// this script updates the left info panel when you select icons
var folder = FileList.Folder;
var data;
var text;
var i;
data = FileList.SelectedItems().Count;
if (data == 0)
{
// nothing selected?
Info.innerHTML = L_Intro_Text;
return;
}
else if (data > 1)
{
// more than one item selected?
text = data + L_Multiple_Text + "<br>";
if (data <= 16)
{
for (i = 0; i < data; i++)
{
text += "<br>" + FileList.SelectedItems().Item(i).Name;
}
}
Info.innerHTML = text + "<br><br>";
return;
}
else if (data == 1)
{
Info.innerHTML = "<b>" + FileList.SelectedItems().Item(0).Name + "</b><br><br>";
}
</SCRIPT>
<script language="JavaScript">
function Load() {
Panel.style.overflow = "auto";
Initialize();
Resize();
}
</script>
<script language="JavaScript" for="WVLink" event="onmouseover">
return OnWebviewLinkEnter( this );
</script>
<script language="JavaScript" for="WVLink" event="onfocus">
return OnWebviewLinkEnter( this );
</script>
<script language="JavaScript" for="WVLink" event="onmouseout">
return OnWebviewLinkExit();
</script>
<script language="JavaScript" for="WVLink" event="onblur">
return OnWebviewLinkExit();
</script>
</HEAD>
<body scroll=no onload=Load()>
<div id=Panel style="background: window URL(file://%TEMPLATEDIR%/wvleft.gif) no-repeat left top">
<div id=Corner>
<object id=FolderIcon classid="clsid:E5DF9D10-3B52-11D1-83E8-00A0C90DC849" width=32 height=32>
<param name="scale" value=100>
</object>
<br>
<div id=FolderName>
%THISDIRNAME%
</div>
</div>
<img id=LogoLine src="%TEMPLATEDIR%\wvline.gif">
<div id=Details>
<SPAN ID="ID_Server"> </SPAN><BR>
<SPAN ID="ID_StaticUserName"> </SPAN>
<BR>
<BR>
<ID id=lochack9>
<BR>
<DIV ID="ID_MOTD" CLASS=Message>
<!-- the message of the day will be inserted here by the script. -->
</DIV>
<BR>
<ID ID=Help>
FTP サイトの表示方法については、<A HREF="javascript:ID_FTPWebView.InvokeHelp()" name="WVLink">ここをクリック</A>してください。<BR>
</ID>
</P>
<span id=Info>
</span>
</div>
</div>
<object id=FileList tabindex=1 border=0 classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2">
</object>
<OBJECT id="ID_FTPWebView" border=0 tabindex=1 classid="clsid:210DA8A2-7445-11d1-91F7-006097DF5BD4"
</OBJECT>
</BODY>
</HTML>