author | Lars Hjemli <hjemli@gmail.com> | 2010-06-22 14:16:24 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-22 14:16:24 (UTC) |
commit | 6654d5b7bdc1d775cf09ca6690b1fc5ecea4696d (patch) (side-by-side diff) | |
tree | f03c3c3621b343493fb3c834ba3b8e4ebfe09471 /ui-shared.c | |
parent | 6f92f332e6a9ee3e16051bda9fe148607af67f65 (diff) | |
parent | a579fb02561c98a146c9e707d098d2b10aa02015 (diff) | |
download | cgit-6654d5b7bdc1d775cf09ca6690b1fc5ecea4696d.zip cgit-6654d5b7bdc1d775cf09ca6690b1fc5ecea4696d.tar.gz cgit-6654d5b7bdc1d775cf09ca6690b1fc5ecea4696d.tar.bz2 |
Merge branch 'lh/range-search'
-rw-r--r-- | ui-shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c index c99bcec..c398d7a 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -817,32 +817,33 @@ void cgit_print_pageheader(struct cgit_context *ctx) ctx->qry.head, ctx->qry.vpath); if (ctx->repo->readme) reporevlink("about", "about", NULL, hc(ctx, "about"), ctx->qry.head, NULL, NULL); html("</td><td class='form'>"); html("<form class='right' method='get' action='"); if (ctx->cfg.virtual_root) html_url_path(cgit_fileurl(ctx->qry.repo, "log", ctx->qry.vpath, NULL)); html("'>\n"); cgit_add_hidden_formfields(1, 0, "log"); html("<select name='qt'>\n"); html_option("grep", "log msg", ctx->qry.grep); html_option("author", "author", ctx->qry.grep); html_option("committer", "committer", ctx->qry.grep); + html_option("range", "range", ctx->qry.grep); html("</select>\n"); html("<input class='txt' type='text' size='10' name='q' value='"); html_attr(ctx->qry.search); html("'/>\n"); html("<input type='submit' value='search'/>\n"); html("</form>\n"); } else { site_link(NULL, "index", NULL, hc(ctx, "repolist"), NULL, 0); if (ctx->cfg.root_readme) site_link("about", "about", NULL, hc(ctx, "about"), NULL, 0); html("</td><td class='form'>"); html("<form method='get' action='"); html_attr(cgit_rooturl()); html("'>\n"); html("<input type='text' name='q' size='10' value='"); |