mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Renamed 'admin' link label to 'private'.
This commit is contained in:
parent
ad202c5ccb
commit
17d4e4f5dd
1 changed files with 2 additions and 2 deletions
4
html.c
4
html.c
|
@ -196,14 +196,14 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
|
||||||
"<a href=\"%s.rss\">%s</a> - "
|
"<a href=\"%s.rss\">%s</a> - "
|
||||||
"<a href=\"%s/admin\" rel=\"nofollow\">%s</a></nav>\n",
|
"<a href=\"%s/admin\" rel=\"nofollow\">%s</a></nav>\n",
|
||||||
snac->actor, L("RSS"),
|
snac->actor, L("RSS"),
|
||||||
snac->actor, L("admin"));
|
snac->actor, L("private"));
|
||||||
else
|
else
|
||||||
s1 = xs_fmt(
|
s1 = xs_fmt(
|
||||||
"<a href=\"%s\">%s</a> - "
|
"<a href=\"%s\">%s</a> - "
|
||||||
"<a href=\"%s/admin\">%s</a> - "
|
"<a href=\"%s/admin\">%s</a> - "
|
||||||
"<a href=\"%s/people\">%s</a></nav>\n",
|
"<a href=\"%s/people\">%s</a></nav>\n",
|
||||||
snac->actor, L("public"),
|
snac->actor, L("public"),
|
||||||
snac->actor, L("admin"),
|
snac->actor, L("private"),
|
||||||
snac->actor, L("people"));
|
snac->actor, L("people"));
|
||||||
|
|
||||||
s = xs_str_cat(s, s1);
|
s = xs_str_cat(s, s1);
|
||||||
|
|
Loading…
Reference in a new issue