diff options
author | default <nobody@localhost> | 2022-11-16 12:16:30 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-16 12:16:30 +0100 |
commit | 0739b9ff596cc7df395e139affcbfd042700dc2d (patch) | |
tree | d89f9bae3f2e3b1d73ac0901b9c00f3c5ba69a0a | |
parent | a06930f4daa270660151c256d2283b9b3c57ab83 (diff) |
Also add the 'Sensitive content' checkbox to replies.
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | html.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,7 @@ A simple, minimalistic ActivityPub instance - Tested interoperability with related software - No database needed - Totally JavaScript-free +- No cookies either - Not much bullshit # About @@ -449,6 +449,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, int num) "<textarea class=\"snac-textarea\" name=\"content\" " "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" "<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n" + "<p><input type=\"checkbox\" name=\"sensitive\"> %s\n" "<p><input type=\"file\" name=\"attach\">\n" "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" "</form><p></div>\n" @@ -460,6 +461,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, int num) snac->actor, md5, ct, id, + L("Sensitive content"), L("Post") ); |