diff options
| -rw-r--r-- | html.c | 24 |
1 files changed, 12 insertions, 12 deletions
| @@ -395,7 +395,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 395 | "<form autocomplete=\"off\" method=\"post\" " | 395 | "<form autocomplete=\"off\" method=\"post\" " |
| 396 | "action=\"%s/admin/note\" enctype=\"multipart/form-data\">\n" | 396 | "action=\"%s/admin/note\" enctype=\"multipart/form-data\">\n" |
| 397 | "<textarea class=\"snac-textarea\" name=\"content\" " | 397 | "<textarea class=\"snac-textarea\" name=\"content\" " |
| 398 | "rows=\"8\" wrap=\"virtual\" required=\"required\"></textarea>\n" | 398 | "rows=\"8\" wrap=\"virtual\" required=\"required\" placeholder=\"What's on your mind?\"></textarea>\n" |
| 399 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" | 399 | "<input type=\"hidden\" name=\"in_reply_to\" value=\"\">\n" |
| 400 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\"> " | 400 | "<p>%s: <input type=\"checkbox\" name=\"sensitive\"> " |
| 401 | "<input type=\"text\" name=\"summary\" placeholder=\"%s\">\n" | 401 | "<input type=\"text\" name=\"summary\" placeholder=\"%s\">\n" |
| @@ -403,14 +403,14 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 403 | 403 | ||
| 404 | "<details><summary>%s</summary>\n" /** attach **/ | 404 | "<details><summary>%s</summary>\n" /** attach **/ |
| 405 | "<p>%s: <input type=\"file\" name=\"attach\">\n" | 405 | "<p>%s: <input type=\"file\" name=\"attach\">\n" |
| 406 | "<p>%s: <input type=\"text\" name=\"alt_text\">\n" | 406 | "<p>%s: <input type=\"text\" name=\"alt_text\" placeholder=\"[Optional]\">\n" |
| 407 | "</details>\n" | 407 | "</details>\n" |
| 408 | 408 | ||
| 409 | "<p>" | 409 | "<p>" |
| 410 | "<details><summary>%s</summary>\n" /** poll **/ | 410 | "<details><summary>%s</summary>\n" /** poll **/ |
| 411 | "<p>%s:<br>\n" | 411 | "<p>%s:<br>\n" |
| 412 | "<textarea class=\"snac-textarea\" name=\"poll_options\" " | 412 | "<textarea class=\"snac-textarea\" name=\"poll_options\" " |
| 413 | "rows=\"6\" wrap=\"virtual\"></textarea>\n" | 413 | "rows=\"6\" wrap=\"virtual\" placeholder=\"Option 1...\nOption 2...\nOption 3...\n....\"></textarea>\n" |
| 414 | "<p><select name=\"poll_multiple\">\n" | 414 | "<p><select name=\"poll_multiple\">\n" |
| 415 | "<option value=\"off\">%s</option>\n" | 415 | "<option value=\"off\">%s</option>\n" |
| 416 | "<option value=\"on\">%s</option>\n" | 416 | "<option value=\"on\">%s</option>\n" |
| @@ -430,12 +430,12 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 430 | "<details><summary>%s</summary>\n" | 430 | "<details><summary>%s</summary>\n" |
| 431 | 431 | ||
| 432 | "<form autocomplete=\"off\" method=\"post\" action=\"%s/admin/action\">\n" /** follow **/ | 432 | "<form autocomplete=\"off\" method=\"post\" action=\"%s/admin/action\">\n" /** follow **/ |
| 433 | "<input type=\"text\" name=\"actor\" required=\"required\">\n" | 433 | "<input type=\"text\" name=\"actor\" required=\"required\" placeholder=\"bob@example.com\">\n" |
| 434 | "<input type=\"submit\" name=\"action\" value=\"%s\"> %s\n" | 434 | "<input type=\"submit\" name=\"action\" value=\"%s\"> %s\n" |
| 435 | "</form><p>\n" | 435 | "</form><p>\n" |
| 436 | 436 | ||
| 437 | "<form autocomplete=\"off\" method=\"post\" action=\"%s/admin/action\">\n" /** boost **/ | 437 | "<form autocomplete=\"off\" method=\"post\" action=\"%s/admin/action\">\n" /** boost **/ |
| 438 | "<input type=\"text\" name=\"id\" required=\"required\">\n" | 438 | "<input type=\"text\" name=\"id\" required=\"required\" placeholder=\"https://fedi.example.com/bob/....\">\n" |
| 439 | "<input type=\"submit\" name=\"action\" value=\"%s\"> %s\n" | 439 | "<input type=\"submit\" name=\"action\" value=\"%s\"> %s\n" |
| 440 | "</form><p>\n" | 440 | "</form><p>\n" |
| 441 | 441 | ||
| @@ -445,18 +445,18 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 445 | "<form autocomplete=\"off\" method=\"post\" " | 445 | "<form autocomplete=\"off\" method=\"post\" " |
| 446 | "action=\"%s/admin/user-setup\" enctype=\"multipart/form-data\">\n" | 446 | "action=\"%s/admin/user-setup\" enctype=\"multipart/form-data\">\n" |
| 447 | "<p>%s:<br>\n" | 447 | "<p>%s:<br>\n" |
| 448 | "<input type=\"text\" name=\"name\" value=\"%s\"></p>\n" | 448 | "<input type=\"text\" name=\"name\" value=\"%s\" placeholder=\"Your name.\"></p>\n" |
| 449 | 449 | ||
| 450 | "<p>%s: <input type=\"file\" name=\"avatar_file\"></p>\n" | 450 | "<p>%s: <input type=\"file\" name=\"avatar_file\"></p>\n" |
| 451 | 451 | ||
| 452 | "<p>%s:<br>\n" | 452 | "<p>%s:<br>\n" |
| 453 | "<textarea name=\"bio\" cols=\"40\" rows=\"4\">%s</textarea></p>\n" | 453 | "<textarea name=\"bio\" cols=\"40\" rows=\"4\" placeholder=\"Write about yourself here....\">%s</textarea></p>\n" |
| 454 | 454 | ||
| 455 | "<p><input type=\"checkbox\" name=\"cw\" id=\"cw\" %s>\n" | 455 | "<p><input type=\"checkbox\" name=\"cw\" id=\"cw\" %s>\n" |
| 456 | "<label for=\"cw\">%s</label></p>\n" | 456 | "<label for=\"cw\">%s</label></p>\n" |
| 457 | 457 | ||
| 458 | "<p>%s:<br>\n" | 458 | "<p>%s:<br>\n" |
| 459 | "<input type=\"text\" name=\"email\" value=\"%s\"></p>\n" | 459 | "<input type=\"text\" name=\"email\" value=\"%s\" placeholder=\"bob@example.com\"></p>\n" |
| 460 | 460 | ||
| 461 | "<p>%s:<br>\n" | 461 | "<p>%s:<br>\n" |
| 462 | "<input type=\"text\" name=\"telegram_bot\" placeholder=\"Bot API key\" value=\"%s\"> " | 462 | "<input type=\"text\" name=\"telegram_bot\" placeholder=\"Bot API key\" value=\"%s\"> " |
| @@ -533,7 +533,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 533 | L("Sensitive content description"), | 533 | L("Sensitive content description"), |
| 534 | L("Only for mentioned people"), | 534 | L("Only for mentioned people"), |
| 535 | 535 | ||
| 536 | L("Attach..."), | 536 | L("Attachment..."), |
| 537 | L("File"), | 537 | L("File"), |
| 538 | L("File description"), | 538 | L("File description"), |
| 539 | 539 | ||
| @@ -555,7 +555,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 555 | snac->actor, | 555 | snac->actor, |
| 556 | L("Boost"), L("(by URL)"), | 556 | L("Boost"), L("(by URL)"), |
| 557 | 557 | ||
| 558 | L("User setup..."), | 558 | L("User settings...."), |
| 559 | snac->actor, | 559 | snac->actor, |
| 560 | L("Display name"), | 560 | L("Display name"), |
| 561 | es1, | 561 | es1, |
| @@ -575,8 +575,8 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 575 | L("Drop direct messages from people you don't follow"), | 575 | L("Drop direct messages from people you don't follow"), |
| 576 | xs_type(bot) == XSTYPE_TRUE ? "checked" : "", | 576 | xs_type(bot) == XSTYPE_TRUE ? "checked" : "", |
| 577 | L("This account is a bot"), | 577 | L("This account is a bot"), |
| 578 | L("New Password"), | 578 | L("New password"), |
| 579 | L("Repeat New Password"), | 579 | L("Repeat new password"), |
| 580 | L("Update user info") | 580 | L("Update user info") |
| 581 | ); | 581 | ); |
| 582 | 582 | ||