head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2001.07.30.22.27.18;	author tfahrner;	state Exp;
branches;
next	1.2;

1.2
date	2001.07.23.20.27.36;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.07.23.20.24.46;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@misc html usage revisions
@
text
@<!-- Commenting out search field since there is already one in the side nav
<P>
<FONT FACE="Arial,Helvetica,Geneva,Verdana,sans-serif" SIZE="+1">
Simple Search</FONT>
<P>
<FONT FACE="TIMES">
<FORM ACTION="Search" METHOD="post">
<INPUT TYPE="hidden" NAME="resultsPerPage" VALUE="40">
Query: <INPUT NAME="query" SIZE="10"><BR>
<INPUT TYPE="submit" NAME="Button" VALUE="Search">
<INPUT TYPE="submit" NAME="Button" VALUE="Cancel"> </FORM>
</FONT>
-->

<p>
#if( $searchresult )
  #if( $searchresult.getNumberOfHits().equals(0) )
    Your search for <b>$query</b> returned $searchresult.getNumberOfHits() items.
  #else
    #if( $searchresult.getNumberOfHits().equals(1) )
      Your search for <b>$query</b> returned $searchresult.getNumberOfHits() item.
    #else
      Your search for <b>$query</b> returned $searchresult.getNumberOfHits() items, listed in order of computed relevance.
    #end
  #end
</p>

#if( !$searchresult.getNumberOfHits().equals(0) )
    <P class="header" nowrap>
    ##<FONT FACE="Arial,Helvetica,Geneva,Verdana,sans-serif" SIZE="+1">
    Search Results:
    ##</FONT>
    <P>
#end

    #if( $searchresult.getSearchResultItems() )
    <OL class="TableData">
        #foreach $item in $searchresult.getSearchResultItems()
            #set( $url = $item.getSourceCastURL() )
            #set( $location = $item.getFileRelativeToHtDoc() )
            #set( $title = $location )
            #if( $item.getTitle() && $item.getTitle().length() )
                #set( $title = $item.getTitle() )
            #end

            <LI class="TableDate"><a href="$url" >$title</a><br>
            <SPAN>Size: $item.getSize(), Ranking: $item.getRanking()</SPAN></LI>
        #end
    </OL>
    #end 
	
<!--
#set( $query = $searchresult.getQuery() )
Search Details:

Query entered by user: $query.getQueryString()
Query as interpreted by Search Engine: $searchresult.getSearchengineSearchWords()
Maximum number of results: $query.getResultsPerQuery()
Search index modification date: $searchresult.getIndexModDate()
Search index stats: $searchresult.getIndexStats()
-->

#end
@


1.2
log
@Corrected conversion buglet.
@
text
@d15 1
a15 1
<p class="PlainText">
d47 1
a47 1
            <SPAN class="PlainText">Size: $item.getSize(), Ranking: $item.getRanking()</SPAN></LI>
@


1.1
log
@Ported from Joist and converted from WebMacro to Velocity.
@
text
@d17 2
a18 2
  #if( $searchresult.getNumberOfHits( ).equals(0) )
    Your search for <b>$query</b> returned $searchresult.getNumberOfHits( ) items.
d20 2
a21 2
    #if( $searchresult.getNumberOfHits( ).equals(1) )
      Your search for <b>$query</b> returned $searchresult.getNumberOfHits( ) item.
d23 1
a23 1
      Your search for <b>$query</b> returned $searchresult.getNumberOfHits( ) items, listed in order of computed relevance.
d28 1
a28 1
#if( !$searchresult.getNumberOfHits( ).equals(0) )
d36 1
a36 1
    #if( $searchresult.getSearchResultItems( ) )
d38 3
a40 4
        #foreach $item in $searchresult.getSearchResultItems( )
        {
            #set( $url = $item.getSourceCastURL( ) )
            #set( $location = $item.getFileRelativeToHtDoc( ) )
d42 2
a43 2
            #if( $item.getTitle( ) && $item.getTitle( ).length( ) )
                #set( $title = $item.getTitle( ) )
d47 1
a47 1
            <SPAN class="PlainText">Size: $item.getSize( ), Ranking: $item.getRanking( )</SPAN></LI>
d53 1
a53 1
#set( $query = $searchresult.getQuery( ) )
d56 5
a60 5
Query entered by user: $query.getQueryString( )
Query as interpreted by Search Engine: $searchresult.getSearchengineSearchWords( )
Maximum number of results: $query.getResultsPerQuery( )
Search index modification date: $searchresult.getIndexModDate( )
Search index stats: $searchresult.getIndexStats( )
@

