From 142b4d6d8689ab4eafe73d68e18631cbdfb2a6e7 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 30 May 2023 10:01:36 +0200 Subject: Added a poll pull-down and options (still unused). --- html.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 82700f6..8c5aac7 100644 --- a/html.c +++ b/html.c @@ -349,11 +349,24 @@ d_char *html_top_controls(snac *snac, d_char *s) "

%s: \n" "

%s: \n" - "

%s\n" + "
%s\n" /** attach **/ "

%s: \n" "

%s: \n" "

\n" + "

" + "

%s\n" /** poll **/ + "

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

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

\n" + "

\n" "

\n" "\n" @@ -361,19 +374,19 @@ d_char *html_top_controls(snac *snac, d_char *s) "

\n" "
%s\n" - "
\n" + "\n" /** follow **/ "\n" " %s\n" "

\n" - "

\n" + "\n" /** boost **/ "\n" " %s\n" "

\n" "

%s\n" - "
\n" + "
\n" /** user setup **/ "
\n" "

%s:
\n" "

\n" @@ -450,9 +463,18 @@ d_char *html_top_controls(snac *snac, d_char *s) snac->actor, L("Sensitive content"), L("Only for mentioned people"), + L("Attach..."), L("File"), L("File description"), + + L("Poll..."), + L("Poll options (one per line, up to 8)"), + L("Multiple"), + L("5 minutes"), + L("1 hour"), + L("1 day"), + L("Post"), L("More options..."), -- cgit v1.2.3