home *** CD-ROM | disk | FTP | other *** search
/ Di Gi Charat Mail / disc1.iso / ie5 / IE_EXTRA.CAB / msieftp.dll / HTML / FTP.HTT next >
Text File  |  1999-04-01  |  11KB  |  266 lines

  1. <!-- 
  2. * Copyright 1999 Microsoft Corporation.  All rights reserved.
  3. * This file was automatically generated by Microsoft Internet Explorer
  4. * using the file %TEMPLATEDIR%\ftp.htt
  5. -->
  6.  
  7. <HTML>
  8.     <STYLE>
  9.         body        {font: 9pt/10pt élér éoâSâVâbâN; margin: 0}
  10.         #Banner        {position: absolute; width: 100%; height: 88px}
  11.         #MiniBanner    {position: absolute; width: 100%; height: 32px; background: window}
  12.         #Icon        {position: absolute; left: 11px; top: 12px; width: 64px; height: 64px}
  13.         #FileList    {position: absolute; left: 30%; top: 88px; width: 1px; height: 1px}
  14.         #Media        {margin-left: 20px; margin-top: 10px}
  15.         #Panel        {position: absolute; top: 88px; width: 30%; overflow: auto}
  16.         #PieChart    {width: 100px; height: 50px; margin-top: 10px}
  17.         #Thumbnail    {width: 160px; height: 160px; margin-top: 0px}
  18.         #Status        {margin-left: 20px}
  19.         p        {margin-right: 8px}
  20.         p.Title        {font: 16pt/16pt élér éoâSâVâbâN; font-weight: bold; color: #0099FF}
  21.         p.Warning    {font-weight: bold; color: red}
  22.         p.Links        {margin-top: 4px}
  23.         p.SiteInfo    {margin-top: 4px}
  24.         a:link        {color: #FF6633}
  25.         a:visited    {color: #0099FF}
  26.         a:active     {color: black}
  27.         input        {font: 9pt/10pt élér éoâSâVâbâN}
  28.         button        {font: 9pt/10pt élér éoâSâVâbâN}
  29.     .Message        {margin: -4px; margin-right: 0; padding: 3px; background: infobackground; border: 1px solid lightgrey}
  30.         .accesskey  {}
  31.     </STYLE>
  32.  
  33.     <HEAD>
  34. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=shift_jis">
  35.     <!-- allow references to any resources you might add to the folder -->
  36.     <BASE href="%THISDIRPATH%\">
  37.  
  38.     <SCRIPT LANGUAGE="vbscript">
  39.         Const g_nCR = 13
  40.         Const g_nLF = 10
  41.  
  42.         Function TranslateCRs(strIn)
  43.         Dim strOut
  44.         strOut = ""
  45.  
  46.         While 0 < Len(strIn)
  47.             if Asc(strIn) = g_nCR then
  48.                 strIn = strIn & " "
  49.                 strIn = Right(strIn, Len(strIn) - 1)
  50.             else
  51.                 strOut = strOut & Chr(Asc(strIn))
  52.             end if
  53.  
  54.             strIn = Right(strIn, Len(strIn) - 1)
  55.         Wend
  56.  
  57.         TranslateCRs = strOut
  58.         end Function
  59.     </SCRIPT>
  60.  
  61.     <SCRIPT LANGUAGE="JavaScript">
  62.         // To localize
  63.         var L_Intro_Text    = "";
  64.         var L_Multiple_Text    = " î┬é╠âIâuâWâFâNâgé≡æIæ≡é╡é▄é╡é╜üB";
  65.         var L_AnonymousUserName_Text = "ô╜û╝";
  66.         var L_MOTDDialogTitle_Text = "âTü[âoü[é╠Ägùpé╔é┬éóé─üAăé╠âüâbâZü[âWé¬Æ±ïƒé│éΩé▄é╡é╜:\n\n";
  67.  
  68.         var L_TooltipLoginButton_Text = "é▒é╠â{â^âôé≡âNâèâbâNé╖éΘé╞üAò╩é╠âåü[âUü[û╝é┼âìâOâCâôé╖éΘé╜é▀é╠ [âìâOâCâô] â_âCâAâìâO â{âbâNâXé¬ò\Īé│éΩé▄é╖üBé▒éΩé═üAî╗ì▌é╠âåü[âUü[û╝é┼âTü[âoü[é╔âAâNâZâXé╡é╜é¡é╚éóé╞é½é╚é╟üAòpö╔é╔òKùvé╞é╚éΦé▄é╖üB";
  69.         var L_ToolTipEmailAddress_Text = "é▒éΩé═üAô╜û╝é╔éµéΘâìâOâCâôé≡âTü[âoü[é╔öFÄ»é│é╣éΘé╜é▀é╔Ʊïƒé╖éΘôdÄqâüü[âï âAâhâîâXé┼é╖üB";
  70.         var L_TooltipPassword_Text = "[âìâOâCâô] é≡âNâèâbâNé╖éΘé╞üAé▒é╠âpâXâÅü[âhé╞âåü[âUü[û╝é¬üAâTü[âoü[é╔ì─âìâOâCâôé╖éΘé╠é╔Ägùpé│éΩé▄é╖üB";
  71.         var L_ToolTipUserName_Text = "ê┘é╚éΘâåü[âUü[û╝é≡ôⁿù═é╡üA[âìâOâCâô] é≡âNâèâbâNé╡é─üAò╩é╠âåü[âUü[é┼âìâOâCâôé╡é─é¡é╛é│éóüB";
  72.         var L_TooltipAnonCheckBox_Text = "é▒é▒é≡âIâôé╔é╡é─ [âìâOâCâô] é≡âNâèâbâNé╖éΘé╞üAâTü[âoü[é╠ïûë┬é╔è╓îWé╚é¡üAô╜û╝é┼âTü[âoü[é╔âìâOâCâôé┼é½é▄é╖üBăé╔ÄwÆΦé╖éΘôdÄqâüü[âï âAâhâîâXé¬âTü[âoü[é╔ôné│éΩé▄é╖üB";
  73.  
  74.         // Do not localize
  75.         var g_strUserName;
  76.         var g_strPassword;
  77.         var g_strEmailAddress;
  78.         var g_strAnonymous = "Anonymous";       // Do not localize
  79.  
  80.         function FixSize()
  81.         {
  82.             // this function handles fixed panel sizing and collapsing when the window resizes
  83.             var hideTop    = 200;
  84.             var hideLeft    = 400;
  85.             var miniHeight    = 32;
  86.             var ch  = document.body.clientHeight;
  87.             var cw  = document.body.clientWidth;
  88.  
  89.             if (hideTop > ch)
  90.             {
  91.                 document.all.Banner.style.visibility = "hidden";
  92.                 document.all.MiniBanner.style.visibility = "visible";
  93.                 document.all.FileList.style.top = miniHeight;
  94.                 document.all.Panel.style.top = miniHeight;
  95.             }
  96.             else
  97.             {
  98.                 document.all.Banner.style.visibility = "visible";
  99.                 document.all.MiniBanner.style.visibility = "hidden";
  100.                 document.all.FileList.style.top = (document.all.Banner.offsetHeight - 32) + "px";
  101.                 document.all.Panel.style.top = (document.all.Banner.offsetHeight) + "px";
  102.                 document.all.Rule.style.width = (cw > 84 ? cw - 84 : 0) + "px";  
  103.             }
  104.  
  105.             if (hideLeft > cw)
  106.             {
  107.                 document.all.Panel.style.visibility = "hidden";
  108.                 document.all.FileList.style.pixelLeft = 0;
  109.                 document.all.FileList.style.pixelTop = document.all.Panel.style.pixelTop;
  110.             }
  111.             else
  112.             {
  113.                 document.all.Panel.style.visibility = "visible";
  114.                 document.all.FileList.style.pixelLeft = document.all.Panel.style.pixelWidth;
  115.             }
  116.             document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft;
  117.             document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop;
  118.             document.all.Panel.style.pixelHeight = ch - document.all.Panel.style.pixelTop;
  119.         }
  120.  
  121.         function Init()
  122.         {
  123.             var strMOTD;
  124.  
  125.             // call our FixSize() function whenever the window gets resized
  126.             window.onresize = FixSize;
  127.             FixSize();
  128.             Info.innerHTML = L_Intro_Text;
  129.  
  130.             InitLoginInfo();
  131.  
  132.             // set focus on the icons, if everything is fine with the FileList control
  133.             if (document.all.FileList.style.pixelWidth > 0
  134.                     && document.all.FileList.style.pixelHeight > 0)
  135.             {
  136.                 hack = window.setTimeout("FileList.focus()", 0);
  137.                 hack = null;
  138.             }
  139.         }
  140.  
  141.         function DisplayOptions()
  142.         {
  143.             // TODO: Check the cookie to see if the user wants to see the options
  144.             //     be default. We also need to save the cookie on unload.
  145.             return 0;
  146.         }
  147.  
  148.         function OnMOTDDialog()
  149.         {
  150.             alert(L_MOTDDialogTitle_Text + document.all.ID_MOTD.innerText);
  151.         }
  152.  
  153.         function InitLoginInfo()
  154.         {
  155.             if (ID_FTPWebView)
  156.             {
  157.                 var L_None_Text = "é╚é╡";
  158.                 strMOTD = TranslateCRs(ID_FTPWebView.MessageOfTheDay);
  159. //strMOTD = "This is a test of the emergency broadcasting system.";
  160.                    ID_MOTD.innerText = strMOTD;
  161.                 ID_MOTD.style.display = ((strMOTD == "") || (strMOTD == L_None_Text)) ? "none" : "";
  162.  
  163.                 document.all.ID_Server.innerText = ID_FTPWebView.Server;
  164.                 g_strUserName = ID_FTPWebView.UserName;
  165.  
  166.                 if (1 == ID_FTPWebView.CurrentLoginAnonymous)
  167.                     document.all.ID_StaticUserName.innerText = g_strAnonymous;
  168.                 else
  169.                     document.all.ID_StaticUserName.innerText = g_strUserName;
  170.             }
  171.         }
  172.     </SCRIPT>
  173.  
  174.     <SCRIPT language="JavaScript" for="FileList" event="SelectionChanged">
  175.         // this script updates the left info panel when you select icons
  176.         var item    = FileList.FocusedItem;
  177.         var folder    = FileList.Folder;
  178.         var data;
  179.     var text;
  180.         var i;
  181.  
  182.         data = FileList.SelectedItems().Count;
  183.         if (data == 0)
  184.         {
  185.             // nothing selected?
  186.             Info.innerHTML = L_Intro_Text;
  187.             return;
  188.         }
  189.         else if (data > 1)
  190.         {
  191.             // more than one item selected?
  192.             text = data + L_Multiple_Text + "<br>";
  193.             if (data <= 16)
  194.                     for (i = 0; i < data; i++)