forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/forrest-site/xslt/html site2xhtml.xsl
Date Fri, 29 Nov 2002 12:25:15 GMT
jefft       2002/11/29 04:25:14

  Modified:    .        status.xml
               src/resources/skins/forrest-site/xslt/html site2xhtml.xsl
  Log:
  Implemented non-Javascript search form.
  
  Revision  Changes    Path
  1.73      +5 -0      xml-forrest/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/status.xml,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- status.xml	28 Nov 2002 14:22:34 -0000	1.72
  +++ status.xml	29 Nov 2002 12:25:13 -0000	1.73
  @@ -24,6 +24,11 @@
   
     <changes>
       <release version="0.3-dev" date="unreleased">
  +      <action dev="JT" type="fix" context="skins" due-to="Nick Chalko"
  +        due-to-email="nick@chalko.com">
  +        Fixed a bug in the search form where there was no space between search
  +        term and 'site:' term.  Search form also no longer requires Javascript.
  +      </action>
         <action dev="JT" type="update" context="skins">
           Allow special handling of tab hrefs with #anchor references in them.  By
           default, such menu links are always clickable.
  
  
  
  1.15      +4 -5      xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- site2xhtml.xsl	17 Nov 2002 00:45:41 -0000	1.14
  +++ site2xhtml.xsl	29 Nov 2002 12:25:14 -0000	1.15
  @@ -85,8 +85,7 @@
             <xsl:if test="not($config/disable-search) or
               $config/disable-search='false' and $config/searchsite-domain and
               $config/searchsite-name">
  -            <form method="get" action="http://www.google.com/search"
  -              onsubmit="q.value = query.value + 'site:{$config/searchsite-domain}'" target="_blank">
  +            <form method="get" action="http://www.google.com/search" target="_blank">
                 <table bgcolor="{$menu-border}" cellpadding="0" cellspacing="0" border="0"
summary="search">
                   <tr>
                     <td colspan="3"><img src="{$spacer}" alt="" width="1" height="10"
/></td>
  @@ -94,8 +93,8 @@
                   <tr>
                     <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
                     <td nowrap="nowrap">
  -                    <input type="hidden" name="q"/>
  -                    <input type="text" id="query" size="15"/>
  +                    <input type="hidden" name="sitesearch" value="{$config/searchsite-domain}"/>
  +                    <input type="text" id="query" name="q" size="15"/>
                       <img src="{$spacer}" alt="" width="5" height="1" />
                       <input type="submit" value="Search" name="Search"/>
                       <br />
  
  
  

Mime
View raw message