summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show 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 f858ab6..1e12529 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -640,25 +640,25 @@ void cgit_print_pageheader(struct cgit_context *ctx)
640 ctx->qry.sha1, NULL); 640 ctx->qry.sha1, NULL);
641 cgit_commit_link("commit", NULL, hc(cmd, "commit"), 641 cgit_commit_link("commit", NULL, hc(cmd, "commit"),
642 ctx->qry.head, ctx->qry.sha1); 642 ctx->qry.head, ctx->qry.sha1);
643 cgit_diff_link("diff", NULL, hc(cmd, "diff"), ctx->qry.head, 643 cgit_diff_link("diff", NULL, hc(cmd, "diff"), ctx->qry.head,
644 ctx->qry.sha1, ctx->qry.sha2, NULL); 644 ctx->qry.sha1, ctx->qry.sha2, NULL);
645 if (ctx->repo->readme) 645 if (ctx->repo->readme)
646 reporevlink("about", "about", NULL, 646 reporevlink("about", "about", NULL,
647 hc(cmd, "about"), ctx->qry.head, NULL, 647 hc(cmd, "about"), ctx->qry.head, NULL,
648 NULL); 648 NULL);
649 html("</td><td class='form'>"); 649 html("</td><td class='form'>");
650 html("<form class='right' method='get' action='"); 650 html("<form class='right' method='get' action='");
651 if (ctx->cfg.virtual_root) 651 if (ctx->cfg.virtual_root)
652 html_attr(cgit_fileurl(ctx->qry.repo, "log", 652 html_url_path(cgit_fileurl(ctx->qry.repo, "log",
653 ctx->qry.path, NULL)); 653 ctx->qry.path, NULL));
654 html("'>\n"); 654 html("'>\n");
655 add_hidden_formfields(1, 0, "log"); 655 add_hidden_formfields(1, 0, "log");
656 html("<select name='qt'>\n"); 656 html("<select name='qt'>\n");
657 html_option("grep", "log msg", ctx->qry.grep); 657 html_option("grep", "log msg", ctx->qry.grep);
658 html_option("author", "author", ctx->qry.grep); 658 html_option("author", "author", ctx->qry.grep);
659 html_option("committer", "committer", ctx->qry.grep); 659 html_option("committer", "committer", ctx->qry.grep);
660 html("</select>\n"); 660 html("</select>\n");
661 html("<input class='txt' type='text' size='10' name='q' value='"); 661 html("<input class='txt' type='text' size='10' name='q' value='");
662 html_attr(ctx->qry.search); 662 html_attr(ctx->qry.search);
663 html("'/>\n"); 663 html("'/>\n");
664 html("<input type='submit' value='search'/>\n"); 664 html("<input type='submit' value='search'/>\n");