]> ruin.nu Git - ndwebbie.git/blobdiff - templates/forum/search.tmpl
Storing government for planets
[ndwebbie.git] / templates / forum / search.tmpl
index f63172466c8dca17ecf1d86a8f4523a541846a29..43890f48d63535c2e1ae4768f169e93d16f96e42 100644 (file)
@@ -1,10 +1,30 @@
-<form action="/<TMPL_VAR NAME=PAGE>" method="post"><fieldset class="forum-post"> <legend>Search</legend>
+<form action="/<TMPL_VAR NAME=PAGE>" method="post">
+
+<fieldset class="forum-post"> <legend>Topic</legend>
+       Find posts with these words in the thread's topic<br/>
+       <input style="width:98%" type="text" name="topic" value=""/><br/>
+       Require all words: <input type="checkbox" name="alltopic" value="1"/><br/>
+</fieldset>
+
+<fieldset class="forum-post"> <legend>Body</legend>
+       Find posts with these words in the body<br/>
+       <input style="width:98%" type="text" name="body" value=""/><br/>
+       Require all words: <input type="checkbox" name="allbody" value="1"/><br/>
+</fieldset>
+
+<fieldset class="forum-post"> <legend>Usernames</legend>
+       Find posts written by one these users<br/>
+       <input style="width:98%" type="text" name="author" value=""/><br/>
+</fieldset>
+
+<fieldset class="forum-post"> <legend>Custom search</legend>
        Use | (OR) or &amp; (AND) to separate words. Word:A searches for Word in
        topic and Word:B searches for Word as author. 'Two words' to search for a
        longer string. Word:D limits the search to just the message body.
-       <p>Search query: <input type="text" name="search" value=""/></p>
-       <input type="submit" name="cmd" value="Search"/>
-</fieldset></form>
+       <p><input style="width:98%" type="text" name="search" value=""/></p>
+</fieldset>
+<input type="submit" name="cmd" value="Search"/>
+</form>
 
 <TMPL_IF SearchResult>
 <table>