$Log$
+Revision 621.4 2005/08/12 01:01:27 ajc
+* The iconbar and summary screen now connect to the user's primary
+ groupware rooms using the new macros: _CALENDAR_, _TASKS_, _NOTES_,
+ and _CONTACTS_, in order to facilitate those rooms potentially having
+ different names on some hosts (such as, perhaps, the same names but in
+ different languages).
+
Revision 621.3 2005/08/11 23:15:03 ajc
* Added debian build directory (submitted by W. Goesgens)
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
if (ib_calendar) {
wprintf("<li>"
- "<A HREF=\"/dotgoto?room=Calendar\" "
+ "<A HREF=\"/dotgoto?room=_CALENDAR_\" "
"TITLE=\"Go to your personal calendar\" "
">"
);
if (ib_contacts) {
wprintf("<li>"
- "<A HREF=\"/dotgoto?room=Contacts\" "
+ "<A HREF=\"/dotgoto?room=_CONTACTS_\" "
"TITLE=\"Go to your personal address book\" "
">"
);
if (ib_notes) {
wprintf("<li>"
- "<A HREF=\"/dotgoto?room=Notes\" "
+ "<A HREF=\"/dotgoto?room=_NOTES_\" "
"TITLE=\"Go to your personal notes\" "
">"
);
if (ib_tasks) {
wprintf("<li>"
- "<A HREF=\"/dotgoto?room=Tasks\" "
+ "<A HREF=\"/dotgoto?room=_TASKS_\" "
"TITLE=\"Go to your personal task list\" "
">"
);
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 {