Commits

Arne Babenhauserheide  committed 7ba358b

Changed the search form to search the wiki.

  • Participants
  • Parent commits fd76ff1

Comments (0)

Files changed (1)

File hgscm/templates/base.html

 			<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>
 				<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">