mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
New field in 'New Post...' to include an inReplyTo URL.
This commit is contained in:
parent
5563a41ed0
commit
2e72a6215e
1 changed files with 8 additions and 0 deletions
8
html.c
8
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,
|
||||
|
|
Loading…
Reference in a new issue