summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-14 02:38:17 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-14 02:38:17 -0500
commitbea8e0ad61578143786f57b416b3dc333864a1e4 (patch)
treedcfdd0b193356cf71fcf76c4faaf4c803eee31c9
parent6e6e40254c687fb42881e6bb6e659572a2a6d1ec (diff)
apply patch to fix googleform xhtml
-rw-r--r--doc/plugins/google/discussion.mdwn18
-rw-r--r--templates/googleform.tmpl4
2 files changed, 3 insertions, 19 deletions
diff --git a/doc/plugins/google/discussion.mdwn b/doc/plugins/google/discussion.mdwn
index c18157665..babc919d2 100644
--- a/doc/plugins/google/discussion.mdwn
+++ b/doc/plugins/google/discussion.mdwn
@@ -3,20 +3,4 @@ which produces valid HTML but invalid XHTML.
This is not very good since the default ikiwiki
templates produce XHTML instead of HTML.
-To produces valid XHTML, you need to edit
-googleform.tmpl (in e.g. /usr/share/ikiwiki/templates):
-
-
- --- googleform.tmpl.orig 2009-02-13 02:47:00.000000000 -0600
- +++ googleform.tmpl 2009-02-13 02:47:40.000000000 -0600
- @@ -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="q" value="" id="searchbox" size="16" maxlength="255" type="text">
- + <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden" />
- + <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text" />
- </div>
- </form>
-
-Just tow tiny changes.
+> Fixed, thanks for the patch! --[[Joey]]
diff --git a/templates/googleform.tmpl b/templates/googleform.tmpl
index 523cff001..e2d4a1f43 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="q" value="" id="searchbox" size="16" maxlength="255" type="text">
+ <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden" />
+ <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text" />
</div>
</form>