diff options
author | default <nobody@localhost> | 2022-10-12 08:15:20 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-12 08:15:20 +0200 |
commit | 39a55f22a30caf3a1826ae22b3df7d85d86365ef (patch) | |
tree | 544942082b329cd172d52f46b68f849e7b1749cb /html.c | |
parent | e1893f1767cf66a6a86db7018ec58da19550e657 (diff) |
Also add the 'Image to attach' field to reply textareas.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -196,7 +196,7 @@ d_char *html_top_controls(snac *snac, d_char *s) "rows=\"8\" wrap=\"virtual\" required=\"required\"></textarea>\n" "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" "<input type=\"submit\" class=\"button\" value=\"%s\">\n" - "<input type=\"text\" name=\"attach_url\"> Image URL<p>" + "<input type=\"text\" name=\"attach_url\"> %s<p>" "</form><p>\n" "</div>\n" @@ -244,6 +244,7 @@ d_char *html_top_controls(snac *snac, d_char *s) xs *s1 = xs_fmt(_tmpl, snac->actor, L("Post"), + L("Image to attach (URL)"), L("More options..."), @@ -393,13 +394,15 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg) "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" "<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n" "<input type=\"submit\" class=\"button\" value=\"%s\">\n" + "<input type=\"text\" name=\"attach_url\"> %s<p>" "</form><p></div>\n", md5, snac->actor, md5, ct, id, - L("Post") + L("Post"), + L("Image to attach (URL)") ); s = xs_str_cat(s, s1); |