]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/googleform.tmpl
Add classes to form in search results
[git.ikiwiki.info.git] / templates / googleform.tmpl
index e2d4a1f43df8212051e0fa5bd67866f417a88d95..b1c3078fb15df107c3f0a7fe1d70df9b66b2749e 100644 (file)
@@ -1,6 +1,8 @@
-<form method="get" action="http://www.google.com/search" id="searchform">
+
+<form method="get" action="https://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>