From 39a55f22a30caf3a1826ae22b3df7d85d86365ef Mon Sep 17 00:00:00 2001 From: default Date: Wed, 12 Oct 2022 08:15:20 +0200 Subject: [PATCH] Also add the 'Image to attach' field to reply textareas. --- html.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/html.c b/html.c index a17160f..5673062 100644 --- a/html.c +++ b/html.c @@ -196,7 +196,7 @@ d_char *html_top_controls(snac *snac, d_char *s) "rows=\"8\" wrap=\"virtual\" required=\"required\">\n" "\n" "\n" - " Image URL

" + " %s

" "

\n" "\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\n" "\n" "\n" + " %s

" "

\n", md5, snac->actor, md5, ct, id, - L("Post") + L("Post"), + L("Image to attach (URL)") ); s = xs_str_cat(s, s1);