diff options
| author | 2024-02-01 09:29:25 +0100 | |
|---|---|---|
| committer | 2024-02-01 09:29:25 +0100 | |
| commit | 2e72a6215ed4acb08ab73255e0a57ea4f0d72986 (patch) | |
| tree | 71f5f41d2da68c01dc2e4d331398852ccb82eaf2 /html.c | |
| parent | Added the date to each notification. (diff) | |
| download | snac2-2e72a6215ed4acb08ab73255e0a57ea4f0d72986.tar.gz snac2-2e72a6215ed4acb08ab73255e0a57ea4f0d72986.tar.xz snac2-2e72a6215ed4acb08ab73255e0a57ea4f0d72986.zip | |
New field in 'New Post...' to include an inReplyTo URL.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -344,6 +344,14 @@ xs_html *html_note(snac *user, char *summary, | |||
| 344 | xs_html_attr("type", "hidden"), | 344 | xs_html_attr("type", "hidden"), |
| 345 | xs_html_attr("name", "in_reply_to"), | 345 | xs_html_attr("name", "in_reply_to"), |
| 346 | xs_html_attr("value", in_reply_to))); | 346 | xs_html_attr("value", in_reply_to))); |
| 347 | else | ||
| 348 | xs_html_add(form, | ||
| 349 | xs_html_tag("p", NULL), | ||
| 350 | xs_html_text(L("Reply to (URL): ")), | ||
| 351 | xs_html_sctag("input", | ||
| 352 | xs_html_attr("type", "text"), | ||
| 353 | xs_html_attr("name", "in_reply_to"), | ||
| 354 | xs_html_attr("placeholder", "Optional URL to reply to"))); | ||
| 347 | 355 | ||
| 348 | if (edit_id) | 356 | if (edit_id) |
| 349 | xs_html_add(form, | 357 | xs_html_add(form, |