From 6417d238512853bcce53f09454d635e841ec60f8 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 26 Nov 2023 19:15:43 +0100 Subject: Use html_note() in html_top_controls(). --- html.c | 69 ++++++++++-------------------------------------------------------- 1 file changed, 10 insertions(+), 59 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index f6c245b..c314da8 100644 --- a/html.c +++ b/html.c @@ -288,7 +288,7 @@ xs_html *html_note(snac *user, char *summary, /* no actor_id; ask for mentioned_only */ xs_html_add(form, xs_html_tag("p", NULL), - xs_html_text(L("Only for mentioned people")), + xs_html_text(L("Only for mentioned people: ")), xs_html_sctag("input", xs_html_attr("type", "checkbox"), xs_html_attr("name", "mentioned_only"), @@ -712,44 +712,6 @@ xs_str *html_user_header(snac *snac, xs_str *s, int local) xs_str *html_top_controls(snac *snac, xs_str *s) /* generates the top controls */ { - char *_tmpl = - "
\n" - "