commit 2dba85e

default  ·  2022-12-08 07:04:18 +0000 UTC
parent a1673e6
Also add 'redir' hidden field to Replies.
1 files changed,  +2, -0
M html.c
M html.c
+2, -0
 1@@ -465,6 +465,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5)
 2             "<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n"
 3             "<p><input type=\"checkbox\" name=\"sensitive\"> %s\n"
 4             "<p><input type=\"file\" name=\"attach\">\n"
 5+            "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n"
 6             "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n"
 7             "</form><p></div>\n"
 8             "</details><p>"
 9@@ -476,6 +477,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5)
10             ct,
11             id,
12             L("Sensitive content"),
13+            md5,
14             L("Post")
15         );
16