int ib_tasks = 0; /* Tasks icon */
int ib_rooms = 1; /* Rooms icon */
int ib_users = 1; /* Users icon */
+ int ib_chat = 0; /* Chat icon */
int ib_advanced = 1; /* Advanced Options icon */
int ib_logoff = 1; /* Logoff button */
int ib_citadel = 1; /* 'Powered by Citadel' logo */
if (!strcasecmp(key, "ib_tasks")) ib_tasks = atoi(value);
if (!strcasecmp(key, "ib_rooms")) ib_rooms = atoi(value);
if (!strcasecmp(key, "ib_users")) ib_users = atoi(value);
+ if (!strcasecmp(key, "ib_chat")) ib_chat = atoi(value);
if (!strcasecmp(key, "ib_advanced")) ib_advanced = atoi(value);
if (!strcasecmp(key, "ib_logoff")) ib_logoff = atoi(value);
if (!strcasecmp(key, "ib_citadel")) ib_citadel = atoi(value);
-
}
-
output_headers(11);
do_template("beginbox_nt");
wprintf("</A></SPAN>\n");
}
+ if (ib_chat) {
+ wprintf("<SPAN CLASS=\"iconbar_link\">"
+ "<A HREF=\"/chat\" TITLE=\"Chat with other users in this room\" "
+ "TARGET=\"workspace\">"
+ );
+ if (ib_displayas != IB_TEXTONLY) {
+ wprintf("<IMG BORDER=\"0\" WIDTH=\"32\" HEIGHT=\"32\" "
+ "SRC=\"/static/chat-icon.gif\"><BR>");
+ }
+ if (ib_displayas != IB_PICONLY) {
+ wprintf("Chat<BR>");
+ }
+ wprintf("</A></SPAN>\n");
+ }
+
if (ib_advanced) {
wprintf("<SPAN CLASS=\"iconbar_link\">"
"<A HREF=\"/display_main_menu\" "
int ib_tasks = 0; /* Tasks icon */
int ib_rooms = 1; /* Rooms icon */
int ib_users = 1; /* Users icon */
+ int ib_chat = 0; /* Chat icon */
int ib_advanced = 1; /* Advanced Options icon */
int ib_logoff = 1; /* Logoff button */
int ib_citadel = 1; /* 'Powered by Citadel' logo */
if (!strcasecmp(key, "ib_tasks")) ib_tasks = atoi(value);
if (!strcasecmp(key, "ib_rooms")) ib_rooms = atoi(value);
if (!strcasecmp(key, "ib_users")) ib_users = atoi(value);
+ if (!strcasecmp(key, "ib_chat")) ib_chat = atoi(value);
if (!strcasecmp(key, "ib_advanced")) ib_advanced = atoi(value);
if (!strcasecmp(key, "ib_logoff")) ib_logoff = atoi(value);
if (!strcasecmp(key, "ib_citadel")) ib_citadel = atoi(value);
-
}
output_headers(3);
);
wprintf("<TR BGCOLOR=\"#CCCCCC\"><TD>"
+ "<INPUT TYPE=\"checkbox\" NAME=\"ib_chat\" VALUE=\"yes\" %s>"
+ "</TD><TD>"
+ "<IMG BORDER=\"0\" WIDTH=\"48\" HEIGHT=\"48\" "
+ "SRC=\"/static/chat-icon.gif\" ALT=\" \">"
+ "</TD><TD>"
+ "<B>Chat</B><BR>"
+ "Clicking this icon enters real-time chat mode "
+ "with other users in the same room."
+ "</TD></TR>\n",
+ (ib_chat ? "CHECKED" : "")
+ );
+
+ wprintf("<TR><TD>"
"<INPUT TYPE=\"checkbox\" NAME=\"ib_advanced\" "
"VALUE=\"yes\" %s>"
"</TD><TD>"
(ib_advanced ? "CHECKED" : "")
);
- wprintf("<TR><TD>"
+ wprintf("<TR BGCOLOR=\"#CCCCCC\"><TD>"
"<INPUT TYPE=\"checkbox\" NAME=\"ib_logoff\" "
"VALUE=\"yes\" %s>"
"</TD><TD>"
"</TD></TR>\n",
(ib_logoff ? "CHECKED" : "")
);
- wprintf("<TR BGCOLOR=\"#CCCCCC\"><TD>"
+ wprintf("<TR><TD>"
"<INPUT TYPE=\"checkbox\" NAME=\"ib_citadel\" "
"VALUE=\"yes\" %s>"
"</TD><TD>"
"ib_tasks",
"ib_rooms",
"ib_users",
+ "ib_chat",
"ib_advanced",
"ib_logoff",
"ib_citadel"