#include "webcit.h"
#include "webserver.h"
-#include "groupdav.h"
+#include "dav.h"
/*
for (i=1; i<bp->num_msgs; ++i) {
read_message(WC->WBuf, HKEY("view_blog_comment"), bp->msgs[i], NULL, &Mime);
}
- do_template("blog_comment_box");
+ do_template("view_blog_comment_box");
}
else {
void **ViewSpecific,
long oper,
char *cmd,
- long len)
+ long len,
+ char *filter,
+ long flen)
{
HashList *BLOG = NewHash(1, NULL);
*ViewSpecific = BLOG;
}
bp->msgs[bp->num_msgs++] = Msg->msgnum;
}
+ else {
+ syslog(LOG_DEBUG, "** comment %ld is unparented", Msg->msgnum);
+ }
return 200;
}
* which they point are still owned by the hash list.
*/
if (num_blogposts > 0) {
+ int start_here = 0;
/* Sort newest-to-oldest */
qsort(blogposts, num_blogposts, sizeof(void *), blogview_sortfunc);
/* allow the user to select a starting point in the list */
- int start_here = 0;
for (i=0; i<num_blogposts; ++i) {
if (blogposts[i]->top_level_id == firstp) {
start_here = i;
VIEW_BLOG,
blogview_GetParamsGetServerCall,
NULL,
+ NULL,
NULL,
blogview_LoadMsgFromServer,
blogview_render,