From d3cf86c098a838fca3402da33ffc9d49c89c10c5 Mon Sep 17 00:00:00 2001 From: default Date: Sat, 28 Jan 2023 18:00:26 +0100 Subject: [PATCH] New post field 'alt_text'. --- html.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/html.c b/html.c index dde2cf7..7aede65 100644 --- a/html.c +++ b/html.c @@ -267,8 +267,9 @@ d_char *html_top_controls(snac *snac, d_char *s) "\n" "\n" - "

%s\n" + "

%s: \n" "

\n" + "

%s: \n" "

\n" "

\n" "\n" @@ -331,6 +332,7 @@ d_char *html_top_controls(snac *snac, d_char *s) xs *s1 = xs_fmt(_tmpl, snac->actor, L("Sensitive content"), + L("Image description"), L("Post"), L("More options..."), @@ -491,8 +493,11 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) "\n" "\n" - "

%s\n" + + "

%s: \n" "

\n" + "

%s: \n" + "\n" "

\n" "

\n" @@ -505,6 +510,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) prev_src, id, L("Sensitive content"), + L("Image description"), md5, L("Post") ); @@ -524,8 +530,11 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) "\n" "\n" - "

%s\n" + + "

%s: \n" "

\n" + "

%s: \n" + "\n" "

\n" "

\n" @@ -538,6 +547,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) ct, id, L("Sensitive content"), + L("Image description"), md5, L("Post") );