Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/templates/org/joist/search SearchPage.wm

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/templates/org/joist/search SearchPage.wm

Author stack
Full name Michael Stack
Date 2000-10-30 22:48:17 PST
Message User: stack
  Date: 00/10/30 22:48:17

  Modified: templates/org/joist/search SearchPage.wm
  Log:
  Example use of file path relative to htdoc added
  
  Revision Changes Path
  1.5 +4 -4 joist/templates/org/​joist/search/SearchP​age.wm
  
  Index: SearchPage.wm
  ====================​====================​====================​=======
  RCS file: /cvs/joist/templates​/org/joist/search/Se​archPage.wm,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SearchPage.wm 2000/10/25 20:53:02 1.4
  +++ SearchPage.wm 2000/10/31 06:48:16 1.5
  @@ -14,7 +14,7 @@
   ## <!-- Query after searchengine processing: $searchresult.getSe​archengineSearchWord​s( ); -->
   ## <!-- Cycle on list of search result items by doing this: #foreach $item in $searchresult.getSe​archResultItems( ) -->
   ## <!-- For each search result item, you can ask: -->
  -## <!-- $item.getRanking( ) $item.getSize( ) $item.getFile( ) $item.getTitle( ) -->
  +## <!-- $item.getRanking( ) $item.getSize( ) <a href="$item.getFile​RelativeToHtDoc( )">$item.getFile( )</a> $item.getTitle( ) -->
   ## <!-- Finally, print out the total searchresult object by just putting $searchresult in your page -->
   ##
   
  @@ -61,12 +61,12 @@
       #if( $searchresult.getSe​archResultItems( ) )
       {
           <p>Result Items:
  - <pre>
  + <table>
           #foreach $item in $searchresult.getSe​archResultItems( )
           {
  - $item.getRanking( ) $item.getSize( ) $item.getFile( ) $item.getTitle( )
  +<tr><td​>$item.getRanking( )</td><td​>$item.getSize( )</td><td><a href="$item.getFile​RelativeToHtDoc()"​>$item.getFile()​</a></td>​<td>$item.getT​itle()</td>​</tr>
           }
  - </pre>
  + </table>
           </p>
       }
       <p>Total search result as string:

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/templates/org/joist/search SearchPage.wm stack Michael Stack 2000-10-30 22:48:17 PST
Messages per page: