* Displays and customizes the iconbar.
*/
-#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"
"<li><div align=\"center\">"
"<A HREF=\"http://www.citadel.org\" "
"title=\"Find out more about Citadel\" target=\"aboutcit\">"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "SRC=\"/static/citadel-logo.gif\" ALT=\"CITADEL\">"
- "CITADEL</A>"
+ "<img border=\"0\" "
+ "SRC=\"/static/citadel-logo.gif\" ALT=\"CITADEL\"></a>"
"</div></li>\n"
);
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_displayas != IB_TEXTONLY) {
wprintf("<IMG BORDER=\"0\" WIDTH=\"32\" HEIGHT=\"32\" "
- "SRC=\"/static/savecontact_32x.gif\">");
+ "SRC=\"/static/viewcontacts_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf("Contacts");
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\" "
">"
);
if (ib_users) {
wprintf("<li>"
- "<A HREF=\"/whobbs\" TITLE=\"See who is online right now\" "
+ "<A HREF=\"/who\" TITLE=\"See who is online right now\" "
">"
);
if (ib_displayas != IB_TEXTONLY) {
"<li><div align=\"center\">"
"<A HREF=\"/display_customize_iconbar\" "
"TITLE=\"Customize this menu\" "
- ">customize this menu</A>"
+ ">customize this menu"
"</A></div></li>\n"
);
"VALUE=\"yes\" %s>"
"</TD><TD>"
"<IMG BORDER=\"0\" WIDTH=\"48\" HEIGHT=\"48\" "
- "SRC=\"/static/savecontact_48x.gif\" ALT=\" \">"
+ "SRC=\"/static/viewcontacts_48x.gif\" ALT=\" \">"
"</TD><TD>"
"<B>Contacts</B><br />"
"Your personal address book."
"<INPUT TYPE=\"checkbox\" NAME=\"ib_tasks\" VALUE=\"yes\" %s>"
"</TD><TD>"
"<IMG BORDER=\"0\" WIDTH=\"48\" HEIGHT=\"48\" "
- "SRC=\"/static/taskmanag/48x.gif\" ALT=\" \">"
+ "SRC=\"/static/taskmanag_48x.gif\" ALT=\" \">"
"</TD><TD>"
"<B>Tasks</B><br />"
"A shortcut to your personal task list."
}
}
- set_preference("iconbar", iconbar);
+ set_preference("iconbar", iconbar, 1);
output_headers(1, 1, 0, 0, 0, 0, 0);
wprintf(