4
ui-log.c
4
ui-log.c
@ -114,14 +114,14 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path)
|
||||
if (ofs > 0) {
|
||||
html(" <a href='");
|
||||
html(cgit_pageurl(cgit_query_repo, cgit_query_page,
|
||||
fmt("h=%s&ofs=%d", tip, ofs-cnt)));
|
||||
fmt("h=%s&ofs=%d", tip, ofs-cnt)));
|
||||
html("'>[prev]</a> ");
|
||||
}
|
||||
|
||||
if ((commit = get_revision(&rev)) != NULL) {
|
||||
html(" <a href='");
|
||||
html(cgit_pageurl(cgit_query_repo, "log",
|
||||
fmt("h=%s&ofs=%d", tip, ofs+cnt)));
|
||||
fmt("h=%s&ofs=%d", tip, ofs+cnt)));
|
||||
html("'>[next]</a> ");
|
||||
}
|
||||
html("</div>");
|
||||
|
新增問題並參考
封鎖使用者