summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2008-10-05 17:09:58 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-10-05 17:09:58 (UTC)
commitb9aabf0b8fbf3a3ab69010ee2c9ed5426c751912 (patch) (side-by-side diff)
tree7a75f470154e12f365189600ac08d9df2d15547d
parent23ffba78b4572f35f0ee52410dde9a16e6d02ce5 (diff)
downloadcgit-b9aabf0b8fbf3a3ab69010ee2c9ed5426c751912.zip
cgit-b9aabf0b8fbf3a3ab69010ee2c9ed5426c751912.tar.gz
cgit-b9aabf0b8fbf3a3ab69010ee2c9ed5426c751912.tar.bz2
ui-shared: reword the standard page footer
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ui-shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c
index d909f55..f858ab6 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -487,27 +487,27 @@ void cgit_print_docstart(struct cgit_context *ctx)
html("' type='application/atom+xml'/>");
}
html("</head>\n");
html("<body>\n");
}
void cgit_print_docend()
{
html("</div>");
if (ctx.cfg.footer)
html_include(ctx.cfg.footer);
else {
- html("<div class='footer'>generated ");
+ htmlf("<div class='footer'>generated by cgit %s at ",
+ cgit_version);
cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time);
- htmlf(" by cgit %s", cgit_version);
html("</div>\n");
}
html("</body>\n</html>\n");
}
int print_branch_option(const char *refname, const unsigned char *sha1,
int flags, void *cb_data)
{
char *name = (char *)refname;
html_option(name, name, ctx.qry.head);
return 0;
}