commit 2e72a62
default
·
2024-02-01 08:29:25 +0000 UTC
parent 5563a41
New field in 'New Post...' to include an inReplyTo URL.
1 files changed,
+8,
-0
M
html.c
M
html.c
+8,
-0
1@@ -344,6 +344,14 @@ xs_html *html_note(snac *user, char *summary,
2 xs_html_attr("type", "hidden"),
3 xs_html_attr("name", "in_reply_to"),
4 xs_html_attr("value", in_reply_to)));
5+ else
6+ xs_html_add(form,
7+ xs_html_tag("p", NULL),
8+ xs_html_text(L("Reply to (URL): ")),
9+ xs_html_sctag("input",
10+ xs_html_attr("type", "text"),
11+ xs_html_attr("name", "in_reply_to"),
12+ xs_html_attr("placeholder", "Optional URL to reply to")));
13
14 if (edit_id)
15 xs_html_add(form,