Leaked source code of windows server 2003
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.

219 lines
6.8 KiB

  1. <html id=docbrows
  2. #ifdef UNIX
  3. STYLE="font-family: MS Shell Dlg; font-size: 8pt; background: buttonface;
  4. width: 31.5em; height: 34.5em">
  5. #else
  6. STYLE="font-family: MS Shell Dlg; font-size: 8pt; background: buttonface;
  7. width: 31.5em; height: 32.5em">
  8. #endif
  9. <HEAD>
  10. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  11. <TITLE>General</TITLE>
  12. <SCRIPT>
  13. function wrapRegionalShortDate(dateIn)
  14. {
  15. var newDate;
  16. try
  17. {
  18. newDate = regionalShortDate(dateIn);
  19. }
  20. catch(e)
  21. {
  22. newDate = dateIn;
  23. }
  24. return newDate;
  25. }
  26. function regionalizeDates() {
  27. // ie5 changed filecreationdate and filemodifieddate
  28. // to return 4 characters for the year, in a non-localized format.
  29. // this code will localize the date according to the system locale setting,
  30. // so that the properties dialog is not adversely affected.
  31. // this function should be called from the onload handler.
  32. var fcDate = _fileCreatedDate.innerText;
  33. if (fcDate!= "undefined" && fcDate != "")
  34. _fileCreatedDate.innerText = wrapRegionalShortDate(fcDate);
  35. var fmDate = _fileModifiedDate.innerText;
  36. if (fmDate != "undefined" && fmDate != "")
  37. _fileModifiedDate.innerText = wrapRegionalShortDate(fmDate);
  38. }
  39. function btnCertsClick()
  40. {
  41. window.dialogArguments.showSecurityInfo();
  42. }
  43. function BodyLoad()
  44. {
  45. var L_NotAvailable_Text = "Not Available";
  46. var L_NotEncrypted_Text = "Not Encrypted";
  47. var arrAll = document.all;
  48. #ifndef UNIX
  49. if(document.dir == "rtl")
  50. {
  51. divButtons.style.pixelLeft = 15;
  52. }
  53. else
  54. {
  55. divButtons.style.pixelLeft = document.body.clientWidth - (btnCerts.offsetWidth + 15);
  56. }
  57. #endif // UNIX
  58. regionalizeDates();
  59. for (i=0; i < arrAll.length; i++)
  60. {
  61. var elm = arrAll[i];
  62. if (elm.id.substring(0,1) == "_")
  63. {
  64. if (elm.innerText== "undefined" || elm.innerText == "")
  65. {
  66. elm.innerText = L_NotAvailable_Text;
  67. if (elm.id == "_fileSize")
  68. spaBytes.innerText = "";
  69. else if (elm.id == "_connInfo" )
  70. {
  71. var secInfo = window.dialogArguments.secureConnectionInfo;
  72. if (secInfo == "")
  73. elm.innerText = L_NotEncrypted_Text;
  74. else
  75. elm.innerText = secInfo ;
  76. }
  77. }
  78. }
  79. }
  80. }
  81. </SCRIPT>
  82. <SCRIPT language=vbscript>
  83. function regionalShortDate(dateIn)
  84. 'convert date to short format with current regional setting
  85. regionalShortDate = FormatDateTime(dateIn, 2)
  86. end function
  87. </SCRIPT>
  88. </HEAD>
  89. <BODY onload="BodyLoad()" id=bdy bgcolor=buttonface style="background: buttonface;
  90. font-family: MS Shell Dlg; font-size: 8pt; color: windowtext" scroll=no>
  91. <table cellPadding=3 cellspacing=2 border=0 id=tbl1 width=100%
  92. style="background: buttonface; font-family: MS Shell Dlg; font-size: 8pt;">
  93. <TR>
  94. <TD id=tdImage>
  95. <img id=imgPage src=page.gif width=29 height=36 border=0>
  96. </td>
  97. <td id=td1 style="font-family: MS Shell Dlg; font-size: 8pt;">
  98. <TEXTAREA id=_nameProp style="font-family: MS Shell Dlg; font-size: 8pt;
  99. background: buttonface; overflow: hidden; width: 24em; height: 2.7em;
  100. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  101. </td></tr>
  102. <tr id=tr2 style="font-family: MS Shell Dlg; font-size: 8pt;">
  103. <td colspan=2><hr></td></tr>
  104. <tr>
  105. <Td id=td3 style="font-family: MS Shell Dlg; font-size: 8pt;">
  106. Protocol:</TD>
  107. <td id=td4 style="font-family: MS Shell Dlg; font-size: 8pt;">
  108. <TEXTAREA id=_protocol style="font-family: MS Shell Dlg; font-size: 8pt;
  109. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  110. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  111. </tr>
  112. <tr>
  113. <TD id=td5 style="font-family: MS Shell Dlg; font-size: 8pt;">Type:
  114. </TD>
  115. <TD id=td6 style="font-family: MS Shell Dlg; font-size: 8pt;">
  116. <TEXTAREA id=_mimeType style="font-family: MS Shell Dlg; font-size: 8pt;
  117. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  118. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  119. </TD>
  120. </tr>
  121. <tr>
  122. <TD id=td55 style="vertical-align: top;">
  123. Connection:
  124. </TD>
  125. <TD id=td65 style="vertical-align: top;">
  126. <TEXTAREA id=_connInfo style="font-family: MS Shell Dlg; font-size: 8pt;
  127. background: buttonface; overflow: hidden; width: 24em; height: 2.7em;
  128. border: 0px" readonly=1 wrap=physical tabindex=-1>
  129. </TEXTAREA>
  130. </TD>
  131. </tr>
  132. <tr>
  133. <td id=td 7 style="font-family: MS Shell Dlg; font-size: 8pt;
  134. vertical-align: top;">
  135. Address:<br>
  136. (URL)
  137. </TD>
  138. <TD id=td8 style="font-family: MS Shell Dlg; font-size: 8pt;
  139. vertical-align: top">
  140. <TEXTAREA id=_URL style="font-family: MS Shell Dlg; font-size: 8pt;
  141. #ifdef UNIX
  142. background: buttonface; overflow: hidden; width: 24em; height: 3.0em;
  143. #else
  144. background: buttonface; overflow: hidden; width: 24em; height: 2.7em;
  145. #endif
  146. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA></tr>
  147. <tr>
  148. <td id=td10 style="font-family: MS Shell Dlg; font-size: 8pt;">Size:
  149. <td id=tdBytes style="font-family: MS Shell Dlg; font-size: 8pt;">
  150. <SPAN id=_fileSize style="font-family: MS Shell Dlg; font-size: 8pt;
  151. background: buttonface"></SPAN>&nbsp;<SPAN id=spaBytes>bytes</SPAN>
  152. </tr>
  153. <tr>
  154. <td id=td11 style="font-family: MS Shell Dlg; font-size: 8pt;" colspan=2>
  155. <hr>
  156. </tr>
  157. <tr>
  158. <td id=td12 style="font-family: MS Shell Dlg; font-size: 8pt;">Created:
  159. <td id=td13 style="font-family: MS Shell Dlg; font-size: 8pt;">
  160. <TEXTAREA id=_fileCreatedDate style="font-family: MS Shell Dlg; font-size: 8pt;
  161. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  162. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA></TD></tr>
  163. <tr>
  164. <td id=td14 style="font-family: MS Shell Dlg; font-size: 8pt;">Modified:
  165. <td id=td15 style="font-family: MS Shell Dlg; font-size: 8pt;">
  166. <TEXTAREA id=_fileModifiedDate style="font-family: MS Shell Dlg; font-size: 8pt;
  167. background: buttonface; overflow: hidden; width: 24em; height: 1.5em;
  168. border: 0px" readonly=1 wrap=physical tabindex=-1></TEXTAREA>
  169. </tr>
  170. </table>
  171. <Div id=divButtons align=right
  172. #ifdef UNIX
  173. STYLE="font-family: MS Shell Dlg; position: absolute; top: 29.2em; left: 15.7em;
  174. font-size: 8pt; background: buttonface; margin-top: .7em; margin-right: .2em">
  175. #else
  176. STYLE="font-family: MS Shell Dlg; position: absolute;
  177. top: expression(document.body.clientHeight - (btnCerts.offsetHeight + 15));
  178. font-size: 8pt; background: buttonface; margin-top: .7em">
  179. #endif
  180. <NOBR><BUTTON id=btnCerts onclick="btnCertsClick()" accesskey=c
  181. #ifdef UNIX
  182. style="font-family: MS Shell Dlg; font-size: 8pt; width: 7.4em; height: 2.5em">
  183. #else
  184. style="font-family: MS Shell Dlg; font-size: 8pt; width: 7em; height: 2.2em">
  185. #endif
  186. <U>C</U>ertificates
  187. </BUTTON>
  188. </DIV>
  189. </BODY>
  190. </HTML>