diff --git a/html.c b/html.c index 198269f..725c064 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* snac - A simple, minimalistic ActivityPub instance */ + /* snac - A simple, minimalistic ActivityPub instance */ /* copyright (c) 2022 - 2023 grunfink / MIT license */ #include "xs.h" @@ -343,14 +343,11 @@ d_char *html_user_header(snac *snac, d_char *s, int local) "%s - " "%s - " "%s%s - " - "%s\n" - "%s" - "", + "%s\n", snac->uid, L("public"), L("private"), L("notifications"), n_str, - L("people"), - L("settings")); + L("people")); } s = xs_str_cat(s, s1); @@ -388,13 +385,13 @@ d_char *html_user_header(snac *snac, d_char *s, int local) } -xs_str *html_top_controls(snac *snac, xs_str *s, int settings) +d_char *html_top_controls(snac *snac, d_char *s) /* generates the top controls */ { char *_tmpl = "
\n"
"%s
\n"
+ "%s
\n"
"%s
\n"
+ "%s
\n"
"