home *** CD-ROM | disk | FTP | other *** search
/ Di Gi Charat Mail / disc1.iso / ie5 / IE_EXTRA.CAB / msieftp.dll / HTML / FTPNT5.HTT < prev   
Text File  |  1999-04-01  |  10KB  |  274 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        {margin: 0; font: menu; color: black}
  10.         #Panel      {position: absolute; width: 200px; height: 100%; visibility: hidden; overflow: auto}
  11.         #Corner     {padding-left: 12px; padding-top: 11px}
  12.         #FolderIcon {width: 32px; height: 32px}
  13.         #FolderName {margin-top: 8px; font: 13pt/13pt; font-weight: bold}
  14.         #LogoLine   {width: 100%; margin-top: 4px; vertical-align: top}
  15.         #Details    {padding-left: 12px; margin-top: 8px}
  16.         #Locked     {vertical-align: baseline}
  17.         #Preview    {}
  18.         .Movie      {width: 10px; height: 136px}
  19.         .Sound      {width: 120px; height: 46px}
  20.         #Thumbnail  {width: 120px; height: 120px}
  21.         .Legend     {margin-left: 12px; margin-right: -12px}
  22.         #PieChart   {width: 120px; height: 60px; margin-top: 10px}
  23.         #FileList   {position: absolute; left: 200px; width: 100%; height: 100%; tabIndex: 1}
  24.         p           {margin-top: 12px}
  25.         p.Half      {margin-top: 6px}
  26.         button      {font: 9pt élér éoâSâVâbâN; margin-left: 12px; background: white; color: black}
  27.         input       {font: 9pt élér éoâSâVâbâN}
  28.     .Message        {margin: -4px; margin-right: 0; padding: 3px; background: infobackground; border: 1px solid lightgrey}
  29.         .accesskey  {}
  30.     </STYLE>
  31.  
  32.     <HEAD>
  33. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=shift_jis">
  34.     <!-- allow references to any resources you might add to the folder -->
  35.     <BASE href="%THISDIRPATH%\">
  36.  
  37.     <SCRIPT LANGUAGE="vbscript">
  38.         Const g_nCR = 13
  39.         Const g_nLF = 10
  40.  
  41.         Function TranslateCRs(strIn)
  42.         Dim strOut
  43.         strOut = ""
  44.  
  45.         While 0 < Len(strIn)
  46.             if Asc(strIn) = g_nCR then
  47.                 strIn = strIn & " "
  48.                 strIn = Right(strIn, Len(strIn) - 1)
  49.             else
  50.                 strOut = strOut & Chr(Asc(strIn))
  51.             end if
  52.  
  53.             strIn = Right(strIn, Len(strIn) - 1)
  54.         Wend
  55.  
  56.         TranslateCRs = strOut
  57.         end Function
  58.     </SCRIPT>
  59.  
  60.     <SCRIPT LANGUAGE="JavaScript">
  61.         // To localize
  62.         var L_Intro_Text    = "";
  63.         var L_Multiple_Text    = " î┬é╠âIâuâWâFâNâgé≡æIæ≡é╡é▄é╡é╜üB";
  64.         var L_AnonymousUserName_Text = "ô╜û╝";
  65.         var L_MOTDDialogTitle_Text = "âTü[âoü[é╠Ägùpé╔é┬éóé─üAăé╠âüâbâZü[âWé¬Æ±ïƒé│éΩé▄é╡é╜:\n\n";
  66.  
  67.         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";
  68.         var L_ToolTipEmailAddress_Text = "é▒éΩé═üAô╜û╝é╔éµéΘâìâOâCâôé≡âTü[âoü[é╔öFÄ»é│é╣éΘé╜é▀é╔Ʊïƒé╖éΘôdÄqâüü[âï âAâhâîâXé┼é╖üB";
  69.         var L_TooltipPassword_Text = "[âìâOâCâô] é≡âNâèâbâNé╖éΘé╞üAé▒é╠âpâXâÅü[âhé╞âåü[âUü[û╝é¬üAâTü[âoü[é╔ì─âìâOâCâôé╖éΘé╠é╔Ägùpé│éΩé▄é╖üB";
  70.         var L_ToolTipUserName_Text = "ê┘é╚éΘâåü[âUü[û╝é≡ôⁿù═é╡üA[âìâOâCâô] é≡âNâèâbâNé╡é─üAò╩é╠âåü[âUü[é┼âìâOâCâôé╡é─é¡é╛é│éóüB";
  71.         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";
  72.  
  73.         // Do not localize
  74.         var g_strUserName;
  75.         var g_strPassword;
  76.         var g_strEmailAddress;
  77.         var g_fAnonymousLogin;
  78.         var g_fDelayedLoginInfoInited = 0;
  79.         var g_strAnonymous = "Anonymous";       // Do not localize
  80.  
  81.         function Resize() {
  82.             if (document.body.clientWidth < Panel.style.pixelWidth * 2) {
  83.                 Panel.style.visibility = "hidden";
  84.                 FileList.style.pixelLeft = 0;
  85.             } else {
  86.                 Panel.style.visibility = "visible";
  87.                 FileList.style.pixelLeft = Panel.style.pixelWidth;
  88.             }
  89.             FileList.style.pixelWidth = document.body.clientWidth - FileList.style.pixelLeft;
  90.         }
  91.  
  92.         function Initialize()
  93.         {
  94.             var strMOTD;
  95.  
  96.             // call our Resize() function whenever the window gets resized
  97.             window.onresize = Resize;
  98.             Resize();
  99.             Info.innerHTML = L_Intro_Text;
  100.  
  101.             InitLoginInfo();
  102.             if (1 == DisplayOptions())
  103.                 ToggleOptionsAvailablility();
  104.  
  105.             // fix styles
  106.             var L_SystemFont1_Text = "MS UI Gothic";
  107.             var L_SystemFont2_Text = "élér éoâSâVâbâN";
  108.             var L_SystemFont_Text = "élér éoâSâVâbâN";
  109.             var tr = document.body.createTextRange();
  110.             if (navigator.cpuClass != "Alpha") {
  111.                 tr.collapse();
  112.                 var actualFont = tr.queryCommandValue("FontName");
  113.                 if (actualFont == L_SystemFont1_Text || actualFont == L_SystemFont2_Text)
  114.                     document.body.style.fontFamily = L_SystemFont_Text;
  115.             } else
  116.                 document.body.style.fontFamily = L_SystemFont_Text;
  117.  
  118.             // set focus on the icons
  119.             hack = window.setTimeout("FileList.focus()", 0);
  120.             hack = null;
  121.         }
  122.  
  123.         function DisplayOptions()
  124.         {
  125.             // TODO: Check the cookie to see if the user wants to see the options
  126.             //     be default. We also need to save the cookie on unload.
  127.             return 0;
  128.         }
  129.  
  130.         function OnMOTDDialog()
  131.         {
  132.             alert(L_MOTDDialogTitle_Text + document.all.ID_MOTD.innerText);
  133.         }
  134.  
  135.         function ToggleOptionsAvailablility()
  136.         {
  137.         }
  138.  
  139.         function InitLoginInfo()
  140.         {
  141.             if (ID_FTPWebView)
  142.             {
  143.         var L_None_Text = "é╚é╡";
  144.                 strMOTD = TranslateCRs(ID_FTPWebView.MessageOfTheDay);
  145. //strMOTD = "This is a test of the emergency broadcasting system.";
  146.                    ID_MOTD.innerText = strMOTD;
  147.         ID_MOTD.style.display = ((strMOTD == "") || (strMOTD == L_None_Text)) ? "none" : "";
  148.  
  149.                 document.all.ID_Server.innerText = ID_FTPWebView.Server;
  150.                 g_strUserName = ID_FTPWebView.UserName;
  151.                 g_fAnonymousLogin = ID_FTPWebView.CurrentLoginAnonymous;
  152.  
  153.                 if (1 == g_fAnonymousLogin)
  154.                     document.all.ID_StaticUserName.innerText = g_strAnonymous;
  155.                 else
  156.                     document.all.ID_StaticUserName.innerText = g_strUserName;
  157.             }
  158.         }
  159.  
  160.         function InitDelayedLoginInfo()
  161.         {
  162.             g_fDelayedLoginInfoInited = 1;
  163.  
  164.             if (null != ID_FTPWebView)
  165.             {
  166.                 g_strPassword = ID_FTPWebView.Password;
  167.                 g_strEmailAddress = ID_FTPWebView.EmailAddress;
  168.  
  169.                 OnAnonymouseChange();
  170.                 OnUserNameChange();
  171.             }
  172.         }
  173.  
  174.         function EnableDisableLoginButton()
  175.         {
  176.         }
  177.  
  178.         function OnAnonymouseChange()
  179.         {
  180.         }
  181.  
  182.         function OnUserNameChange()
  183.         {
  184.         }
  185.  
  186.         function OnEmailAddressChange()
  187.         {
  188.         }
  189.  
  190.         function DisplayLoginDialog()
  191.         {
  192.         }
  193.     </SCRIPT>
  194.  
  195.     <SCRIPT language="JavaScript" for="FileList" event="SelectionChanged">
  196.         // this script updates the left info panel when you select icons
  197.         var item    = FileList.FocusedItem;
  198.         var folder    = FileList.Folder;
  199.         var data;
  200.     var text;
  201.         var i;
  202.  
  203.         data = FileList.SelectedItems().Count;
  204.         if (data == 0)
  205.         {
  206.             // nothing selected?
  207.             Info.innerHTML = L_Intro_Text;
  208.             return;
  209.         }
  210.         else if (data > 1)
  211.         {
  212.             // more than one item selected?
  213.             text = data + L_Multiple_Text + "<br>";
  214.         if (data <= 16)
  215.                     for (i = 0; i < data; i++)
  216.                         text += "<br>" + FileList.SelectedItems().Item(i).Name;
  217.             Info.innerHTM