summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-16 12:16:30 +0100
committerdefault <nobody@localhost>2022-11-16 12:16:30 +0100
commit0739b9ff596cc7df395e139affcbfd042700dc2d (patch)
treed89f9bae3f2e3b1d73ac0901b9c00f3c5ba69a0a /html.c
parenta06930f4daa270660151c256d2283b9b3c57ab83 (diff)
Also add the 'Sensitive content' checkbox to replies.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/html.c b/html.c
index 8fb3892..863de75 100644
--- a/html.c
+++ b/html.c
@@ -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")
);