You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2004/09/10 00:47:29 UTC
svn commit: rev 43634 - in forrest/trunk/src/core: context/skins/pelt/xslt/html fresh-site/src/documentation
Author: thorsten
Date: Thu Sep 9 15:47:28 2004
New Revision: 43634
Modified:
forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
Log:
Fixed the domain bug of the searchbox. The domain was not parsed to the searchsite hidden field of google. I also explaind a wee bit the @domain.
Modified: forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl Thu Sep 9 15:47:28 2004
@@ -178,7 +178,7 @@
<div class="searchbox">
<form class="roundtopsmall" method="get" action="http://www.google.com/search">
<input type="hidden"
- name="sitesearch" value="{$config/searchsite-domain}"/>
+ name="sitesearch" value="{$config/search/@domain}"/>
<input type="text" id="query" name="q" size="15"
value="Search the site:"
onFocus="getBlank (this, 'Search the site:');"/> 
Modified: forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml (original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml Thu Sep 9 15:47:28 2004
@@ -31,7 +31,8 @@
Add box-location="alt" to move the search box to an alternate location
(if the skin supports it) and box-location="all" to show it in all
available locations on the page. Remove the <search> element to show
- no search box.
+ no search box. @domain will enable sitesearch for the specific domain with google.
+ In other words google will search the @domain for the query string.
-->
<search name="MyProject" domain="mydomain"/>