mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
The "More..." links in html_timeline() use now xs_html.
This commit is contained in:
parent
a6da1fdb64
commit
6c6dd060eb
19
html.c
19
html.c
@ -2172,15 +2172,18 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local,
|
|||||||
m = xs_fmt("%s?%s", t, ss);
|
m = xs_fmt("%s?%s", t, ss);
|
||||||
}
|
}
|
||||||
|
|
||||||
xs *s1 = xs_fmt(
|
xs_html *more_links = xs_html_tag("p",
|
||||||
"<p>"
|
xs_html_tag("a",
|
||||||
"<a href=\"%s\" name=\"snac-more\">%s</a> - "
|
xs_html_attr("href", t),
|
||||||
"<a href=\"%s\" name=\"snac-more\">%s</a>"
|
xs_html_attr("name", "snac-more"),
|
||||||
"</p>\n",
|
xs_html_text(L("Back to top"))),
|
||||||
t, L("Back to top"),
|
xs_html_text(" - "),
|
||||||
m, L("More...")
|
xs_html_tag("a",
|
||||||
);
|
xs_html_attr("href", m),
|
||||||
|
xs_html_attr("name", "snac-more"),
|
||||||
|
xs_html_text(L("More..."))));
|
||||||
|
|
||||||
|
xs *s1 = xs_html_render(more_links);
|
||||||
s = xs_str_cat(s, s1);
|
s = xs_str_cat(s, s1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user