diff options
| -rw-r--r-- | html.c | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -388,20 +388,20 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg) | |||
| 388 | 388 | ||
| 389 | xs *s1 = xs_fmt( | 389 | xs *s1 = xs_fmt( |
| 390 | "<p><div class=\"snac-note\" style=\"display: none\" id=\"%s_reply\">\n" | 390 | "<p><div class=\"snac-note\" style=\"display: none\" id=\"%s_reply\">\n" |
| 391 | "<form method=\"post\" action=\"%s/admin/note\" id=\"%s_reply_form\">\n" | 391 | "<form method=\"post\" action=\"%s/admin/note\" " |
| 392 | "enctype=\"multipart/form-data\" id=\"%s_reply_form\">\n" | ||
| 392 | "<textarea class=\"snac-textarea\" name=\"content\" " | 393 | "<textarea class=\"snac-textarea\" name=\"content\" " |
| 393 | "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" | 394 | "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" |
| 394 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n" | 395 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n" |
| 395 | "<input type=\"submit\" class=\"button\" value=\"%s\">\n" | 396 | "<p><input type=\"file\" name=\"attach\">\n" |
| 396 | "<input type=\"text\" name=\"attach_url\"> %s<p>" | 397 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| 397 | "</form><p></div>\n", | 398 | "</form><p></div>\n", |
| 398 | 399 | ||
| 399 | md5, | 400 | md5, |
| 400 | snac->actor, md5, | 401 | snac->actor, md5, |
| 401 | ct, | 402 | ct, |
| 402 | id, | 403 | id, |
| 403 | L("Post"), | 404 | L("Post") |
| 404 | L("Image to attach (URL)") | ||
| 405 | ); | 405 | ); |
| 406 | 406 | ||
| 407 | s = xs_str_cat(s, s1); | 407 | s = xs_str_cat(s, s1); |