aboutsummaryrefslogtreecommitdiff
path: root/templates/googleform.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-02 13:49:56 -0400
committerJoey Hess <joey@kitenet.net>2010-05-02 13:49:56 -0400
commitb21df5029b94c5680d8a3e5f0c1ed40a660a1594 (patch)
treeea68a4c4a2657119a00a0f55f434bd034a89ee79 /templates/googleform.tmpl
parent970373548fda77223ebbeb6aadbdbe4884b67cef (diff)
downloadikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar
ikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar.gz
Add placeholder text in search form (in html5 mode only).
Diffstat (limited to 'templates/googleform.tmpl')
-rw-r--r--templates/googleform.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/googleform.tmpl b/templates/googleform.tmpl
index bcf1004a4..f39b46540 100644
--- a/templates/googleform.tmpl
+++ b/templates/googleform.tmpl
@@ -1,6 +1,7 @@
<form method="get" action="http://www.google.com/search" id="searchform">
<div>
<input name="sitesearch" value="<TMPL_VAR URL>" type="hidden" />
- <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text" />
+ <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text"
+ <TMPL_IF HTML5>placeholder="search"</TMPL_IF> />
</div>
</form>