windows-nt/Source/XPSP1/NT/inetsrv/query/web/html/scripts/props.htx

291 lines
12 KiB
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
<HTML>
<!--
<%CiTemplate%>
This is the formatting page for query results. This file defines
how the result page header, rows, and footer will appear.
-->
<HEAD>
<!-- The title lists the # of properties -->
<%if CiMatchedRecordCount eq 0%>
<TITLE><%CiRestriction%> - no properties matched.</TITLE>
<%else%>
<TITLE><%CiRestriction%> - properties <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
<%endif%>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000066" VLINK="#808080" ALINK="#FF0000" TOPMARGIN=0>
<TABLE>
<TR>
<TD><IMG SRC ="/srchadm/book08.jpg" ALIGN=Middle></TD>
<TD VALIGN=MIDDLE><H1>Index Server</H1><br><center><h2>Search Results</h2></center></TD>
</TR>
</TABLE>
<!-- Print a header that lists the query and the number of hits -->
<H5>
<%if CiMatchedRecordCount eq 0%>
No properties matched the query "<%CiRestriction%>".
<%else%>
Properties <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
<%CiMatchedRecordCount%> for catalog <%CiCatalog%>
<%endif%>
</H5>
<!--
This table has a link to a new query page, a previous button, and
a next page button. The buttons are only displayed when appropriate.
-->
<TABLE WIDTH=80%>
<!--
Query.htm set HTMLQueryForm as the name of the page to return to
for a new query.
-->
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<TD ALIGN=LEFT>
<FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Previous <%CiMaxRecordsPerPage%> properties">
</FORM>
</TD>
<%endif%>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<TD ALIGN=RIGHT>
<FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Next <%CiRecordsNextPage%> properties">
</FORM>
</TD>
<%endif%>
</TABLE>
<HR>
<!--
The begindetail/enddetail section describes how each row of output
is be formatted. The sample below prints:
- record number
- document title (if one exists) or virtual path of the file
- the abstract for the file
- the url for the file
- the file's size and last write time
-->
<FORM ACTION="/scripts/srchadm/props.ida" METHOD="GET">
<table>
<tr>
<th align="left">Property Set</th>
<th align="left">Property</th>
<th align="left">Cached?</th>
<th align="left">Allocation Size</th>
<th align="left">Variant Type</th>
</tr>
<!--
Since only *checked* boxes get sent as parameters, we need (up to) two variables
per root. They are:
NAME: PROOT_<virtual root> VALUE: physical path to root
NAME: INDEX_<virtual root> VALUE: "on". Implies root is indexed.
-->
<%begindetail%>
<tr>
<td><%MetaPropertyGuid%></td>
<td><%MetaPropertyDispId%><%MetaPropertyName%></td>
<td><%if size ne 0%>YES<%else%>NO<%endif%></td>
<td><input type="TEXT"
<%if MetaPropertyName ne ""%>
name="CACHESIZE_<%MetaPropertyGuid%>_NAME_<%MetaPropertyName%>"
<%else%>
name="CACHESIZE_<%MetaPropertyGuid%>_PROPID_<%MetaPropertyDispid%>"
<%endif%>
size="4"
maxlength="4"
<%if size ne 0%>value="<%size%>"<%else%>value=""<%endif%> >
</td>
<td><SELECT <%if MetaPropertyName ne ""%>
name="CACHETYPE_<%MetaPropertyGuid%>_NAME_<%MetaPropertyName%>"
<%else%>
name="CACHETYPE_<%MetaPropertyGuid%>_PROPID_<%MetaPropertyDispid%>"
<%endif%> >
<OPTION <%if StorageType eq 0%>SELECTED<%endif%> VALUE="0">(not cached)
<OPTION <%if StorageType eq 1%>SELECTED<%endif%> VALUE="1">VT_NULL
<OPTION <%if StorageType eq 2%>SELECTED<%endif%> VALUE="2">VT_I2
<OPTION <%if StorageType eq 3%>SELECTED<%endif%> VALUE="3">VT_I4
<OPTION <%if StorageType eq 4%>SELECTED<%endif%> VALUE="4">VT_R4
<OPTION <%if StorageType eq 5%>SELECTED<%endif%> VALUE="5">VT_R8
<OPTION <%if StorageType eq 6%>SELECTED<%endif%> VALUE="6">VT_CY
<OPTION <%if StorageType eq 7%>SELECTED<%endif%> VALUE="7">VT_DATE
<OPTION <%if StorageType eq 8%>SELECTED<%endif%> VALUE="8">VT_BSTR
<OPTION <%if StorageType eq 10%>SELECTED<%endif%> VALUE="10">VT_ERROR
<OPTION <%if StorageType eq 11%>SELECTED<%endif%> VALUE="11">VT_BOOL
<OPTION <%if StorageType eq 12%>SELECTED<%endif%> VALUE="12">VT_VARIANT
<OPTION <%if StorageType eq 16%>SELECTED<%endif%> VALUE="16">VT_I1
<OPTION <%if StorageType eq 17%>SELECTED<%endif%> VALUE="17">VT_UI1
<OPTION <%if StorageType eq 18%>SELECTED<%endif%> VALUE="18">VT_UI2
<OPTION <%if StorageType eq 19%>SELECTED<%endif%> VALUE="19">VT_UI4
<OPTION <%if StorageType eq 20%>SELECTED<%endif%> VALUE="20">VT_I8
<OPTION <%if StorageType eq 21%>SELECTED<%endif%> VALUE="21">VT_UI8
<OPTION <%if StorageType eq 22%>SELECTED<%endif%> VALUE="22">VT_INT
<OPTION <%if StorageType eq 23%>SELECTED<%endif%> VALUE="23">VT_UINT
<OPTION <%if StorageType eq 30%>SELECTED<%endif%> VALUE="30">VT_LPSTR
<OPTION <%if StorageType eq 31%>SELECTED<%endif%> VALUE="31">VT_LPWSTR
<OPTION <%if StorageType eq 64%>SELECTED<%endif%> VALUE="64">VT_FILETIME
<OPTION <%if StorageType eq 65%>SELECTED<%endif%> VALUE="65">VT_BLOB
<OPTION <%if StorageType eq 71%>SELECTED<%endif%> VALUE="71">VT_CF
<OPTION <%if StorageType eq 72%>SELECTED<%endif%> VALUE="72">VT_CLSID
<OPTION <%if StorageType eq 4098%>SELECTED<%endif%> VALUE="4098">VT_VECTOR | VT_I2
<OPTION <%if StorageType eq 4099%>SELECTED<%endif%> VALUE="4099">VT_VECTOR | VT_I4
<OPTION <%if StorageType eq 4100%>SELECTED<%endif%> VALUE="4100">VT_VECTOR | VT_R4
<OPTION <%if StorageType eq 4101%>SELECTED<%endif%> VALUE="4101">VT_VECTOR | VT_R8
<OPTION <%if StorageType eq 4102%>SELECTED<%endif%> VALUE="4102">VT_VECTOR | VT_CY
<OPTION <%if StorageType eq 4103%>SELECTED<%endif%> VALUE="4103">VT_VECTOR | VT_DATE
<OPTION <%if StorageType eq 4104%>SELECTED<%endif%> VALUE="4104">VT_VECTOR | VT_BSTR
<OPTION <%if StorageType eq 4106%>SELECTED<%endif%> VALUE="4106">VT_VECTOR | VT_ERROR
<OPTION <%if StorageType eq 4107%>SELECTED<%endif%> VALUE="4107">VT_VECTOR | VT_BOOL
<OPTION <%if StorageType eq 4108%>SELECTED<%endif%> VALUE="4108">VT_VECTOR | VT_VARIANT
<OPTION <%if StorageType eq 4112%>SELECTED<%endif%> VALUE="4112">VT_VECTOR | VT_I1
<OPTION <%if StorageType eq 4113%>SELECTED<%endif%> VALUE="4113">VT_VECTOR | VT_UI1
<OPTION <%if StorageType eq 4114%>SELECTED<%endif%> VALUE="4114">VT_VECTOR | VT_UI2
<OPTION <%if StorageType eq 4115%>SELECTED<%endif%> VALUE="4115">VT_VECTOR | VT_UI4
<OPTION <%if StorageType eq 4116%>SELECTED<%endif%> VALUE="4116">VT_VECTOR | VT_I8
<OPTION <%if StorageType eq 4117%>SELECTED<%endif%> VALUE="4117">VT_VECTOR | VT_UI8
<OPTION <%if StorageType eq 4118%>SELECTED<%endif%> VALUE="4118">VT_VECTOR | VT_INT
<OPTION <%if StorageType eq 4119%>SELECTED<%endif%> VALUE="4119">VT_VECTOR | VT_UINT
<OPTION <%if StorageType eq 4126%>SELECTED<%endif%> VALUE="4126">VT_VECTOR | VT_LPSTR
<OPTION <%if StorageType eq 4127%>SELECTED<%endif%> VALUE="4127">VT_VECTOR | VT_LPWSTR
<OPTION <%if StorageType eq 4160%>SELECTED<%endif%> VALUE="4160">VT_VECTOR | VT_FILETIME
<OPTION <%if StorageType eq 4161%>SELECTED<%endif%> VALUE="4161">VT_VECTOR | VT_BLOB
<OPTION <%if StorageType eq 4167%>SELECTED<%endif%> VALUE="4167">VT_VECTOR | VT_CF
<OPTION <%if StorageType eq 4168%>SELECTED<%endif%> VALUE="4168">VT_VECTOR | VT_CLSID
</SELECT>
</td>
</tr>
<%enddetail%>
</table>
<INPUT TYPE="SUBMIT"
VALUE="Submit changes">
</FORM>
<P>
<!-- Only display a line if there were any hits that matched the query -->
<%if CiMatchedRecordCount ne 0%>
<HR>
<%endif%>
<TABLE WIDTH=80%>
<!--
Query.htm set HTMLQueryForm as the name of the page to return to
for a new query.
-->
<TD> <A HREF="/srchadm/admin.htm">Administration Main Menu</A> </TD>
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<TD ALIGN=LEFT>
<FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Previous <%CiMaxRecordsPerPage%> properties">
</FORM>
</TD>
<%endif%>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<TD ALIGN=RIGHT>
<FORM ACTION="/scripts/srchadm/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Next <%CiRecordsNextPage%> properties">
</FORM>
</TD>
<%endif%>
</TABLE>
<P><BR>
<!--
If the index is out of date (for example, if it's still being created
or updated after changes to files in an indexed directory) let the
user know.
-->
<%if CiOutOfDate ne 0%>
<P><BR>
<I><B>The index is out of date.</B></I>
<%endif%>
<!--
If the query was not executed because it needed to enumerate to
resolve the query instead of using the index, but CiForceUseCi
was TRUE, let the user know
-->
<%if CiQueryIncomplete eq 1%>
<P><BR>
<I><B>The query is too expensive to complete.</B></I>
<%endif%>
<!-- Output a page number and count of pages -->
<%if CiTotalNumberPages gt 0%>
<P>
Page <%CiCurrentPageNumber%> of <%CiTotalNumberPages%>
<P>
<%endif%>
</HTML>