aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-29 18:05:58 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-29 18:05:58 -0400
commitc29957e0177c3c654a1ea1feffdba00307449560 (patch)
tree26a72556f580619bba07d9af99d92db05ee7626a /templates
parent29f2cf4a49fb4d11ef92d0c9d1a8343181f6af6c (diff)
downloadikiwiki-c29957e0177c3c654a1ea1feffdba00307449560.tar
ikiwiki-c29957e0177c3c654a1ea1feffdba00307449560.tar.gz
google: Pass the whole wiki url to google, not just the domain, so that search works correctly for wikis that are located in subdirectories of domains.
Diffstat (limited to 'templates')
-rw-r--r--templates/googleform.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/googleform.tmpl b/templates/googleform.tmpl
index e2d4a1f43..bcf1004a4 100644
--- a/templates/googleform.tmpl
+++ b/templates/googleform.tmpl
@@ -1,6 +1,6 @@
<form method="get" action="http://www.google.com/search" id="searchform">
<div>
- <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden" />
+ <input name="sitesearch" value="<TMPL_VAR URL>" type="hidden" />
<input name="q" value="" id="searchbox" size="16" maxlength="255" type="text" />
</div>
</form>