mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 16:53:37 +00:00
Also add the 'Sensitive content' checkbox to replies.
This commit is contained in:
parent
a06930f4da
commit
0739b9ff59
2 changed files with 3 additions and 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
|
||||
|
|
2
html.c
2
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")
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue