[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] : New Feature "search" in FAQ Page

From: Ramanathan Muthaiah <rus.cahimb_at_gmail.com>
Date: 2006-11-30 21:19:48 CET

As discussed in this thread,

http://svn.haxx.se/dev/archive-2006-11/0230.shtml

am providing the patch for this feature in the Subversion's FAQ page.

[[[
New search feature in the Subversion's FAQ page to enable search of
the entire Subversion site or WWW

www/faq.html

This is a new feature that provides the options to search. With this
patch, the search window is enabled and is visible at the top of the
web page (in http://subversion.tigris.org/faq.html)

This patch provides two search options.

First option, to search the entrie http://subversion.tigris.org

Second option, to search the WWW

Both the searches, display the search results in the same browser window.

Suggested by: Benjamin A. Okopnik
              Francis Daly
              Kapil Hari Paranjape
              Samuel Kotel Bisbee-vonKaufmann

]]]

I have tested the changes in my local copy and it seems ok (except
that the search is aligned to left and not centered).

Output from "svn diff" is in the attached file and is also shown below
for reference.

===================================================================
--- www/faq.html (revision 22482)
+++ www/faq.html (working copy)
@@ -20,6 +20,39 @@

 <![CDATA[=========================================================]]>

+<!-- SiteSearch Google -->
+<form method="get" action="http://www.google.com/custom" target="_top">
+
+<table border="0" bgcolor="#ffffff">
+<tr><td nowrap="nowrap" valign="top" align="left" height="32">
+<a href="http://www.google.com/">
+
+<img src="http://www.google.com/logos/Logo_25wht.gif" border="0"
alt="Google"></a>
+</td>
+<td nowrap="nowrap">
+<input type="hidden" name="domains" value="http://subversion.tigris.org">
+<input type="text" name="q" size="31" maxlength="255" value="">
+<input type="submit" name="sa" value="Search">
+</td></tr>
+<tr>
+ <td>&nbsp;</td>
+<td nowrap="nowrap">
+<table>
+<tr>
+<td>
+<input type="radio" name="sitesearch" value="">
+<font size="+1" color="#000000">WWW</font>
+</td>
+<td>
+<input type="radio" name="sitesearch"
value="http://subversion.tigris.org" checked="checked">
+<font size="+1" color="#000000">subversion.tigris.org</font>
+</td>
+</tr>
+</table>
+</td></tr></table>
+</form>
+<!-- SiteSearch Google -->
+</td></tr></table>
 <div class="h2"><!-- no 'id' or 'title' attribute for TOC -->
 <h2>Table of Contents</h2>
===================================================================

/Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Nov 30 21:20:02 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.