Source code of Windows XP (NT5)
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.

198 lines
5.8 KiB

  1. <HTML id=imgbrows style="font-family: MS Shell Dlg; font-size: 8pt;
  2. #ifdef UNIX
  3. color:buttontext;
  4. #endif
  5. width: 31.5em; height: 32.5em">
  6. <HEAD>
  7. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  8. <TITLE>General</TITLE>
  9. <SCRIPT>
  10. function wrapRegionalShortDate(dateIn)
  11. {
  12. var newDate;
  13. try
  14. {
  15. newDate = regionalShortDate(dateIn);
  16. }
  17. catch(e)
  18. {
  19. newDate = dateIn;
  20. }
  21. return newDate;
  22. }
  23. function regionalizeDates() {
  24. // ie5 changed filecreationdate and filemodifieddate
  25. // to return 4 characters for the year, in a non-localized format.
  26. // this code will localize the date according to the system locale setting,
  27. // so that the properties dialog is not adversely affected.
  28. // this function should be called from the onload handler.
  29. var fcDate = _fileCreatedDate.innerText;
  30. if (fcDate!= "undefined" && fcDate != "")
  31. _fileCreatedDate.innerText = wrapRegionalShortDate(fcDate);
  32. var fmDate = _fileModifiedDate.innerText;
  33. if (fmDate != "undefined" && fmDate != "")
  34. _fileModifiedDate.innerText = wrapRegionalShortDate(fmDate);
  35. }
  36. function BodyLoad()
  37. {
  38. var L_NotAvailable_Text = "Not Available";
  39. var arrAll = document.all;
  40. regionalizeDates();
  41. for (i=0; i < arrAll.length; i++)
  42. {
  43. var elm = arrAll[i];
  44. if (elm.id.substring(0,1) == "_")
  45. {
  46. if (elm.innerText== "undefined" || elm.innerText == "" || elm.innerText == "-1")
  47. {
  48. elm.innerText = L_NotAvailable_Text;
  49. switch (elm.id) // == "_fileSize")
  50. {
  51. case "_fileSize":
  52. spaBytes.innerText = "";
  53. break;
  54. case "_width":
  55. case "_height":
  56. spaX.innerText = "";
  57. spaPixels.innerText = "";
  58. _width.innerText = "";
  59. _height.innerText = L_NotAvailable_Text;
  60. break;
  61. }
  62. }
  63. }
  64. }
  65. }
  66. </SCRIPT>
  67. <SCRIPT language=vbscript>
  68. function regionalShortDate(dateIn)
  69. 'convert date to short format with current regional setting
  70. regionalShortDate = FormatDateTime(dateIn, 2)
  71. end function
  72. </SCRIPT>
  73. </HEAD>
  74. <BODY onload="BodyLoad()" id=bdy bgcolor=buttonface style="background: buttonface;
  75. font-family: MS Shell Dlg; font-size: 8pt; color: windowtext" scroll=no>
  76. <table cellPadding=3 cellspacing=2 border=0 id=tbl1
  77. style="font-family: MS Shell Dlg; font-size: 8pt; color: windowtext;"
  78. width=100%>
  79. <TR>
  80. <TD id=td1 style="font-family: MS Shell Dlg; font-size: 8pt;">
  81. <img id=imgImage src=image.gif width=35 height=35 border=0>
  82. </td>
  83. <td id=td2 style="font-family: MS Shell Dlg; font-size: 8pt;">
  84. <TEXTAREA id=_nameProp style="font-family: MS Shell Dlg; font-size: 8pt;
  85. #ifdef UNIX
  86. color:buttontext;
  87. #endif
  88. background: buttonface; overflow: hidden; width: 24em; height: 2.7em;
  89. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  90. </td></tr>
  91. <tr>
  92. <td id=td3 style="font-family: MS Shell Dlg; font-size: 8pt;" colspan=2>
  93. <P id=par1>&nbsp;</P>
  94. <hr>
  95. </td>
  96. </tr>
  97. <tr>
  98. <Td nowrap id=td4 style="font-family: MS Shell Dlg; font-size: 8pt;">Protocol:
  99. <td id=td5 style="font-family: MS Shell Dlg; font-size: 8pt;">
  100. <TEXTAREA id=_protocol style="font-family: MS Shell Dlg; font-size: 8pt;
  101. #ifdef UNIX
  102. color:buttontext;
  103. #endif
  104. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  105. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  106. </tr>
  107. <tr>
  108. <TD id=td6 style="font-family: MS Shell Dlg; font-size: 8pt;">Type:
  109. <TD id=td7 style="font-family: MS Shell Dlg; font-size: 8pt;">
  110. <TEXTAREA id=_mimeType style="font-family: MS Shell Dlg; font-size: 8pt;
  111. #ifdef UNIX
  112. color:buttontext;
  113. #endif
  114. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  115. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  116. </tr>
  117. <tr>
  118. <td id=td8 style="font-family: MS Shell Dlg; font-size: 8pt;" valign=top>Address:<br>
  119. (URL)
  120. <TD id=td9 style="font-family: MS Shell Dlg; font-size: 8pt;" valign=top>
  121. <TEXTAREA id=_href style="font-family: MS Shell Dlg; font-size: 8pt;
  122. #ifdef UNIX
  123. color:buttontext;
  124. #endif
  125. background: buttonface; overflow: hidden; width: 24em; height: 2.7em;
  126. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  127. </tr>
  128. <tr>
  129. <td id=td10 style="font-family: MS Shell Dlg; font-size: 8pt;">Size:
  130. <td id=td11 style="font-family: MS Shell Dlg; font-size: 8pt;">
  131. <SPAN id=_fileSize style="font-family: MS Shell Dlg; font-size: 8pt;
  132. background: buttonface"></SPAN>&nbsp;<SPAN id=spaBytes>bytes</SPAN>
  133. </tr>
  134. <tr>
  135. <td id=td17 style="font-family: MS Shell Dlg; font-size: 8pt;">Dimensions:
  136. <td id=td18 style="font-family: MS Shell Dlg; font-size: 8pt;">
  137. <SPAN id=_width style="font-family: MS Shell Dlg; font-size: 8pt;
  138. background: buttonface"></SPAN>&nbsp;
  139. <SPAN id=spaX>x</SPAN>&nbsp;
  140. <SPAN id=_height style="font-family: MS Shell Dlg; font-size: 8pt;
  141. background: buttonface"></SPAN>&nbsp;
  142. <SPAN id=spaPixels>pixels</SPAN>
  143. </tr>
  144. <tr>
  145. <td id=td12 style="font-family: MS Shell Dlg; font-size: 8pt;" colspan=2>&nbsp;
  146. <hr>
  147. </tr>
  148. <tr>
  149. <td id=td13 style="font-family: MS Shell Dlg; font-size: 8pt;">Created:
  150. <td id=td14 style="font-family: MS Shell Dlg; font-size: 8pt;">
  151. <TEXTAREA id=_fileCreatedDate style="font-family: MS Shell Dlg; font-size: 8pt;
  152. #ifdef UNIX
  153. color:buttontext;
  154. #endif
  155. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  156. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  157. </tr>
  158. <tr>
  159. <td id=td15 style="font-family: MS Shell Dlg; font-size: 8pt;">Modified:
  160. <td id=td16 style="font-family: MS Shell Dlg; font-size: 8pt;">
  161. <TEXTAREA id=_fileModifiedDate style="font-family: MS Shell Dlg; font-size: 8pt;
  162. #ifdef UNIX
  163. color:buttontext;
  164. #endif
  165. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  166. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  167. </tr>
  168. </table>
  169. </BODY>
  170. </HTML>