]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/googleform.tmpl
Don't add enclosure divs unless we have enclosures.
[git.ikiwiki.info.git] / templates / googleform.tmpl
index e2d4a1f43df8212051e0fa5bd67866f417a88d95..9468e062ab19a381f6dadb339480796efae827f5 100644 (file)
@@ -1,6 +1,8 @@
+
 <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 URL>" type="hidden" />
+  <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text"
+  <TMPL_IF HTML5>placeholder="search"</TMPL_IF> />
  </div>
 </form>