[Lxr-commits] CVS: lxr/templates html-search-glimpse.html,NONE,1.1 html-search-swish.html,NONE,1.1 l
Brought to you by:
ajlittoz
From: Dave B. <bro...@us...> - 2004-07-14 14:49:38
|
Update of /cvsroot/lxr/lxr/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13994/templates Modified Files: lxr.conf Added Files: html-search-glimpse.html html-search-swish.html Removed Files: html-search.html Log Message: use templates for search page --- NEW FILE: html-search-glimpse.html --- <p align="center"> <form method="get" action="search"> $variables{<input type="hidden" name="$variable" value="$value">} <b>Search for: </b><input type="text" name="string" value="$searchtext" size="50"> <input type="submit" value="search"> <br> Powered by glimpse. </form> <hr> $maxhits_message $resultcount files found.<br> <h1>$searchtext</h1> $results{ $fileref -- $text<br> } --- NEW FILE: html-search-swish.html --- <p align="center"> <form method="get" action="search"> $variables{<input type="hidden" name="$variable" value="$value">} <b>Search for: </b><input type="text" name="string" value="$searchtext" size="50"> <input type="submit" value="search"> <br><br> Supported operators: AND, OR, NOT, ( ) boolean grouping, trailing *, " " phrase grouping<br> Example: (book* OR magazine*) NOT "my magazine"<br> Powered by <a href="http://swish-e.org" target="_blank">Swish-E</a>. <a href="http://swish-e.org/current/docs/SWISH-SEARCH.html" target="_blank">Full search syntax</a> </form> <hr> $maxhits_message $resultcount files found.<br> <h1>$searchtext</h1> $results{ $score $fileref<br> } Index: lxr.conf =================================================================== RCS file: /cvsroot/lxr/lxr/templates/lxr.conf,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- lxr.conf 8 Jul 2004 13:41:46 -0000 1.17 +++ lxr.conf 14 Jul 2004 14:49:30 -0000 1.18 @@ -84,6 +84,7 @@ 'htmlident' => 'html-ident.html', 'htmlident_refs' => 'html-ident-refs.html', 'htmlfind' => 'html-find.html', + 'htmlsearch' => 'html-search-swish.html', 'sourcehead' => 'html-head.html', 'sourcedirhead' => 'html-head.html', --- html-search.html DELETED --- |