mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
parent
fab8b57e31
commit
c34d701a65
1 changed files with 29 additions and 30 deletions
5
html.c
5
html.c
|
@ -337,8 +337,7 @@ xs_html *html_note(snac *user, char *summary,
|
||||||
xs_html_tag("summary",
|
xs_html_tag("summary",
|
||||||
xs_html_text(L("Poll..."))),
|
xs_html_text(L("Poll..."))),
|
||||||
xs_html_tag("p",
|
xs_html_tag("p",
|
||||||
xs_html_text(L("Poll options (one per line, up to 8):")),
|
xs_html_text(L("Poll options (one per line, up to 8):"))),
|
||||||
xs_html_sctag("br", NULL),
|
|
||||||
xs_html_tag("textarea",
|
xs_html_tag("textarea",
|
||||||
xs_html_attr("class", "snac-textarea"),
|
xs_html_attr("class", "snac-textarea"),
|
||||||
xs_html_attr("name", "poll_options"),
|
xs_html_attr("name", "poll_options"),
|
||||||
|
@ -366,7 +365,7 @@ xs_html *html_note(snac *user, char *summary,
|
||||||
xs_html_text(L("End in 1 hour"))),
|
xs_html_text(L("End in 1 hour"))),
|
||||||
xs_html_tag("option",
|
xs_html_tag("option",
|
||||||
xs_html_attr("value", "86400"),
|
xs_html_attr("value", "86400"),
|
||||||
xs_html_text(L("End in 1 day")))))));
|
xs_html_text(L("End in 1 day"))))));
|
||||||
}
|
}
|
||||||
|
|
||||||
xs_html_add(form,
|
xs_html_add(form,
|
||||||
|
|
Loading…
Reference in a new issue