From 68cb84839f8fbc20688b22202489f4c2a54d3f55 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 12 Apr 2008 20:11:49 +0200 Subject: Reintroduce the branch switcher Signed-off-by: Lars Hjemli --- ui-shared.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index 03d147f..73e3d4c 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -518,6 +518,13 @@ void cgit_print_pageheader(struct cgit_context *ctx) ctx->qry.sha1, ctx->qry.sha2, NULL); cgit_patch_link("patch", NULL, hc(cmd, "patch"), ctx->qry.head, ctx->qry.sha1); + html(""); + html("
\n"); + add_hidden_formfields(0, 1, ctx->qry.page); + html(" "); + html(""); } else { html("