diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -392,6 +392,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 392 | "<div class=\"snac-top-controls\">\n" | 392 | "<div class=\"snac-top-controls\">\n" |
| 393 | 393 | ||
| 394 | "<div class=\"snac-note\">\n" | 394 | "<div class=\"snac-note\">\n" |
| 395 | "<details><summary>%s</summary>\n" | ||
| 395 | "<form autocomplete=\"off\" method=\"post\" " | 396 | "<form autocomplete=\"off\" method=\"post\" " |
| 396 | "action=\"%s/admin/note\" enctype=\"multipart/form-data\">\n" | 397 | "action=\"%s/admin/note\" enctype=\"multipart/form-data\">\n" |
| 397 | "<textarea class=\"snac-textarea\" name=\"content\" " | 398 | "<textarea class=\"snac-textarea\" name=\"content\" " |
| @@ -425,6 +426,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 425 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 426 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| 426 | "</form><p>\n" | 427 | "</form><p>\n" |
| 427 | "</div>\n" | 428 | "</div>\n" |
| 429 | "</details>\n" | ||
| 428 | 430 | ||
| 429 | "<div class=\"snac-top-controls-more\">\n" | 431 | "<div class=\"snac-top-controls-more\">\n" |
| 430 | "<details><summary>%s</summary>\n" | 432 | "<details><summary>%s</summary>\n" |
| @@ -528,6 +530,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 528 | xs *es6 = encode_html(purge_days); | 530 | xs *es6 = encode_html(purge_days); |
| 529 | 531 | ||
| 530 | xs *s1 = xs_fmt(_tmpl, | 532 | xs *s1 = xs_fmt(_tmpl, |
| 533 | L("New Post..."), | ||
| 531 | snac->actor, | 534 | snac->actor, |
| 532 | L("Sensitive content"), | 535 | L("Sensitive content"), |
| 533 | L("Sensitive content description"), | 536 | L("Sensitive content description"), |
| @@ -547,7 +550,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 547 | 550 | ||
| 548 | L("Post"), | 551 | L("Post"), |
| 549 | 552 | ||
| 550 | L("More options..."), | 553 | L("Preferences..."), |
| 551 | 554 | ||
| 552 | snac->actor, | 555 | snac->actor, |
| 553 | L("Follow"), L("(by URL or user@host)"), | 556 | L("Follow"), L("(by URL or user@host)"), |
| @@ -555,7 +558,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 555 | snac->actor, | 558 | snac->actor, |
| 556 | L("Boost"), L("(by URL)"), | 559 | L("Boost"), L("(by URL)"), |
| 557 | 560 | ||
| 558 | L("User settings...."), | 561 | L("User Settings"), |
| 559 | snac->actor, | 562 | snac->actor, |
| 560 | L("Display name"), | 563 | L("Display name"), |
| 561 | es1, | 564 | es1, |