]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
apply patch to fix googleform xhtml
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 14 Feb 2009 07:38:17 +0000 (02:38 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 14 Feb 2009 07:38:17 +0000 (02:38 -0500)
doc/plugins/google/discussion.mdwn
templates/googleform.tmpl

index c1815766580affcfa87692688c36b27d6e9227e5..babc919d2820308258c570e474e5c2bd97cda6f0 100644 (file)
@@ -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.
 
 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]] 
index 523cff0019bf31ce958373ef3b8c3c1d1f940258..e2d4a1f43df8212051e0fa5bd67866f417a88d95 100644 (file)
@@ -1,6 +1,6 @@
 <form method="get" action="http://www.google.com/search" id="searchform">
  <div>
 <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>
  </div>
 </form>