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.

290 lines
12 KiB

  1. <HTML>
  2. <!--
  3. <%CiTemplate%>
  4. This is the formatting page for query results. This file defines
  5. how the result page header, rows, and footer will appear.
  6. -->
  7. <HEAD>
  8. <!-- The title lists the # of properties -->
  9. <%if CiMatchedRecordCount eq 0%>
  10. <TITLE><%CiRestriction%> - no properties matched.</TITLE>
  11. <%else%>
  12. <TITLE><%CiRestriction%> - properties <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
  13. <%endif%>
  14. </HEAD>
  15. <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000066" VLINK="#808080" ALINK="#FF0000" TOPMARGIN=0>
  16. <TABLE>
  17. <TR>
  18. <TD><IMG SRC ="/srchadm/book08.jpg" ALIGN=Middle></TD>
  19. <TD VALIGN=MIDDLE><H1>Index Server</H1><br><center><h2>Search Results</h2></center></TD>
  20. </TR>
  21. </TABLE>
  22. <!-- Print a header that lists the query and the number of hits -->
  23. <H5>
  24. <%if CiMatchedRecordCount eq 0%>
  25. No properties matched the query "<%CiRestriction%>".
  26. <%else%>
  27. Properties <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
  28. <%CiMatchedRecordCount%> for catalog <%CiCatalog%>
  29. <%endif%>
  30. </H5>
  31. <!--
  32. This table has a link to a new query page, a previous button, and
  33. a next page button. The buttons are only displayed when appropriate.
  34. -->
  35. <TABLE WIDTH=80%>
  36. <!--
  37. Query.htm set HTMLQueryForm as the name of the page to return to
  38. for a new query.
  39. -->
  40. <!-- Define a "previous" button if this isn't the first page -->
  41. <%if CiContainsFirstRecord eq 0%>
  42. <TD ALIGN=LEFT>
  43. <FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
  44. <INPUT TYPE="HIDDEN"
  45. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  46. <INPUT TYPE="HIDDEN"
  47. NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
  48. <INPUT TYPE="HIDDEN"
  49. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  50. <INPUT TYPE="HIDDEN"
  51. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  52. <INPUT TYPE="SUBMIT"
  53. VALUE="Previous <%CiMaxRecordsPerPage%> properties">
  54. </FORM>
  55. </TD>
  56. <%endif%>
  57. <!-- Define a "next" button if this isn't the last page -->
  58. <%if CiContainsLastRecord eq 0%>
  59. <TD ALIGN=RIGHT>
  60. <FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
  61. <INPUT TYPE="HIDDEN"
  62. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  63. <INPUT TYPE="HIDDEN"
  64. NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  65. <INPUT TYPE="HIDDEN"
  66. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  67. <INPUT TYPE="HIDDEN"
  68. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  69. <INPUT TYPE="SUBMIT"
  70. VALUE="Next <%CiRecordsNextPage%> properties">
  71. </FORM>
  72. </TD>
  73. <%endif%>
  74. </TABLE>
  75. <HR>
  76. <!--
  77. The begindetail/enddetail section describes how each row of output
  78. is be formatted. The sample below prints:
  79. - record number
  80. - document title (if one exists) or virtual path of the file
  81. - the abstract for the file
  82. - the url for the file
  83. - the file's size and last write time
  84. -->
  85. <FORM ACTION="/scripts/srchadm/props.ida" METHOD="GET">
  86. <table>
  87. <tr>
  88. <th align="left">Property Set</th>
  89. <th align="left">Property</th>
  90. <th align="left">Cached?</th>
  91. <th align="left">Allocation Size</th>
  92. <th align="left">Variant Type</th>
  93. </tr>
  94. <!--
  95. Since only *checked* boxes get sent as parameters, we need (up to) two variables
  96. per root. They are:
  97. NAME: PROOT_<virtual root> VALUE: physical path to root
  98. NAME: INDEX_<virtual root> VALUE: "on". Implies root is indexed.
  99. -->
  100. <%begindetail%>
  101. <tr>
  102. <td><%MetaPropertyGuid%></td>
  103. <td><%MetaPropertyDispId%><%MetaPropertyName%></td>
  104. <td><%if size ne 0%>YES<%else%>NO<%endif%></td>
  105. <td><input type="TEXT"
  106. <%if MetaPropertyName ne ""%>
  107. name="CACHESIZE_<%MetaPropertyGuid%>_NAME_<%MetaPropertyName%>"
  108. <%else%>
  109. name="CACHESIZE_<%MetaPropertyGuid%>_PROPID_<%MetaPropertyDispid%>"
  110. <%endif%>
  111. size="4"
  112. maxlength="4"
  113. <%if size ne 0%>value="<%size%>"<%else%>value=""<%endif%> >
  114. </td>
  115. <td><SELECT <%if MetaPropertyName ne ""%>
  116. name="CACHETYPE_<%MetaPropertyGuid%>_NAME_<%MetaPropertyName%>"
  117. <%else%>
  118. name="CACHETYPE_<%MetaPropertyGuid%>_PROPID_<%MetaPropertyDispid%>"
  119. <%endif%> >
  120. <OPTION <%if StorageType eq 0%>SELECTED<%endif%> VALUE="0">(not cached)
  121. <OPTION <%if StorageType eq 1%>SELECTED<%endif%> VALUE="1">VT_NULL
  122. <OPTION <%if StorageType eq 2%>SELECTED<%endif%> VALUE="2">VT_I2
  123. <OPTION <%if StorageType eq 3%>SELECTED<%endif%> VALUE="3">VT_I4
  124. <OPTION <%if StorageType eq 4%>SELECTED<%endif%> VALUE="4">VT_R4
  125. <OPTION <%if StorageType eq 5%>SELECTED<%endif%> VALUE="5">VT_R8
  126. <OPTION <%if StorageType eq 6%>SELECTED<%endif%> VALUE="6">VT_CY
  127. <OPTION <%if StorageType eq 7%>SELECTED<%endif%> VALUE="7">VT_DATE
  128. <OPTION <%if StorageType eq 8%>SELECTED<%endif%> VALUE="8">VT_BSTR
  129. <OPTION <%if StorageType eq 10%>SELECTED<%endif%> VALUE="10">VT_ERROR
  130. <OPTION <%if StorageType eq 11%>SELECTED<%endif%> VALUE="11">VT_BOOL
  131. <OPTION <%if StorageType eq 12%>SELECTED<%endif%> VALUE="12">VT_VARIANT
  132. <OPTION <%if StorageType eq 16%>SELECTED<%endif%> VALUE="16">VT_I1
  133. <OPTION <%if StorageType eq 17%>SELECTED<%endif%> VALUE="17">VT_UI1
  134. <OPTION <%if StorageType eq 18%>SELECTED<%endif%> VALUE="18">VT_UI2
  135. <OPTION <%if StorageType eq 19%>SELECTED<%endif%> VALUE="19">VT_UI4
  136. <OPTION <%if StorageType eq 20%>SELECTED<%endif%> VALUE="20">VT_I8
  137. <OPTION <%if StorageType eq 21%>SELECTED<%endif%> VALUE="21">VT_UI8
  138. <OPTION <%if StorageType eq 22%>SELECTED<%endif%> VALUE="22">VT_INT
  139. <OPTION <%if StorageType eq 23%>SELECTED<%endif%> VALUE="23">VT_UINT
  140. <OPTION <%if StorageType eq 30%>SELECTED<%endif%> VALUE="30">VT_LPSTR
  141. <OPTION <%if StorageType eq 31%>SELECTED<%endif%> VALUE="31">VT_LPWSTR
  142. <OPTION <%if StorageType eq 64%>SELECTED<%endif%> VALUE="64">VT_FILETIME
  143. <OPTION <%if StorageType eq 65%>SELECTED<%endif%> VALUE="65">VT_BLOB
  144. <OPTION <%if StorageType eq 71%>SELECTED<%endif%> VALUE="71">VT_CF
  145. <OPTION <%if StorageType eq 72%>SELECTED<%endif%> VALUE="72">VT_CLSID
  146. <OPTION <%if StorageType eq 4098%>SELECTED<%endif%> VALUE="4098">VT_VECTOR | VT_I2
  147. <OPTION <%if StorageType eq 4099%>SELECTED<%endif%> VALUE="4099">VT_VECTOR | VT_I4
  148. <OPTION <%if StorageType eq 4100%>SELECTED<%endif%> VALUE="4100">VT_VECTOR | VT_R4
  149. <OPTION <%if StorageType eq 4101%>SELECTED<%endif%> VALUE="4101">VT_VECTOR | VT_R8
  150. <OPTION <%if StorageType eq 4102%>SELECTED<%endif%> VALUE="4102">VT_VECTOR | VT_CY
  151. <OPTION <%if StorageType eq 4103%>SELECTED<%endif%> VALUE="4103">VT_VECTOR | VT_DATE
  152. <OPTION <%if StorageType eq 4104%>SELECTED<%endif%> VALUE="4104">VT_VECTOR | VT_BSTR
  153. <OPTION <%if StorageType eq 4106%>SELECTED<%endif%> VALUE="4106">VT_VECTOR | VT_ERROR
  154. <OPTION <%if StorageType eq 4107%>SELECTED<%endif%> VALUE="4107">VT_VECTOR | VT_BOOL
  155. <OPTION <%if StorageType eq 4108%>SELECTED<%endif%> VALUE="4108">VT_VECTOR | VT_VARIANT
  156. <OPTION <%if StorageType eq 4112%>SELECTED<%endif%> VALUE="4112">VT_VECTOR | VT_I1
  157. <OPTION <%if StorageType eq 4113%>SELECTED<%endif%> VALUE="4113">VT_VECTOR | VT_UI1
  158. <OPTION <%if StorageType eq 4114%>SELECTED<%endif%> VALUE="4114">VT_VECTOR | VT_UI2
  159. <OPTION <%if StorageType eq 4115%>SELECTED<%endif%> VALUE="4115">VT_VECTOR | VT_UI4
  160. <OPTION <%if StorageType eq 4116%>SELECTED<%endif%> VALUE="4116">VT_VECTOR | VT_I8
  161. <OPTION <%if StorageType eq 4117%>SELECTED<%endif%> VALUE="4117">VT_VECTOR | VT_UI8
  162. <OPTION <%if StorageType eq 4118%>SELECTED<%endif%> VALUE="4118">VT_VECTOR | VT_INT
  163. <OPTION <%if StorageType eq 4119%>SELECTED<%endif%> VALUE="4119">VT_VECTOR | VT_UINT
  164. <OPTION <%if StorageType eq 4126%>SELECTED<%endif%> VALUE="4126">VT_VECTOR | VT_LPSTR
  165. <OPTION <%if StorageType eq 4127%>SELECTED<%endif%> VALUE="4127">VT_VECTOR | VT_LPWSTR
  166. <OPTION <%if StorageType eq 4160%>SELECTED<%endif%> VALUE="4160">VT_VECTOR | VT_FILETIME
  167. <OPTION <%if StorageType eq 4161%>SELECTED<%endif%> VALUE="4161">VT_VECTOR | VT_BLOB
  168. <OPTION <%if StorageType eq 4167%>SELECTED<%endif%> VALUE="4167">VT_VECTOR | VT_CF
  169. <OPTION <%if StorageType eq 4168%>SELECTED<%endif%> VALUE="4168">VT_VECTOR | VT_CLSID
  170. </SELECT>
  171. </td>
  172. </tr>
  173. <%enddetail%>
  174. </table>
  175. <INPUT TYPE="SUBMIT"
  176. VALUE="Submit changes">
  177. </FORM>
  178. <P>
  179. <!-- Only display a line if there were any hits that matched the query -->
  180. <%if CiMatchedRecordCount ne 0%>
  181. <HR>
  182. <%endif%>
  183. <TABLE WIDTH=80%>
  184. <!--
  185. Query.htm set HTMLQueryForm as the name of the page to return to
  186. for a new query.
  187. -->
  188. <TD> <A HREF="/srchadm/admin.htm">Administration Main Menu</A> </TD>
  189. <!-- Define a "previous" button if this isn't the first page -->
  190. <%if CiContainsFirstRecord eq 0%>
  191. <TD ALIGN=LEFT>
  192. <FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
  193. <INPUT TYPE="HIDDEN"
  194. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  195. <INPUT TYPE="HIDDEN"
  196. NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
  197. <INPUT TYPE="HIDDEN"
  198. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  199. <INPUT TYPE="HIDDEN"
  200. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  201. <INPUT TYPE="SUBMIT"
  202. VALUE="Previous <%CiMaxRecordsPerPage%> properties">
  203. </FORM>
  204. </TD>
  205. <%endif%>
  206. <!-- Define a "next" button if this isn't the last page -->
  207. <%if CiContainsLastRecord eq 0%>
  208. <TD ALIGN=RIGHT>
  209. <FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
  210. <INPUT TYPE="HIDDEN"
  211. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  212. <INPUT TYPE="HIDDEN"
  213. NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  214. <INPUT TYPE="HIDDEN"
  215. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  216. <INPUT TYPE="HIDDEN"
  217. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  218. <INPUT TYPE="SUBMIT"
  219. VALUE="Next <%CiRecordsNextPage%> properties">
  220. </FORM>
  221. </TD>
  222. <%endif%>
  223. </TABLE>
  224. <P><BR>
  225. <!--
  226. If the index is out of date (for example, if it's still being created
  227. or updated after changes to files in an indexed directory) let the
  228. user know.
  229. -->
  230. <%if CiOutOfDate ne 0%>
  231. <P><BR>
  232. <I><B>The index is out of date.</B></I>
  233. <%endif%>
  234. <!--
  235. If the query was not executed because it needed to enumerate to
  236. resolve the query instead of using the index, but CiForceUseCi
  237. was TRUE, let the user know
  238. -->
  239. <%if CiQueryIncomplete eq 1%>
  240. <P><BR>
  241. <I><B>The query is too expensive to complete.</B></I>
  242. <%endif%>
  243. <!-- Output a page number and count of pages -->
  244. <%if CiTotalNumberPages gt 0%>
  245. <P>
  246. Page <%CiCurrentPageNumber%> of <%CiTotalNumberPages%>
  247. <P>
  248. <%endif%>
  249. </HTML>