diff --git a/html.c b/html.c index 5614956..89285c7 100644 --- a/html.c +++ b/html.c @@ -780,7 +780,7 @@ d_char *html_user_footer(snac *snac, d_char *s) } -d_char *html_timeline(snac *snac, char *list, int local) +d_char *html_timeline(snac *snac, char *list, int local, int skip, int show, int show_more) /* returns the HTML for the timeline */ { d_char *s = xs_str_new(NULL); @@ -839,6 +839,15 @@ d_char *html_timeline(snac *snac, char *list, int local) s = xs_str_cat(s, s1); } + if (show_more) { + xs *s1 = xs_fmt( + "
" + "%s" + "
\n", local ? "" : "/admin", snac->actor, skip + show, show, L("More...")); + + s = xs_str_cat(s, s1); + } + s = xs_str_cat(s, "