diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -348,8 +348,12 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 348 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" | 348 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" |
| 349 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | 349 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" |
| 350 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" | 350 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" |
| 351 | |||
| 352 | "<details><summary>%s</summary>\n" | ||
| 351 | "<p>%s: <input type=\"file\" name=\"attach\">\n" | 353 | "<p>%s: <input type=\"file\" name=\"attach\">\n" |
| 352 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | 354 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" |
| 355 | "</details>\n" | ||
| 356 | |||
| 353 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 357 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| 354 | "</form><p>\n" | 358 | "</form><p>\n" |
| 355 | "</div>\n" | 359 | "</div>\n" |
| @@ -446,6 +450,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 446 | snac->actor, | 450 | snac->actor, |
| 447 | L("Sensitive content"), | 451 | L("Sensitive content"), |
| 448 | L("Only for mentioned people"), | 452 | L("Only for mentioned people"), |
| 453 | L("Attach..."), | ||
| 449 | L("File"), | 454 | L("File"), |
| 450 | L("File description"), | 455 | L("File description"), |
| 451 | L("Post"), | 456 | L("Post"), |
| @@ -617,8 +622,11 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch | |||
| 617 | 622 | ||
| 618 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | 623 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" |
| 619 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" | 624 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" |
| 625 | |||
| 626 | "<details><summary>%s</summary>\n" | ||
| 620 | "<p>%s: <input type=\"file\" name=\"attach\">\n" | 627 | "<p>%s: <input type=\"file\" name=\"attach\">\n" |
| 621 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | 628 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" |
| 629 | "</details>\n" | ||
| 622 | 630 | ||
| 623 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" | 631 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" |
| 624 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 632 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| @@ -633,6 +641,7 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch | |||
| 633 | id, | 641 | id, |
| 634 | L("Sensitive content"), | 642 | L("Sensitive content"), |
| 635 | L("Only for mentioned people"), | 643 | L("Only for mentioned people"), |
| 644 | L("Attach..."), | ||
| 636 | L("File"), | 645 | L("File"), |
| 637 | L("File description"), | 646 | L("File description"), |
| 638 | md5, | 647 | md5, |
| @@ -657,8 +666,11 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch | |||
| 657 | 666 | ||
| 658 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | 667 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" |
| 659 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" | 668 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" |
| 669 | |||
| 670 | "<details><summary>%s</summary>\n" | ||
| 660 | "<p>%s: <input type=\"file\" name=\"attach\">\n" | 671 | "<p>%s: <input type=\"file\" name=\"attach\">\n" |
| 661 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | 672 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" |
| 673 | "</details>\n" | ||
| 662 | 674 | ||
| 663 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" | 675 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" |
| 664 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 676 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| @@ -673,6 +685,7 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch | |||
| 673 | id, | 685 | id, |
| 674 | L("Sensitive content"), | 686 | L("Sensitive content"), |
| 675 | L("Only for mentioned people"), | 687 | L("Only for mentioned people"), |
| 688 | L("Attach..."), | ||
| 676 | L("File"), | 689 | L("File"), |
| 677 | L("File description"), | 690 | L("File description"), |
| 678 | md5, | 691 | md5, |