author | Lars Hjemli <hjemli@gmail.com> | 2008-10-05 17:09:58 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-10-05 17:09:58 (UTC) |
commit | b9aabf0b8fbf3a3ab69010ee2c9ed5426c751912 (patch) (side-by-side diff) | |
tree | 7a75f470154e12f365189600ac08d9df2d15547d | |
parent | 23ffba78b4572f35f0ee52410dde9a16e6d02ce5 (diff) | |
download | cgit-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>
-rw-r--r-- | ui-shared.c | 4 |
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 @@ -475,51 +475,51 @@ void cgit_print_docstart(struct cgit_context *ctx) html_attr(ctx->cfg.css); html("'/>\n"); if (ctx->cfg.favicon) { html("<link rel='shortcut icon' href='"); html_attr(ctx->cfg.favicon); html("'/>\n"); } if (host && ctx->repo) { html("<link rel='alternate' title='Atom feed' href='http://"); html_attr(cgit_hosturl()); html_attr(cgit_fileurl(ctx->repo->url, "atom", ctx->qry.path, fmt("h=%s", ctx->qry.head))); 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; } int print_archive_ref(const char *refname, const unsigned char *sha1, int flags, void *cb_data) { struct tag *tag; struct taginfo *info; struct object *obj; char buf[256], *url; unsigned char fileid[20]; int *header = (int *)cb_data; if (prefixcmp(refname, "refs/archives")) |