changeset 218:7ba358bcf795

Changed the search form to search the wiki.
author Arne Babenhauserheide <bab@draketo.de>
date Fri, 10 Jul 2009 10:36:15 +0200
parents fd76ff1f5040
children 4c0e0c7ca0f1 101601f15bf5
files hgscm/templates/base.html
diffstat 1 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgscm/templates/base.html	Fri Jul 10 10:08:41 2009 +0200
+++ b/hgscm/templates/base.html	Fri Jul 10 10:36:15 2009 +0200
@@ -22,7 +22,7 @@
 			<li><a href="http://www.selenic.com/mercurial/wiki/UsingExtensions">extensions</a></li>
 			<li><a href="http://www.selenic.com/mercurial">docs/news</a></li>
 		</ul>
-		
+		<!-- original Search form: 
 		<form id="search" method="post" action="search/">
 			<fieldset>
 				<legend>Search form</legend>
@@ -31,6 +31,20 @@
 				<input class="submit" type="submit" value="search">
 			</fieldset>
 		</form>
+		-->
+		<!-- Search form for the wiki -->
+		<form id="search" method="get" action="http://mercurial.selenic.com/wiki/Mercurial">
+		<input type="hidden" name="action" value="fullsearch">
+		<input type="hidden" name="context" value="180">
+			<fieldset>
+				<legend>Search form</legend>
+				<label for="keyword">keyword</label>
+				<input class="text" type="text" name="value"
+				value="Search the Wiki" id="keyword">
+				<input class="submit" type="submit" value="Title"
+				name="titlesearch" alt="Search Titles"> 
+			</fieldset>
+		</form>
 		
 		<div id="content">