summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index acc771b..26a6c71 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -181,17 +181,17 @@ void cgit_print_pageheader(char *title, int show_search)
181 if (cgit_query_repo) { 181 if (cgit_query_repo) {
182 htmlf(" : <a href='%s'>", cgit_repourl(cgit_repo->url)); 182 htmlf(" : <a href='%s'>", cgit_repourl(cgit_repo->url));
183 html_txt(cgit_repo->name); 183 html_txt(cgit_repo->name);
184 htmlf("</a> : %s", title); 184 htmlf("</a> : %s", title);
185 } 185 }
186 html("</td>"); 186 html("</td>");
187 html("<td id='search'>"); 187 html("<td id='search'>");
188 if (show_search) { 188 if (show_search) {
189 html("<form method='get' href='"); 189 html("<form method='get' action='");
190 html_attr(cgit_currurl()); 190 html_attr(cgit_currurl());
191 html("'>"); 191 html("'>");
192 if (!cgit_virtual_root) { 192 if (!cgit_virtual_root) {
193 if (cgit_query_repo) 193 if (cgit_query_repo)
194 html_hidden("r", cgit_query_repo); 194 html_hidden("r", cgit_query_repo);
195 if (cgit_query_page) 195 if (cgit_query_page)
196 html_hidden("p", cgit_query_page); 196 html_hidden("p", cgit_query_page);
197 } 197 }