snac2

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

commit 2dba85ead200344d30dd66e54794007ae2949301
parent a1673e6d0c23136a571b89b3aa7933837a05daa6
Author: default <nobody@localhost>
Date:   Thu,  8 Dec 2022 08:04:18 +0100

Also add 'redir' hidden field to Replies.

Diffstat:
Mhtml.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/html.c b/html.c @@ -465,6 +465,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) "<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" + "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" "</form><p></div>\n" "</details><p>" @@ -476,6 +477,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) ct, id, L("Sensitive content"), + md5, L("Post") );