* Displays the "Summary Page"
*/
-#include <ctype.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/socket.h>
-#include <sys/time.h>
-#include <limits.h>
-#include <netinet/in.h>
-#include <netdb.h>
-#include <string.h>
-#include <time.h>
-#include <pwd.h>
-#include <errno.h>
-#include <stdarg.h>
-#include <pthread.h>
-#include <signal.h>
#include "webcit.h"
/*
svprintf("BOXTITLE", WCS_STRING, "Tasks");
do_template("beginbox");
#ifdef WEBCIT_WITH_CALENDAR_SERVICE
- gotoroom("Tasks");
- if (strcasecmp(WC->wc_roomname, "Tasks")) {
+ gotoroom("_TASKS_");
+ if (WC->wc_view != VIEW_TASKS) {
num_msgs = 0;
}
else {
svprintf("BOXTITLE", WCS_STRING, "Today on your calendar");
do_template("beginbox");
#ifdef WEBCIT_WITH_CALENDAR_SERVICE
- gotoroom("Calendar");
- if (strcasecmp(WC->wc_roomname, "Calendar")) {
+ gotoroom("_CALENDAR_");
+ if (WC->wc_view != VIEW_CALENDAR) {
num_msgs = 0;
}
else {