diff options
| -rw-r--r-- | html.c | 16 |
1 files changed, 13 insertions, 3 deletions
| @@ -267,8 +267,9 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 267 | "<textarea class=\"snac-textarea\" name=\"content\" " | 267 | "<textarea class=\"snac-textarea\" name=\"content\" " |
| 268 | "rows=\"8\" wrap=\"virtual\" required=\"required\"></textarea>\n" | 268 | "rows=\"8\" wrap=\"virtual\" required=\"required\"></textarea>\n" |
| 269 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" | 269 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" |
| 270 | "<p><input type=\"checkbox\" name=\"sensitive\"> %s\n" | 270 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" |
| 271 | "<p><input type=\"file\" name=\"attach\">\n" | 271 | "<p><input type=\"file\" name=\"attach\">\n" |
| 272 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | ||
| 272 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 273 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| 273 | "</form><p>\n" | 274 | "</form><p>\n" |
| 274 | "</div>\n" | 275 | "</div>\n" |
| @@ -331,6 +332,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 331 | xs *s1 = xs_fmt(_tmpl, | 332 | xs *s1 = xs_fmt(_tmpl, |
| 332 | snac->actor, | 333 | snac->actor, |
| 333 | L("Sensitive content"), | 334 | L("Sensitive content"), |
| 335 | L("Image description"), | ||
| 334 | L("Post"), | 336 | L("Post"), |
| 335 | 337 | ||
| 336 | L("More options..."), | 338 | L("More options..."), |
| @@ -491,8 +493,11 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 491 | "<textarea class=\"snac-textarea\" name=\"content\" " | 493 | "<textarea class=\"snac-textarea\" name=\"content\" " |
| 492 | "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" | 494 | "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" |
| 493 | "<input type=\"hidden\" name=\"edit_id\" value=\"%s\">\n" | 495 | "<input type=\"hidden\" name=\"edit_id\" value=\"%s\">\n" |
| 494 | "<p><input type=\"checkbox\" name=\"sensitive\"> %s\n" | 496 | |
| 497 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | ||
| 495 | "<p><input type=\"file\" name=\"attach\">\n" | 498 | "<p><input type=\"file\" name=\"attach\">\n" |
| 499 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | ||
| 500 | |||
| 496 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" | 501 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" |
| 497 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 502 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| 498 | "</form><p></div>\n" | 503 | "</form><p></div>\n" |
| @@ -505,6 +510,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 505 | prev_src, | 510 | prev_src, |
| 506 | id, | 511 | id, |
| 507 | L("Sensitive content"), | 512 | L("Sensitive content"), |
| 513 | L("Image description"), | ||
| 508 | md5, | 514 | md5, |
| 509 | L("Post") | 515 | L("Post") |
| 510 | ); | 516 | ); |
| @@ -524,8 +530,11 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 524 | "<textarea class=\"snac-textarea\" name=\"content\" " | 530 | "<textarea class=\"snac-textarea\" name=\"content\" " |
| 525 | "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" | 531 | "rows=\"4\" wrap=\"virtual\" required=\"required\">%s</textarea>\n" |
| 526 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n" | 532 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n" |
| 527 | "<p><input type=\"checkbox\" name=\"sensitive\"> %s\n" | 533 | |
| 534 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | ||
| 528 | "<p><input type=\"file\" name=\"attach\">\n" | 535 | "<p><input type=\"file\" name=\"attach\">\n" |
| 536 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | ||
| 537 | |||
| 529 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" | 538 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" |
| 530 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 539 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| 531 | "</form><p></div>\n" | 540 | "</form><p></div>\n" |
| @@ -538,6 +547,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 538 | ct, | 547 | ct, |
| 539 | id, | 548 | id, |
| 540 | L("Sensitive content"), | 549 | L("Sensitive content"), |
| 550 | L("Image description"), | ||
| 541 | md5, | 551 | md5, |
| 542 | L("Post") | 552 | L("Post") |
| 543 | ); | 553 | ); |