You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ramanathan Muthaiah <ru...@gmail.com> on 2006/12/11 08:09:17 UTC

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

Trying my luck second time. . .

/Ram

---------- Forwarded message ----------
From: Ramanathan Muthaiah <ru...@gmail.com>
Date: Dec 6, 2006 8:20 PM
Subject: Fwd: [PATCH] : New Feature "search" in FAQ Page
To: dev@subversion.tigris.org


Re-sending as the previous post did not evoke any response.

/Ram

---------- Forwarded message ----------
From: Ramanathan Muthaiah <ru...@gmail.com>
Date: Dec 1, 2006 1:49 AM
Subject: [PATCH] : New Feature "search" in FAQ Page
To: dev@subversion.tigris.org


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