#include "webcit.h"
#include "webserver.h"
-#include "groupdav.h"
+#include "dav.h"
/*
* Data which gets passed around between the various functions in this module
wc_printf("[");
}
else {
- wc_printf("<a href=\"readfwd?page=%d\">", i);
+ wc_printf("<a href=\"readfwd?go=");
+ urlescputs(ChrPtr(WC->CurRoom.name));
+ wc_printf("?start_reading_at=%ld\">",
+ BBS->msgs[i*Stat->maxmsgs]
+ );
+ /* wc_printf("?page=%d\">", i); */
wc_printf("<span class=\"moreprompt_link\">");
}
if (
wc_printf(_("Last"));
}
else {
- wc_printf("%d", i + 1); // change to one-based for display
+ wc_printf("%d", i + 1); /* change to one-based for display */
}
if (i == BBS->requested_page) {
wc_printf("]");