summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar default2023-11-29 10:14:37 +0100
committerGravatar default2023-11-29 10:14:37 +0100
commitb1a9279f85a4a8201bbc27d0242712f6ccebb3b6 (patch)
tree386934e0bf82153be49545e94a0633e3889935e8 /main.c
parentThe "More..." links in html_timeline() use now xs_html. (diff)
downloadsnac2-b1a9279f85a4a8201bbc27d0242712f6ccebb3b6.tar.gz
snac2-b1a9279f85a4a8201bbc27d0242712f6ccebb3b6.tar.xz
snac2-b1a9279f85a4a8201bbc27d0242712f6ccebb3b6.zip
html_timeline() now uses xs_html.
Diffstat (limited to 'main.c')
-rw-r--r--main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/main.c b/main.c
index 67b44a6..756323c 100644
--- a/main.c
+++ b/main.c
@@ -209,19 +209,6 @@ int main(int argc, char *argv[])
209 srv_free(); 209 srv_free();
210#endif 210#endif
211 211
212 {
213 xs_html *note = html_note(&snac, "Note...",
214 "DIV_ID", "FORM_ID",
215 "TEXTAREA_PLACEHOLDER", "TEXTAREA_CONTENT",
216 "EDIT_ID", "ACTOR_ID",
217 xs_stock_false, "CW_TEXT",
218 xs_stock_false, "REDIR",
219 "IN_REPLY_TO", 1);
220
221 xs *s1 = xs_html_render(note);
222 printf("\n%s\n", s1);
223 }
224
225 xs *idx = xs_fmt("%s/private.idx", snac.basedir); 212 xs *idx = xs_fmt("%s/private.idx", snac.basedir);
226 xs *list = index_list_desc(idx, 0, 256); 213 xs *list = index_list_desc(idx, 0, 256);
227 xs *tl = timeline_top_level(&snac, list); 214 xs *tl = timeline_top_level(&snac, list);