diff options
author | Lars Hjemli | 2006-12-28 02:01:49 +0100 |
---|---|---|
committer | Lars Hjemli | 2006-12-28 02:01:49 +0100 |
commit | e39d738c39d37cdef115c145027f3eec85a62272 (patch) | |
tree | be60a07674a0d118d42f572a35b62ada9529a6bd /ui-repolist.c | |
parent | 27cd3b2a700e1cc46cd0393ddea48c07b62ee3a6 (diff) | |
download | cgit-e39d738c39d37cdef115c145027f3eec85a62272.tar.gz cgit-e39d738c39d37cdef115c145027f3eec85a62272.tar.bz2 cgit-e39d738c39d37cdef115c145027f3eec85a62272.zip |
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 <hjemli@gmail.com>
Diffstat (limited to 'ui-repolist.c')
-rw-r--r-- | ui-repolist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
17 | 17 | ||
18 | chdir(cgit_root); | 18 | chdir(cgit_root); |
19 | cgit_print_docstart(cgit_root_title, item); | 19 | cgit_print_docstart(cgit_root_title, item); |
20 | cgit_print_pageheader(cgit_root_title); | 20 | cgit_print_pageheader(cgit_root_title, 0); |
21 | 21 | ||
22 | if (!(d = opendir("."))) { | 22 | if (!(d = opendir("."))) { |
23 | cgit_print_error(fmt("Unable to scan repository directory: %s", | 23 | cgit_print_error(fmt("Unable to scan repository directory: %s", |