diff options
| author | 2023-04-10 13:22:59 +0200 | |
|---|---|---|
| committer | 2023-04-10 13:22:59 +0200 | |
| commit | 9e9d740199e11ca79463f9f4df6f55f0e25cc1aa (patch) | |
| tree | dcc77be55ee993938c58923960ddc07dcb618593 /html.c | |
| parent | Added some tweaks for AndStatus, that does some things different (still non-w... (diff) | |
| download | snac2-9e9d740199e11ca79463f9f4df6f55f0e25cc1aa.tar.gz snac2-9e9d740199e11ca79463f9f4df6f55f0e25cc1aa.tar.xz snac2-9e9d740199e11ca79463f9f4df6f55f0e25cc1aa.zip | |
Added image attachments.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -332,7 +332,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 332 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" | 332 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" |
| 333 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | 333 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" |
| 334 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" | 334 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" |
| 335 | "<p><input type=\"file\" name=\"attach\">\n" | 335 | "<p>%s: <input type=\"file\" name=\"attach\">\n" |
| 336 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | 336 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" |
| 337 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" | 337 | "<p><input type=\"submit\" class=\"button\" value=\"%s\">\n" |
| 338 | "</form><p>\n" | 338 | "</form><p>\n" |
| @@ -425,6 +425,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 425 | snac->actor, | 425 | snac->actor, |
| 426 | L("Sensitive content"), | 426 | L("Sensitive content"), |
| 427 | L("Only for mentioned people"), | 427 | L("Only for mentioned people"), |
| 428 | L("Image"), | ||
| 428 | L("Image description"), | 429 | L("Image description"), |
| 429 | L("Post"), | 430 | L("Post"), |
| 430 | 431 | ||
| @@ -593,7 +594,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 593 | 594 | ||
| 594 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | 595 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" |
| 595 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" | 596 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" |
| 596 | "<p><input type=\"file\" name=\"attach\">\n" | 597 | "<p>%s: <input type=\"file\" name=\"attach\">\n" |
| 597 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | 598 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" |
| 598 | 599 | ||
| 599 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" | 600 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" |
| @@ -609,6 +610,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 609 | id, | 610 | id, |
| 610 | L("Sensitive content"), | 611 | L("Sensitive content"), |
| 611 | L("Only for mentioned people"), | 612 | L("Only for mentioned people"), |
| 613 | L("Image"), | ||
| 612 | L("Image description"), | 614 | L("Image description"), |
| 613 | md5, | 615 | md5, |
| 614 | L("Post") | 616 | L("Post") |
| @@ -632,7 +634,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 632 | 634 | ||
| 633 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" | 635 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\">\n" |
| 634 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" | 636 | "<p>%s: <input type=\"checkbox\" name=\"mentioned_only\">\n" |
| 635 | "<p><input type=\"file\" name=\"attach\">\n" | 637 | "<p>%s: <input type=\"file\" name=\"attach\">\n" |
| 636 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | 638 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" |
| 637 | 639 | ||
| 638 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" | 640 | "<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n" |
| @@ -648,6 +650,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5) | |||
| 648 | id, | 650 | id, |
| 649 | L("Sensitive content"), | 651 | L("Sensitive content"), |
| 650 | L("Only for mentioned people"), | 652 | L("Only for mentioned people"), |
| 653 | L("Image"), | ||
| 651 | L("Image description"), | 654 | L("Image description"), |
| 652 | md5, | 655 | md5, |
| 653 | L("Post") | 656 | L("Post") |