- output_headers(1, 1, 2, 0, 0, 0);
- wprintf("<div id=\"banner\">\n"
- "<TABLE class=\"iconbar_banner\"><tr><td>"
- "<SPAN CLASS=\"titlebar\">");
- wprintf(_("Customize the icon bar"));
- wprintf("</SPAN>"
- "</td></tr></table>\n"
- "</div>\n<div id=\"content\">\n"
- );
-
- wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table class=\"iconbar_background\"><tr><td>");
-
- wprintf("<FORM METHOD=\"POST\" action=\"commit_iconbar\">\n");
-
- wprintf("<CENTER>");
- wprintf(_("Display icons as:"));
- wprintf(" ");
- for (i=0; i<=2; ++i) {
- wprintf("<input type=\"radio\" name=\"ib_displayas\" value=\"%d\"", i);
- if (ib_displayas == i) wprintf(" CHECKED");
- wprintf(">");
- if (i == IB_PICTEXT) wprintf(_("pictures and text"));
- if (i == IB_PICONLY) wprintf(_("pictures only"));
- if (i == IB_TEXTONLY) wprintf(_("text only"));
- wprintf("\n");
- }
- wprintf("<br /><br />\n");
-
- wprintf(_("Select the icons you would like to see displayed "
- "in the 'icon bar' menu on the left side of the "
- "screen."));
- wprintf("</CENTER><br />\n");
-
- wprintf("<TABLE border=0 cellspacing=0 cellpadding=3 width=100%%>\n");
-
- wprintf("<tr BGCOLOR=%s><td>"
- "<input type=\"checkbox\" name=\"ib_logo\" value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" "
- "src=\"image&name=hello\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_logo ? "CHECKED" : ""),
- _("Site logo"),
- _("An icon describing this site")
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_summary\" value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/summscreen_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_summary ? "CHECKED" : ""),
- _("Summary"),
- _("Your summary page")
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_inbox\" value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/privatemess_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_inbox ? "CHECKED" : ""),
- _("Mail (inbox)"),
- _("A shortcut to your email Inbox")
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_contacts\" "
- "value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/viewcontacts_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_contacts ? "CHECKED" : ""),
- _("Contacts"),
- _("Your personal address book")
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_notes\" "
- "value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/storenotes_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_notes ? "CHECKED" : ""),
- _("Notes"),
- _("Your personal notes")
- );
-
-#ifdef WEBCIT_WITH_CALENDAR_SERVICE
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_calendar\" "
- "value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/calarea_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_calendar ? "CHECKED" : ""),
- _("Calendar"),
- _("A shortcut to your personal calendar")
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_tasks\" value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/taskmanag_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_tasks ? "CHECKED" : ""),
- _("Tasks"),
- _("A shortcut to your personal task list")
- );
-#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_rooms\" value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/chatrooms_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_rooms ? "CHECKED" : ""),
- _("Rooms"),
- _("Clicking this icon displays a list of all accessible "
- "rooms (or folders) available.")
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_users\" value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/usermanag_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_users ? "CHECKED" : ""),
- _("Who is online?"),
- _("Clicking this icon displays a list of all users "
- "currently logged in.")
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_chat\" value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/citadelchat_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_chat ? "CHECKED" : ""),
- _("Chat"),
- _("Clicking this icon enters real-time chat mode "
- "with other users in the same room.")
-
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_advanced\" "
- "value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/advanpage2_48x.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_advanced ? "CHECKED" : ""),
- _("Advanced options"),
- _("Access to the complete menu of Citadel functions.")
-
- );
-
- wprintf("<tr bgcolor=%s><td>"
- "<input type=\"checkbox\" name=\"ib_citadel\" "
- "value=\"yes\" %s>"
- "</td><td>"
- "<img border=\"0\" width=\"48\" height=\"48\" "
- "src=\"static/citadel-logo.gif\" alt=\" \">"
- "</td><td>"
- "<b>%s</b><br />"
- "%s"
- "</td></tr>\n",
- ((bar = 1 - bar), (bar ? "\"#CCCCCC\"" : "\"#FFFFFF\"")),
- (ib_citadel ? "CHECKED" : ""),
- _("Citadel logo"),
- _("Displays the 'Powered by Citadel' icon")
- );
-
- wprintf("</table><br />\n"
- "<CENTER>"
- "<input type=\"submit\" name=\"ok_button\" value=\"%s\">"
- " "
- "<input type=\"submit\" name=\"cancel_button\" value=\"%s\">"
- "</CENTER></FORM>\n",
- _("Save changes"),
- _("Cancel")
- );
-
- wprintf("</td></tr></table></div>\n");
- wDumpContent(2);