ui-shared: reword the standard page footer

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2008-10-05 19:09:58 +02:00
parent 23ffba78b4
commit b9aabf0b8f

View File

@ -496,9 +496,9 @@ void cgit_print_docend()
if (ctx.cfg.footer) if (ctx.cfg.footer)
html_include(ctx.cfg.footer); html_include(ctx.cfg.footer);
else { 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); cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time);
htmlf(" by cgit %s", cgit_version);
html("</div>\n"); html("</div>\n");
} }
html("</body>\n</html>\n"); html("</body>\n</html>\n");