/*
* $Id$
+ *
+ * Displays and customizes the iconbar.
*/
-/**
- * \defgroup IconBar Displays and customizes the iconbar.
- * \ingroup MenuInfrastructure
- */
-/*@{*/
+
#include "webcit.h"
if (ib_citadel) if (ib_displayas != IB_TEXTONLY) wprintf(
"<div class=\"logo_citadel\"> "
"<a href=\"http://www.citadel.org\" "
- "title=\"%s\"> "
+ "title=\"%s\" target=\"aboutcit\"> "
"<img "
"src=\"static/citadel-logo.gif\" alt=\"%s\"></a> "
"</div>\n",
">", _("Your summary page")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/summscreen_32x.gif\" alt=\"%s\">", _("Summary"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/summscreen_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Summary"));
_("Go to your email inbox")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/privatemess_32x.gif\" alt=\"%s\">", _("Mail"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/privatemess_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Mail"));
_("Go to your personal calendar")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/calarea_32x.gif\" alt=\"%s\">", _("Calendar"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/calarea_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Calendar"));
_("Go to your personal address book")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/viewcontacts_32x.gif\" alt=\"%s\">", _("Contacts"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/viewcontacts_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Contacts"));
_("Go to your personal notes")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/storenotes_32x.gif\" alt=\"%s\">", _("Notes"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/storenotes_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Notes"));
_("Go to your personal task list")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/taskmanag_32x.gif\" alt=\"%s\">", _("Tasks"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/taskmanag_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Tasks"));
_("List all of your accessible rooms")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/chatrooms_32x.gif\" alt=\"%s\">", _("Rooms"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/chatrooms_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Rooms"));
_("See who is online right now")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/usermanag_32x.gif\" alt=\"%s\">", _("Who is online?"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/usermanag_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Who is online?"));
">"
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/citadelchat_32x.gif\" alt=\"%s\">", _("Chat"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/citadelchat_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Chat"));
_("Advanced Options Menu: Advanced Room commands, Account Info, and Chat")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/advanpage2_32x.gif\" alt=\"%s\">", _("Advanced"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/advanpage2_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Advanced"));
_("Room and system administration functions")
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/advanpage2_32x.gif\" alt=\"%s\">", _("Administration"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/advanpage2_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Administration"));
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
- "src=\"static/logoff_32x.gif\" alt=\"%s\">", _("Log off"));
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
+ "src=\"static/logoff_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
wprintf(_("Log off"));
if (ib_citadel) if (ib_displayas != IB_TEXTONLY) wprintf(
"<div class=\"logo_citadel\"> "
"<a href=\"http://www.citadel.org\" "
- "title=\"%s\"> "
+ "title=\"%s\" target=\"aboutcit\"> "
"<img "
"src=\"static/citadel-logo.gif\" alt=\"%s\"></a> "
"</div>\n",
);
if (ib_displayas != IB_TEXTONLY) {
- wprintf("<img width=\"32\" height=\"32\" "
+ wprintf("<img border=\"0\" width=\"32\" height=\"32\" "
"src=\"static/logoff_32x.gif\">");
}
if (ib_displayas != IB_PICONLY) {
_("Your personal notes")
);
-#ifdef WEBCIT_WITH_CALENDAR_SERVICE
bar = 1 - bar;
wprintf("<tr class=\"%s\"><td>"
"<input type=\"radio\" name=\"ib_calendar\" value=\"yes\" %s> %s "
_("Tasks"),
_("A shortcut to your personal task list")
);
-#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
bar = 1 - bar;
wprintf("<tr class=\"%s\"><td>"
"<input type=\"radio\" name=\"ib_citadel\" value=\"yes\" %s> %s "
"<input type=\"radio\" name=\"ib_citadel\" value=\"no\" %s> %s <br />"
"</td><td>"
- "<img width=\"48\" height=\"48\" "
+ "<img border=\"0\" width=\"48\" height=\"48\" "
"src=\"static/citadel-logo.gif\" alt=\" \">"
"</td><td>"
"<b>%s</b><br />"
for (i=0; i<(sizeof(boxen)/sizeof(char *)); ++i) {
char *Val;
- if (!strcasecmp(bstr(boxen[i]), "yes")) {
+ if (!strcasecmp(BSTR(boxen[i]), "yes")) {
Val = "1";
}
- else if (!strcasecmp(bstr(boxen[i]), "yeslist")) {
+ else if (!strcasecmp(BSTR(boxen[i]), "yeslist")) {
Val = "2";
}
else {