aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/search.pm
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 /IkiWiki/Plugin/search.pm
parent970373548fda77223ebbeb6aadbdbe4884b67cef (diff)
downloadikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar
ikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar.gz
Add placeholder text in search form (in html5 mode only).
Diffstat (limited to 'IkiWiki/Plugin/search.pm')
-rw-r--r--IkiWiki/Plugin/search.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm
index be39fdf1e..9e875c79c 100644
--- a/IkiWiki/Plugin/search.pm
+++ b/IkiWiki/Plugin/search.pm
@@ -58,6 +58,7 @@ sub pagetemplate (@) {
if (! defined $form) {
my $searchform = template("searchform.tmpl", blind_cache => 1);
$searchform->param(searchaction => $config{cgiurl});
+ $searchform->param(html5 => $config{html5});
$form=$searchform->output;
}