diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -345,7 +345,7 @@ d_char *html_user_header(snac *snac, d_char *s, int local) | |||
| 345 | "<a href=\"notifications\">%s</a>%s - " | 345 | "<a href=\"notifications\">%s</a>%s - " |
| 346 | "<a href=\"people\">%s</a></nav>\n" | 346 | "<a href=\"people\">%s</a></nav>\n" |
| 347 | "<a href=\"settings\">%s</a>" | 347 | "<a href=\"settings\">%s</a>" |
| 348 | "</nav>" | 348 | "</nav>", |
| 349 | snac->uid, L("public"), | 349 | snac->uid, L("public"), |
| 350 | L("private"), | 350 | L("private"), |
| 351 | L("notifications"), n_str, | 351 | L("notifications"), n_str, |
| @@ -750,7 +750,7 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch | |||
| 750 | 750 | ||
| 751 | L("Edit..."), | 751 | L("Edit..."), |
| 752 | md5, | 752 | md5, |
| 753 | snac->actor, md5, | 753 | md5, |
| 754 | prev_src, | 754 | prev_src, |
| 755 | id, | 755 | id, |
| 756 | L("Sensitive content"), | 756 | L("Sensitive content"), |
| @@ -2394,7 +2394,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 2394 | char *redir = xs_dict_get(p_vars, "redir"); | 2394 | char *redir = xs_dict_get(p_vars, "redir"); |
| 2395 | 2395 | ||
| 2396 | if (xs_is_null(redir)) | 2396 | if (xs_is_null(redir)) |
| 2397 | redir = "snac-posts"; | 2397 | redir = ""; |
| 2398 | 2398 | ||
| 2399 | *body = xs_fmt("../admin#%s", redir); | 2399 | *body = xs_fmt("../admin#%s", redir); |
| 2400 | *b_size = strlen(*body); | 2400 | *b_size = strlen(*body); |