snac2

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

commit 2e72a6215ed4acb08ab73255e0a57ea4f0d72986
parent 5563a41ed041ea1de6574b37bc5efe10c732ab36
Author: default <nobody@localhost>
Date:   Thu,  1 Feb 2024 09:29:25 +0100

New field in 'New Post...' to include an inReplyTo URL.

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

diff --git a/html.c b/html.c @@ -344,6 +344,14 @@ xs_html *html_note(snac *user, char *summary, xs_html_attr("type", "hidden"), xs_html_attr("name", "in_reply_to"), xs_html_attr("value", in_reply_to))); + else + xs_html_add(form, + xs_html_tag("p", NULL), + xs_html_text(L("Reply to (URL): ")), + xs_html_sctag("input", + xs_html_attr("type", "text"), + xs_html_attr("name", "in_reply_to"), + xs_html_attr("placeholder", "Optional URL to reply to"))); if (edit_id) xs_html_add(form,