mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Also add 'redir' hidden field to Replies.
This commit is contained in:
parent
a1673e6d0c
commit
2dba85ead2
1 changed files with 2 additions and 0 deletions
2
html.c
2
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"
|
"<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n"
|
||||||
"<p><input type=\"checkbox\" name=\"sensitive\"> %s\n"
|
"<p><input type=\"checkbox\" name=\"sensitive\"> %s\n"
|
||||||
"<p><input type=\"file\" name=\"attach\">\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"
|
"<p><input type=\"submit\" class=\"button\" value=\"%s\">\n"
|
||||||
"</form><p></div>\n"
|
"</form><p></div>\n"
|
||||||
"</details><p>"
|
"</details><p>"
|
||||||
|
@ -476,6 +477,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5)
|
||||||
ct,
|
ct,
|
||||||
id,
|
id,
|
||||||
L("Sensitive content"),
|
L("Sensitive content"),
|
||||||
|
md5,
|
||||||
L("Post")
|
L("Post")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue