diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -549,26 +549,26 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 549 | 549 | ||
| 550 | L("User setup..."), | 550 | L("User setup..."), |
| 551 | snac->actor, | 551 | snac->actor, |
| 552 | L("User name"), | 552 | L("Display name"), |
| 553 | xs_dict_get(snac->config, "name"), | 553 | encode_html(xs_dict_get(snac->config, "name")), |
| 554 | L("Avatar"), | 554 | L("Avatar"), |
| 555 | L("Bio"), | 555 | L("Bio"), |
| 556 | xs_dict_get(snac->config, "bio"), | 556 | encode_html(xs_dict_get(snac->config, "bio")), |
| 557 | strcmp(cw, "open") == 0 ? "checked" : "", | 557 | strcmp(cw, "open") == 0 ? "checked" : "", |
| 558 | L("Always show sensitive content"), | 558 | L("Always show sensitive content"), |
| 559 | L("Email address for notifications"), | 559 | L("Email address for notifications"), |
| 560 | email, | 560 | encode_html(email), |
| 561 | L("Telegram notifications (bot key and chat id)"), | 561 | L("Telegram notifications (bot key and chat id)"), |
| 562 | telegram_bot, | 562 | encode_html(telegram_bot), |
| 563 | telegram_chat_id, | 563 | encode_html(telegram_chat_id), |
| 564 | L("Maximum days to keep posts (0: server settings)"), | 564 | L("Maximum days to keep posts (0: server settings)"), |
| 565 | purge_days, | 565 | encode_html(purge_days), |
| 566 | xs_type(d_dm_f_u) == XSTYPE_TRUE ? "checked" : "", | 566 | xs_type(d_dm_f_u) == XSTYPE_TRUE ? "checked" : "", |
| 567 | L("Drop direct messages from people you don't follow"), | 567 | L("Drop direct messages from people you don't follow"), |
| 568 | xs_type(bot) == XSTYPE_TRUE ? "checked" : "", | 568 | xs_type(bot) == XSTYPE_TRUE ? "checked" : "", |
| 569 | L("This account is a bot"), | 569 | L("This account is a bot"), |
| 570 | L("Password (only to change it)"), | 570 | L("New Password"), |
| 571 | L("Repeat Password"), | 571 | L("Repeat New Password"), |
| 572 | L("Update user info") | 572 | L("Update user info") |
| 573 | ); | 573 | ); |
| 574 | 574 | ||