]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/googleform.tmpl
add gmail button
[ikiwiki.git] / templates / googleform.tmpl
index 523cff0019bf31ce958373ef3b8c3c1d1f940258..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>