From e39d738c39d37cdef115c145027f3eec85a62272 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Thu, 28 Dec 2006 02:01:49 +0100 Subject: Add generic support for search box in page header This adds the ability to show a search box in any pageheader with correct href and hidden form data, but does not enable the box on any pages. Signed-off-by: Lars Hjemli --- ui-repolist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-repolist.c') diff --git a/ui-repolist.c b/ui-repolist.c index 7090c12..9f12b18 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -17,7 +17,7 @@ void cgit_print_repolist(struct cacheitem *item) chdir(cgit_root); cgit_print_docstart(cgit_root_title, item); - cgit_print_pageheader(cgit_root_title); + cgit_print_pageheader(cgit_root_title, 0); if (!(d = opendir("."))) { cgit_print_error(fmt("Unable to scan repository directory: %s", -- cgit v1.2.3-70-g09d2