snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 0739b9ff596cc7df395e139affcbfd042700dc2d
parent a06930f4daa270660151c256d2283b9b3c57ab83
Author: default <nobody@localhost>
Date:   Wed, 16 Nov 2022 12:16:30 +0100

Also add the 'Sensitive content' checkbox to replies.

Diffstat:
MREADME.md | 1+
Mhtml.c | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -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 diff --git 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") );