diff options
-rw-r--r-- | ui-shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index 07c78a5..9d8f66b 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -1027,7 +1027,7 @@ void cgit_print_pageheader(void) | |||
1027 | html_option("committer", "committer", ctx.qry.grep); | 1027 | html_option("committer", "committer", ctx.qry.grep); |
1028 | html_option("range", "range", ctx.qry.grep); | 1028 | html_option("range", "range", ctx.qry.grep); |
1029 | html("</select>\n"); | 1029 | html("</select>\n"); |
1030 | html("<input class='txt' type='text' size='10' name='q' value='"); | 1030 | html("<input class='txt' type='search' size='10' name='q' value='"); |
1031 | html_attr(ctx.qry.search); | 1031 | html_attr(ctx.qry.search); |
1032 | html("'/>\n"); | 1032 | html("'/>\n"); |
1033 | html("<input type='submit' value='search'/>\n"); | 1033 | html("<input type='submit' value='search'/>\n"); |
@@ -1042,7 +1042,7 @@ void cgit_print_pageheader(void) | |||
1042 | html("<form method='get' action='"); | 1042 | html("<form method='get' action='"); |
1043 | html_attr(currenturl); | 1043 | html_attr(currenturl); |
1044 | html("'>\n"); | 1044 | html("'>\n"); |
1045 | html("<input type='text' name='q' size='10' value='"); | 1045 | html("<input type='search' name='q' size='10' value='"); |
1046 | html_attr(ctx.qry.search); | 1046 | html_attr(ctx.qry.search); |
1047 | html("'/>\n"); | 1047 | html("'/>\n"); |
1048 | html("<input type='submit' value='search'/>\n"); | 1048 | html("<input type='submit' value='search'/>\n"); |