diff options
| -rw-r--r-- | html.c | 16 |
1 files changed, 11 insertions, 5 deletions
| @@ -1108,14 +1108,16 @@ xs_html *html_entry_controls(snac *snac, const xs_dict *msg, const char *md5) | |||
| 1108 | xs *form_id = xs_fmt("%s_edit_form", md5); | 1108 | xs *form_id = xs_fmt("%s_edit_form", md5); |
| 1109 | xs *redir = xs_fmt("%s_entry", md5); | 1109 | xs *redir = xs_fmt("%s_entry", md5); |
| 1110 | 1110 | ||
| 1111 | xs_html_add(controls, xs_html_tag("p", | 1111 | xs_html_add(controls, xs_html_tag("div", |
| 1112 | xs_html_tag("p", NULL), | ||
| 1112 | html_note(snac, L("Edit..."), | 1113 | html_note(snac, L("Edit..."), |
| 1113 | div_id, form_id, | 1114 | div_id, form_id, |
| 1114 | "", prev_src, | 1115 | "", prev_src, |
| 1115 | id, NULL, | 1116 | id, NULL, |
| 1116 | xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"), | 1117 | xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"), |
| 1117 | xs_stock_false, redir, | 1118 | xs_stock_false, redir, |
| 1118 | NULL, 0))); | 1119 | NULL, 0)), |
| 1120 | xs_html_tag("p", NULL)); | ||
| 1119 | } | 1121 | } |
| 1120 | 1122 | ||
| 1121 | { /** reply **/ | 1123 | { /** reply **/ |
| @@ -1125,14 +1127,16 @@ xs_html *html_entry_controls(snac *snac, const xs_dict *msg, const char *md5) | |||
| 1125 | xs *form_id = xs_fmt("%s_reply_form", md5); | 1127 | xs *form_id = xs_fmt("%s_reply_form", md5); |
| 1126 | xs *redir = xs_fmt("%s_entry", md5); | 1128 | xs *redir = xs_fmt("%s_entry", md5); |
| 1127 | 1129 | ||
| 1128 | xs_html_add(controls, xs_html_tag("p", | 1130 | xs_html_add(controls, xs_html_tag("div", |
| 1131 | xs_html_tag("p", NULL), | ||
| 1129 | html_note(snac, L("Reply..."), | 1132 | html_note(snac, L("Reply..."), |
| 1130 | div_id, form_id, | 1133 | div_id, form_id, |
| 1131 | "", ct, | 1134 | "", ct, |
| 1132 | NULL, NULL, | 1135 | NULL, NULL, |
| 1133 | xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"), | 1136 | xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"), |
| 1134 | xs_stock_false, redir, | 1137 | xs_stock_false, redir, |
| 1135 | id, 0))); | 1138 | id, 0)), |
| 1139 | xs_html_tag("p", NULL)); | ||
| 1136 | } | 1140 | } |
| 1137 | 1141 | ||
| 1138 | return controls; | 1142 | return controls; |
| @@ -1919,13 +1923,15 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t) | |||
| 1919 | xs *dm_form_id = xs_fmt("%s_reply_form", md5); | 1923 | xs *dm_form_id = xs_fmt("%s_reply_form", md5); |
| 1920 | 1924 | ||
| 1921 | xs_html_add(snac_controls, | 1925 | xs_html_add(snac_controls, |
| 1926 | xs_html_tag("p", NULL), | ||
| 1922 | html_note(snac, L("Direct Message..."), | 1927 | html_note(snac, L("Direct Message..."), |
| 1923 | dm_div_id, dm_form_id, | 1928 | dm_div_id, dm_form_id, |
| 1924 | "", "", | 1929 | "", "", |
| 1925 | NULL, actor_id, | 1930 | NULL, actor_id, |
| 1926 | xs_stock_false, "", | 1931 | xs_stock_false, "", |
| 1927 | xs_stock_false, NULL, | 1932 | xs_stock_false, NULL, |
| 1928 | NULL, 0)); | 1933 | NULL, 0), |
| 1934 | xs_html_tag("p", NULL)); | ||
| 1929 | 1935 | ||
| 1930 | xs_html_add(snac_post, snac_controls); | 1936 | xs_html_add(snac_post, snac_controls); |
| 1931 | 1937 | ||