From ee8121a2817b5a36b314a6c55ecba5d83fef3bad Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 4 Nov 2005 04:39:09 +0000 Subject: [PATCH] lower case tags --- webcit/auth.c | 2 +- webcit/calendar.c | 26 ++++++------- webcit/calendar_view.c | 28 +++++++------- webcit/event.c | 2 +- webcit/floors.c | 8 ++-- webcit/graphics.c | 2 +- webcit/html2html.c | 6 +-- webcit/iconbar.c | 84 +++++++++++++++++++++--------------------- webcit/inetconf.c | 4 +- webcit/listsub.c | 6 +-- webcit/mainmenu.c | 58 ++++++++++++++--------------- webcit/messages.c | 24 ++++++------ webcit/netconf.c | 16 ++++---- webcit/notes.c | 2 +- webcit/paging.c | 12 +++--- webcit/preferences.c | 2 +- webcit/roomops.c | 84 +++++++++++++++++++++--------------------- webcit/setup.c | 2 +- webcit/setup_wizard.c | 2 +- webcit/siteconfig.c | 38 +++++++++---------- webcit/summary.c | 4 +- webcit/sysmsgs.c | 2 +- webcit/useredit.c | 18 ++++----- webcit/userlist.c | 10 ++--- webcit/vcard_edit.c | 2 +- webcit/webcit.c | 4 +- webcit/who.c | 2 +- 27 files changed, 225 insertions(+), 225 deletions(-) diff --git a/webcit/auth.c b/webcit/auth.c index 94182798b..92b0e813e 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -326,7 +326,7 @@ void validate(void) wprintf(_("Select access level for this user:")); wprintf("
\n"); for (a = 0; a <= 6; ++a) { - wprintf("%s   \n", a, axdefs[a]); diff --git a/webcit/calendar.c b/webcit/calendar.c index 7016f5456..1836a2fea 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -93,7 +93,7 @@ void cal_process_object(icalcomponent *cal, case ICAL_METHOD_REPLY: wprintf("\n" "" + "src=\"/static/calarea_48x.gif\">" "  " ""); wprintf(_("Attendee's reply to your invitation")); @@ -102,7 +102,7 @@ void cal_process_object(icalcomponent *cal, case ICAL_METHOD_PUBLISH: wprintf("\n" "" + "src=\"/static/calarea_48x.gif\">" "  " ""); wprintf(_("Published event")); @@ -249,11 +249,11 @@ void cal_process_object(icalcomponent *cal, /* Display the Accept/Decline buttons */ wprintf("How would you like to respond to this invitation?" "" - "%s" + "%s" " | " - "%s" + "%s" " | " - "%s" + "%s" "\n", msgnum, cal_partnum, _("Accept"), msgnum, cal_partnum, _("Tentative"), @@ -348,7 +348,7 @@ void respond_to_request(void) { if (buf[0] == '2') { wprintf("
" - "" + "" "" ); if (!strcasecmp(bstr("sc"), "accept")) { @@ -368,11 +368,11 @@ void respond_to_request(void) { wprintf(_("A reply has been sent to the meeting organizer.")); wprintf("
\n"); } else { - wprintf("" + wprintf("" "%s\n", &buf[4]); } - wprintf("wc_roomname); wprintf("\">
"); wprintf(_("Return to messages")); @@ -409,7 +409,7 @@ void handle_rsvp(void) { if (buf[0] == '2') { wprintf("
" - "" + "" "" ); if (!strcasecmp(bstr("sc"), "update")) { @@ -422,11 +422,11 @@ void handle_rsvp(void) { wprintf("
\n" ); } else { - wprintf("" + wprintf("" "%s\n", &buf[4]); } - wprintf("
wc_roomname); wprintf("\">
"); wprintf(_("Return to messages")); @@ -505,7 +505,7 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum) { output_headers(1, 1, 2, 0, 0, 0); wprintf("
\n" "" - "" + "" ""); /* Today's date */ @@ -423,9 +423,9 @@ void calendar_day_view(int year, int month, int day) { /* Right arrow */ wprintf(""); @@ -653,12 +653,12 @@ void do_tasks_view(void) { p = icalcomponent_get_first_property(WC->disp_cal[i].cal, ICAL_SUMMARY_PROPERTY); - wprintf("disp_cal[i].cal_msgnum ); urlescputs(WC->wc_roomname); wprintf("\">"); wprintf(" "); + "src=\"/static/taskmanag_16x.gif\" BORDER=0> "); if (p != NULL) { escputs((char *)icalproperty_get_comment(p)); } diff --git a/webcit/event.c b/webcit/event.c index 3fe8a01af..ea1ef3994 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -118,7 +118,7 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum) wprintf("SEQUENCE == %d
\n", sequence); *************************************************************/ - wprintf("\n"); + wprintf("\n"); wprintf("\n", msgnum); diff --git a/webcit/floors.c b/webcit/floors.c index 7f63dfb05..0813efac6 100644 --- a/webcit/floors.c +++ b/webcit/floors.c @@ -71,20 +71,20 @@ void display_floorconfig(char *prepend_html) wprintf("
"); wprintf("" - "
"); wprintf(_("Edit task")); wprintf("" @@ -516,7 +516,7 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum) { wprintf("
" "
"); - wprintf("
\n"); + wprintf("\n"); wprintf("\n", msgnum); diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 64283d351..4d05750e6 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -79,7 +79,7 @@ void calendar_month_view_display_events(time_t thetime) { } wprintf("" - "", + "", WC->disp_cal[i].cal_msgnum, bstr("calview"), bstr("year"), @@ -149,9 +149,9 @@ void calendar_month_view(int year, int month, int day) { wprintf("
"); localtime_r(&previous_month, &tm); - wprintf("", + wprintf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wprintf("\n"); + wprintf("\n"); wprintf("  " "" @@ -160,9 +160,9 @@ void calendar_month_view(int year, int month, int day) { "  ", months[month-1], year); localtime_r(&next_month, &tm); - wprintf("", + wprintf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wprintf("\n"); + wprintf("\n"); wprintf("
\n"); @@ -192,7 +192,7 @@ void calendar_month_view(int year, int month, int day) { if ((i==0) || (tm.tm_mday == 1)) { wprintf("%s ", months[tm.tm_mon]); } - wprintf("" + wprintf("" "%d
", tm.tm_year + 1900, tm.tm_mon + 1, @@ -280,7 +280,7 @@ void calendar_day_view_display_events(int year, int month, } wprintf("" - "", + "", WC->disp_cal[i].cal_msgnum, year, month, day ); @@ -361,7 +361,7 @@ void calendar_day_view(int year, int month, int day) { for (hour = daystart; hour <= dayend; ++hour) { /* could do HEIGHT=xx */ wprintf("
"); - wprintf("", year, month, day, hour ); @@ -408,9 +408,9 @@ void calendar_day_view(int year, int month, int day) { /* Left arrow */ wprintf(""); - wprintf("", + wprintf("", yesterday.year, yesterday.month, yesterday.day); - wprintf(""); + wprintf(""); wprintf(""); - wprintf("", + wprintf("", tomorrow.year, tomorrow.month, tomorrow.day); - wprintf("\n"); wprintf("
%d", floornum); if (refcount == 0) { wprintf("" - "" + "" "", floornum); wprintf(_("(delete floor)")); wprintf("
"); } wprintf("" - "", floornum); wprintf(_("(edit graphic)")); wprintf("
"); wprintf("
" - "" + "" "" " " + "" "\n" "\n"); - wprintf("\n", uplurl); wprintf(""); if (ib_displayas != IB_TEXTONLY) { wprintf("\" \"\n" + "HEIGHT=\"32\" src=\"/image&name=hello\" ALT=\" \">\n" ); } wprintf("\n"); @@ -76,10 +76,10 @@ void do_iconbar(void) { if (ib_citadel) if (ib_displayas != IB_TEXTONLY) wprintf( "
  • " - "" "\"%s\"" + "src=\"/static/citadel-logo.gif\" ALT=\"%s\">" "
  • \n", _("Find out more about Citadel"), _("CITADEL") @@ -87,13 +87,13 @@ void do_iconbar(void) { if (ib_summary) { - wprintf("
  • ", _("Your summary page") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/summscreen_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Summary")); @@ -103,14 +103,14 @@ void do_iconbar(void) { if (ib_inbox) { wprintf("
  • " - "", _("Go to your email inbox") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/privatemess_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Mail")); @@ -128,14 +128,14 @@ void do_iconbar(void) { if (ib_calendar) { wprintf("
  • " - "", _("Go to your personal calendar") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/calarea_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Calendar")); @@ -145,14 +145,14 @@ void do_iconbar(void) { if (ib_contacts) { wprintf("
  • " - "", _("Go to your personal address book") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/viewcontacts_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Contacts")); @@ -162,14 +162,14 @@ void do_iconbar(void) { if (ib_notes) { wprintf("
  • " - "", _("Go to your personal notes") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/storenotes_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Notes")); @@ -179,14 +179,14 @@ void do_iconbar(void) { if (ib_tasks) { wprintf("
  • " - "", _("Go to your personal task list") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/taskmanag_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Tasks")); @@ -196,12 +196,12 @@ void do_iconbar(void) { if (ib_rooms) { wprintf("
  • " - "", + "", _("List all of your accessible rooms") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/chatrooms_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Rooms")); @@ -211,13 +211,13 @@ void do_iconbar(void) { if (ib_users) { wprintf("
  • " - "", _("See who is online right now") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/usermanag_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Who is online?")); @@ -227,7 +227,7 @@ void do_iconbar(void) { if (ib_chat) { wprintf("
  • " - ""); + "src=\"/static/citadelchat_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Chat")); @@ -245,14 +245,14 @@ void do_iconbar(void) { if (ib_advanced) { wprintf("
  • " - "", _("Advanced Options Menu: Advanced Room commands, Account Info, and Chat") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/advanpage2_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Advanced")); @@ -262,14 +262,14 @@ void do_iconbar(void) { if ((WC->axlevel >= 6) || (WC->is_room_aide)) { wprintf("
  • " - "", _("Room and system administration functions") ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/advanpage2_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Administration")); @@ -279,7 +279,7 @@ void do_iconbar(void) { if (1) { wprintf("
  • " - "", _("Log off"), _("Log off now?") @@ -287,7 +287,7 @@ void do_iconbar(void) { ); if (ib_displayas != IB_TEXTONLY) { wprintf(""); + "src=\"/static/logoff_32x.gif\">"); } if (ib_displayas != IB_PICONLY) { wprintf(_("Log off")); @@ -297,7 +297,7 @@ void do_iconbar(void) { wprintf( "
  • \n", @@ -373,7 +373,7 @@ void display_customize_iconbar(void) { wprintf("
    " "
    "); - wprintf("\n"); + wprintf("\n"); wprintf("
    "); wprintf(_("Display icons as:")); @@ -400,7 +400,7 @@ void display_customize_iconbar(void) { "" "
    " "\" \"" + "src=\"/image&name=hello\" ALT=\" \">" "" "%s
    " "%s" @@ -415,7 +415,7 @@ void display_customize_iconbar(void) { "" "
    " "\" \"" + "src=\"/static/summscreen_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -430,7 +430,7 @@ void display_customize_iconbar(void) { "" "
    " "\" \"" + "src=\"/static/privatemess_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -446,7 +446,7 @@ void display_customize_iconbar(void) { "VALUE=\"yes\" %s>" "
    " "\" \"" + "src=\"/static/viewcontacts_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -462,7 +462,7 @@ void display_customize_iconbar(void) { "VALUE=\"yes\" %s>" "
    " "\" \"" + "src=\"/static/storenotes_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -479,7 +479,7 @@ void display_customize_iconbar(void) { "VALUE=\"yes\" %s>" "
    " "\" \"" + "src=\"/static/calarea_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -494,7 +494,7 @@ void display_customize_iconbar(void) { "" "
    " "\" \"" + "src=\"/static/taskmanag_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -510,7 +510,7 @@ void display_customize_iconbar(void) { "" "
    " "\" \"" + "src=\"/static/chatrooms_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -526,7 +526,7 @@ void display_customize_iconbar(void) { "" "
    " "\" \"" + "src=\"/static/usermanag_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -542,7 +542,7 @@ void display_customize_iconbar(void) { "" "
    " "\" \"" + "src=\"/static/citadelchat_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -560,7 +560,7 @@ void display_customize_iconbar(void) { "VALUE=\"yes\" %s>" "
    " "\" \"" + "src=\"/static/advanpage2_48x.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -577,7 +577,7 @@ void display_customize_iconbar(void) { "VALUE=\"yes\" %s>" "
    " "\" \"" + "src=\"/static/citadel-logo.gif\" ALT=\" \">" "" "%s
    " "%s" @@ -645,7 +645,7 @@ void commit_iconbar(void) { output_headers(1, 1, 0, 0, 0, 0); wprintf( "
    \n"); } } - wprintf("\n" + wprintf("\n" "
    " - "" + "" " "); wprintf(_("Your icon bar has been updated. Please select any of its " "choices to continue.")); diff --git a/webcit/inetconf.c b/webcit/inetconf.c index 69d8e6a05..c96537232 100644 --- a/webcit/inetconf.c +++ b/webcit/inetconf.c @@ -111,7 +111,7 @@ void display_inetconf(void) extract_token(buf, ic_spec[which], i, '\n', sizeof buf); escputs(buf); wprintf("" - "", @@ -121,7 +121,7 @@ void display_inetconf(void) wprintf("
    " "" "", ic_keyword[which]); diff --git a/webcit/listsub.c b/webcit/listsub.c index 87bddb4d2..135644b3e 100644 --- a/webcit/listsub.c +++ b/webcit/listsub.c @@ -78,7 +78,7 @@ void do_listsub(void) "e-mailed to you and your subscription will " "be confirmed.
    \n"), escaped_email, escaped_room); - wprintf("%s\n", _("Go back...")); + wprintf("%s\n", _("Go back...")); } else { wprintf("ERROR: %s" @@ -115,7 +115,7 @@ void do_listsub(void) "Please click on the link which is being " "e-mailed to you and your unsubscription will " "be confirmed.
    \n" - "Back...\n" + "Back...\n" ); } else { @@ -158,7 +158,7 @@ void do_listsub(void) * Any other (invalid) command causes the form to be displayed */ else { -FORM: wprintf("\n" +FORM: wprintf("\n" "\n" ); diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index 2332cc045..f615df1d6 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -26,13 +26,13 @@ void display_main_menu(void) "" "
    "); /* start of first column */ - wprintf(""); + wprintf(""); wprintf(_("List known rooms")); wprintf("
    "); wprintf(_("Where can I go from here?")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Goto next room")); wprintf("
    " @@ -40,7 +40,7 @@ void display_main_menu(void) wprintf(_("...with unread messages")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Skip to next room")); wprintf("
    " @@ -50,7 +50,7 @@ void display_main_menu(void) if ((strlen(WC->ugname) > 0) && (strcasecmp(WC->ugname, WC->wc_roomname))) { wprintf("
    " - "" + "" ""); wprintf(_("Ungoto")); wprintf("
    " @@ -61,7 +61,7 @@ void display_main_menu(void) wprintf("
    \n"); /* start of second column */ - wprintf("" + wprintf("" ""); wprintf(_("Read new messages")); wprintf("
    " @@ -69,7 +69,7 @@ void display_main_menu(void) wprintf(_("...in this room")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Read all messages")); wprintf("
    " @@ -77,7 +77,7 @@ void display_main_menu(void) wprintf(_("...old and new")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Enter a message")); wprintf("
    " @@ -87,7 +87,7 @@ void display_main_menu(void) wprintf("
    "); /* start of third column */ - wprintf("" + wprintf("" ""); wprintf(_("Summary page")); wprintf("
    " @@ -95,7 +95,7 @@ void display_main_menu(void) wprintf(_("Summary of my account")); wprintf("
    \n"); - wprintf("\n" + wprintf("\n" ""); wprintf(_("User list")); wprintf("
    " @@ -103,7 +103,7 @@ void display_main_menu(void) wprintf(_("(all registered users)")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Log off")); wprintf("
    " @@ -120,27 +120,27 @@ void display_main_menu(void) svprintf("BOXTITLE", WCS_STRING, "Your info"); do_template("beginbox"); - wprintf("" + wprintf("" ""); wprintf(_("Change your preferences and settings")); wprintf("
    \n"); - wprintf("
    " + wprintf("" ""); wprintf(_("Update your contact information")); wprintf("
    \n"); - wprintf("
    " + wprintf("" ""); wprintf(_("Change your password")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Enter your 'bio'")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Edit your online photo")); wprintf("\n"); @@ -153,28 +153,28 @@ void display_main_menu(void) do_template("beginbox"); if ((WC->axlevel >= 6) || (WC->is_room_aide)) { - wprintf("" + wprintf("" ""); wprintf(_("Edit or delete this room")); wprintf("
    \n"); } - wprintf("" + wprintf("" ""); wprintf(_("Go to a 'hidden' room")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Create a new room")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Zap (forget) this room (%s)"), WC->wc_roomname); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("List all forgotten rooms")); wprintf("\n"); @@ -207,17 +207,17 @@ void display_aide_menu(void) svprintf("BOXTITLE", WCS_STRING, _("Global Configuration")); do_template("beginbox"); - wprintf("" + wprintf("" ""); wprintf(_("Edit site-wide configuration")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Domain names and Internet mail configuration")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Configure replication with other Citadel servers")); wprintf("\n"); @@ -229,12 +229,12 @@ void display_aide_menu(void) svprintf("BOXTITLE", WCS_STRING, _("User account management")); do_template("beginbox"); - wprintf("" + wprintf("" ""); wprintf(_("Add, change, delete user accounts")); wprintf("
    \n"); - wprintf("" + wprintf("" ""); wprintf(_("Validate new users")); wprintf("
    \n"); @@ -244,7 +244,7 @@ void display_aide_menu(void) svprintf("BOXTITLE", WCS_STRING, _("Rooms and Floors")); do_template("beginbox"); - wprintf("" + wprintf("" ""); wprintf(_("Add, change, or delete floors")); wprintf("\n"); @@ -282,7 +282,7 @@ void display_generic(void) "then this screen will not be of much use to you.")); wprintf("
    \n"); - wprintf("\n"); + wprintf("\n"); wprintf(_("Enter command:")); wprintf("

    \n"); @@ -356,8 +356,8 @@ void do_generic(void) free(junk); } wprintf("
    "); - wprintf("Enter another command
    \n"); - wprintf("Return to menu\n"); + wprintf("Enter another command
    \n"); + wprintf("Return to menu\n"); do_template("endbox"); wDumpContent(1); } diff --git a/webcit/messages.c b/webcit/messages.c index 3c4a9b3e6..db4115d07 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -162,7 +162,7 @@ char buf[]; urlbuf[end - start] = 0; strncpy(outbuf, buf, start); - sprintf(&outbuf[start], "%cA HREF=%c%s%c TARGET=%c%s%c%c%s%c/A%c", + sprintf(&outbuf[start], "%ca href=%c%s%c TARGET=%c%s%c%c%s%c/A%c", LB, QU, urlbuf, QU, QU, TARGET, QU, RB, urlbuf, LB, RB); strcat(outbuf, &buf[end]); if ( strlen(outbuf) < 250 ) @@ -342,7 +342,7 @@ void display_parsed_vcard(struct vCard *v, int full) { else if (!strcasecmp(firsttoken, "email")) { if (strlen(mailto) > 0) strcat(mailto, "
    "); strcat(mailto, - "" "
    " - "" + "" ""); escputs(displayname); wprintf(""); @@ -580,7 +580,7 @@ void read_message(long msgnum, int printable_view, char *section) { if (!strncasecmp(buf, "from=", 5)) { strcpy(from, &buf[5]); wprintf(_("from ")); - wprintf("", + "", msgnum, mime_partnum, mime_filename); } else if ( (!strcasecmp(mime_disposition, "attachment")) || (!strcasecmp(mime_disposition, "inline")) ) { snprintf(&mime_http[strlen(mime_http)], (sizeof(mime_http) - strlen(mime_http) - 1), - "" - "\n" "%s (%s, %d bytes)
    \n", msgnum, mime_partnum, mime_filename, @@ -944,7 +944,7 @@ void read_message(long msgnum, int printable_view, char *section) { || (!strcasecmp(&WC->wc_roomname[11], USERCONFIGROOM)) || (WC->wc_view == VIEW_ADDRESSBOOK) ) { - wprintf("", msgnum, vcard_partnum); wprintf("[%s]", _("edit")); @@ -1412,7 +1412,7 @@ void display_addressbook(long msgnum, char alpha) { || (!strcasecmp(&WC->wc_roomname[11], USERCONFIGROOM)) || (WC->wc_view == VIEW_ADDRESSBOOK) ) { - wprintf("", msgnum, vcard_partnum); wprintf("[%s]", _("edit")); @@ -1563,7 +1563,7 @@ void do_addrbook_view(struct addrbookent *addrbook, int num_ab) { wprintf("Page: "); for (i=0; i<=num_pages; ++i) { if (i != page) { - wprintf("", i); + wprintf("", i); } else { wprintf(""); @@ -1605,7 +1605,7 @@ void do_addrbook_view(struct addrbookent *addrbook, int num_ab) { wprintf("
    "); - wprintf("", bstr("alpha")); vcard_n_prettyize(addrbook[i].ab_name); @@ -2737,7 +2737,7 @@ void confirm_move_msg(void) wprintf(_("Move this message to:")); wprintf("
    \n"); - wprintf("\n"); + wprintf("\n"); wprintf("\n", bstr("msgid")); wprintf("
    \n"); wprintf("\n
    \n"); - wprintf("\n"); + wprintf("\n"); wprintf("
    \n"); wprintf("", _("Node name")); wprintf("\n"); @@ -113,7 +113,7 @@ void display_edit_node(void) extract_token(cport, buf, 3, '|', sizeof cport); if (!strcasecmp(node, cnode)) { - wprintf("\n"); + wprintf("\n"); wprintf("
    %s
    \n"); wprintf(""); - wprintf(""); - wprintf("
    "); wprintf(_("Node name")); @@ -167,7 +167,7 @@ void display_netconf(void) wprintf("\n
    \n"); wprintf("
    "); - wprintf(""); + wprintf(""); wprintf(_("Add a new node")); wprintf("
    \n"); wprintf("
    "); @@ -186,12 +186,12 @@ void display_netconf(void) wprintf("
    "); escputs(node); wprintf(""); wprintf(_("(Edit)")); wprintf(""); wprintf(_("(Delete)")); @@ -223,12 +223,12 @@ void display_confirm_delete_node(void) wprintf(""); escputs(node); wprintf("?
    \n"); - wprintf("
    "); wprintf(_("Yes")); wprintf("   "); - wprintf(""); + wprintf(""); wprintf(_("No")); wprintf("
    \n"); wDumpContent(1); @@ -287,7 +287,7 @@ void add_node(void) if (buf[0] == '1') { output_headers(1, 1, 0, 0, 0, 0); server_to_text(); - wprintf(""); + wprintf(""); wprintf(_("Back to menu")); wprintf("\n"); wDumpContent(1); diff --git a/webcit/notes.c b/webcit/notes.c index 9cea7d21a..24b25ab27 100644 --- a/webcit/notes.c +++ b/webcit/notes.c @@ -15,7 +15,7 @@ void display_note(long msgnum) { int in_text = 0; int i; - wprintf("\n"); + wprintf("\n"); serv_printf("MSG0 %ld", msgnum); serv_getln(buf, sizeof buf); diff --git a/webcit/paging.c b/webcit/paging.c index 6e200f6b2..78fcdc127 100644 --- a/webcit/paging.c +++ b/webcit/paging.c @@ -32,7 +32,7 @@ void display_page(void) escputs(recp); wprintf("
    \n"); - wprintf("\n"); + wprintf("\n"); wprintf("
    \n"); @@ -53,7 +53,7 @@ void display_page(void) wprintf("

    \n"); wprintf("", _("Send message")); - wprintf("
    \n", _("Cancel")); + wprintf("
    \n", _("Cancel")); wprintf("\n"); wprintf("
    \n"); @@ -104,7 +104,7 @@ void page_user(void) } if (!strcasecmp(closewin, "yes")) { - wprintf("
    "); + wprintf("
    "); wprintf(_("[ close window ]")); wprintf("
    \n"); } @@ -317,7 +317,7 @@ void chat_recv(void) { if (end_chat_now) { close(WC->chat_sock); WC->chat_sock = (-1); - wprintf("\n"); + wprintf("\n"); } if (strlen(output_data) > 0) { @@ -327,7 +327,7 @@ void chat_recv(void) { } /* Output our fun to the other frame. */ - wprintf("serv_sock = WC->chat_sock; WC->chat_sock = i; - wprintf("
    \n"); + wprintf("\n"); wprintf("\n", SIZ-10); wprintf("
    "); diff --git a/webcit/preferences.c b/webcit/preferences.c index 42eb04f96..02cd7416c 100644 --- a/webcit/preferences.c +++ b/webcit/preferences.c @@ -181,7 +181,7 @@ void display_preferences(void) wprintf("
    \n"); wprintf("\n", _("Read new messages") @@ -395,7 +395,7 @@ void embed_room_banner(char *got, int navbar_style) { case VIEW_ADDRESSBOOK: wprintf( "\n", node); wprintf("
    "); - wprintf("\""); + wprintf("\""); wprintf(" "); wprintf(_("Preferences and settings")); wprintf(""); diff --git a/webcit/roomops.c b/webcit/roomops.c index 8120e0ce4..eaca14531 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -96,7 +96,7 @@ void room_tree_list(struct roomlisting *rp) strcpy(rmname, rp->rlname); f = rp->rlflags; - wprintf(""); @@ -248,7 +248,7 @@ void embed_room_graphic(void) { serv_puts("OIMG _roompic_"); serv_getln(buf, sizeof buf); if (buf[0] == '2') { - wprintf("wc_roomname); wprintf("\">"); serv_puts("CLOS"); @@ -383,7 +383,7 @@ void embed_room_banner(char *got, int navbar_style) { if ( (navbar_style == navbar_default) && (WC->wc_view == VIEW_BBS) ) { wprintf( "" - "" + "" "" "%s" "" - "" + "" "" "" @@ -406,7 +406,7 @@ void embed_room_banner(char *got, int navbar_style) { case VIEW_CALENDAR: wprintf( "" - "" + "" "" "" @@ -415,7 +415,7 @@ void embed_room_banner(char *got, int navbar_style) { ); wprintf( "" - "" + "" "" "" @@ -426,7 +426,7 @@ void embed_room_banner(char *got, int navbar_style) { case VIEW_TASKS: wprintf( "" - "" + "" "" "" @@ -437,7 +437,7 @@ void embed_room_banner(char *got, int navbar_style) { case VIEW_NOTES: wprintf( "" - "" + "" "" "" @@ -448,7 +448,7 @@ void embed_room_banner(char *got, int navbar_style) { case VIEW_MAILBOX: wprintf( "" - "" + "" "" "" @@ -459,7 +459,7 @@ void embed_room_banner(char *got, int navbar_style) { default: wprintf( "" - "" + "" "" "" @@ -474,7 +474,7 @@ void embed_room_banner(char *got, int navbar_style) { switch(WC->wc_view) { case VIEW_ADDRESSBOOK: wprintf( - "" + "" "" "%s" @@ -483,7 +483,7 @@ void embed_room_banner(char *got, int navbar_style) { break; case VIEW_CALENDAR: wprintf( - "" + "" "" "%s" @@ -492,7 +492,7 @@ void embed_room_banner(char *got, int navbar_style) { break; case VIEW_TASKS: wprintf( - "" + "" "" "%s" @@ -501,7 +501,7 @@ void embed_room_banner(char *got, int navbar_style) { break; case VIEW_NOTES: wprintf( - "" + "" "" "%s" @@ -510,7 +510,7 @@ void embed_room_banner(char *got, int navbar_style) { break; default: wprintf( - "" + "" "" "%s" @@ -522,7 +522,7 @@ void embed_room_banner(char *got, int navbar_style) { if (navbar_style == navbar_default) wprintf( "" - "" "" "%s" @@ -533,7 +533,7 @@ void embed_room_banner(char *got, int navbar_style) { if (navbar_style == navbar_default) wprintf( "" - "" "" "%s" @@ -881,7 +881,7 @@ void display_editroom(void) wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf(_("Administration")); if (!strcmp(tab, "admin")) { @@ -897,7 +897,7 @@ void display_editroom(void) wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf(_("Configuration")); if (!strcmp(tab, "config")) { @@ -913,7 +913,7 @@ void display_editroom(void) wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf(_("Message expire policy")); if (!strcmp(tab, "expire")) { @@ -929,7 +929,7 @@ void display_editroom(void) wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf(_("Access controls")); if (!strcmp(tab, "access")) { @@ -945,7 +945,7 @@ void display_editroom(void) wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf(_("Sharing")); if (!strcmp(tab, "sharing")) { @@ -961,7 +961,7 @@ void display_editroom(void) wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf(_("Mailing list service")); if (!strcmp(tab, "listserv")) { @@ -983,23 +983,23 @@ void display_editroom(void) if (!strcmp(tab, "admin")) { wprintf(""); } if (!strcmp(tab, "config")) { - wprintf("\n"); + wprintf("\n"); wprintf("
    • "); wprintf(_("Name of room: ")); @@ -1242,7 +1242,7 @@ void display_editroom(void) extract_token(remote_room, buf, 1, '|', sizeof remote_room); if (strlen(node) > 0) { wprintf("" + "action=\"/netedit\">" "
    %s"); @@ -1285,7 +1285,7 @@ void display_editroom(void) extract_token(node, not_shared_with, i, '\n', sizeof node); if (strlen(node) > 0) { wprintf("" + "action=\"/netedit\">" "
    "); escputs(node); wprintf("" @@ -1346,7 +1346,7 @@ void display_editroom(void) extract_token(recp, buf, 1, '|', sizeof recp); escputs(recp); - wprintf(" "); @@ -1354,7 +1354,7 @@ void display_editroom(void) wprintf("
    "); } } - wprintf("
    \n" + wprintf("
    \n" "\n" "\n"); wprintf("\n"); @@ -1376,7 +1376,7 @@ void display_editroom(void) extract_token(recp, buf, 1, '|', sizeof recp); escputs(recp); - wprintf(" "); @@ -1384,7 +1384,7 @@ void display_editroom(void) wprintf("
    "); } } - wprintf("
    \n" + wprintf("
    \n" "\n" "\n"); wprintf("\n"); @@ -1396,7 +1396,7 @@ void display_editroom(void) if (self_service(999) == 1) { wprintf(_("This room is configured to allow " "self-service subscribe/unsubscribe requests.")); - wprintf(""); + wprintf(""); wprintf(_("Click to disable.")); wprintf("
    \n"); wprintf(_("The URL for subscribe/unsubscribe is: ")); @@ -1407,7 +1407,7 @@ void display_editroom(void) else { wprintf(_("This room is not configured to allow " "self-service subscribe/unsubscribe requests.")); - wprintf(" "); wprintf(_("Click to enable.")); wprintf("
    \n"); @@ -1435,7 +1435,7 @@ void display_editroom(void) floorvalue = extract_int(&buf[4], 1); } - wprintf("
    \n"); + wprintf("
    \n"); wprintf("\n"); wprintf("
    "); wprintf(_("Message expire policy for this room")); @@ -1763,7 +1763,7 @@ void display_whok(void) "name from the list and click 'Kick'.")); wprintf("

    "); - wprintf("
    \n"); + wprintf("
    \n"); wprintf("\n"); wprintf("\n"); wprintf("Invite: "); wprintf("
    \n" @@ -2048,7 +2048,7 @@ void display_private(char *rname, int req_pass) "so you don't have to keep returning here.")); wprintf("\n

    "); - wprintf("\n"); + wprintf("\n"); wprintf("\n" @@ -2131,7 +2131,7 @@ void display_zap(void) "disappear from your room list. Is this what you wish " "to do?
    \n"), WC->wc_roomname); - wprintf("\n"); + wprintf("\n"); wprintf("", _("Zap this room")); wprintf(" "); wprintf("", _("Cancel")); @@ -2368,7 +2368,7 @@ void do_folder_view(struct folder *fold, int max_folders, int num_floors) { wprintf("var node%d = new TreeNode(%d, '", i, i); if (fold[i].selectable) { - wprintf(""); } @@ -2493,7 +2493,7 @@ void do_rooms_view(struct folder *fold, int max_folders, int num_floors) { wprintf(" "); if (levels>2) for (t=0; t<(levels-2); ++t) wprintf("   "); if (fold[i].selectable) { - wprintf(""); } diff --git a/webcit/setup.c b/webcit/setup.c index 5c83f9cfb..b08e4b89a 100644 --- a/webcit/setup.c +++ b/webcit/setup.c @@ -278,7 +278,7 @@ void set_value(char *prompt, char str[]) extract_token(buf, prompt, i, '\n', sizeof buf); newtFormAddComponent(form, newtLabel(1, 1+i, buf)); } - newtFormAddComponent(form, newtEntry(1, 8, str, 74, &result, + newtFormAddComponent(form, newtEntry(1, 8, str, 74, (const char **) &result, NEWT_FLAG_RETURNEXIT)); newtRunForm(form); strcpy(str, result); diff --git a/webcit/setup_wizard.c b/webcit/setup_wizard.c index d28addbf9..f173bd17e 100644 --- a/webcit/setup_wizard.c +++ b/webcit/setup_wizard.c @@ -30,7 +30,7 @@ void do_setup_wizard(void) wprintf("
    \n"); wprintf("
    "); - wprintf("\""); + wprintf("\""); wprintf(" First time setup"); wprintf(""); wprintf("
    \n"); diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 9f7229145..2ec8f4132 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -40,11 +40,11 @@ void display_siteconfig(void) wprintf("\n"); wprintf("\n", @@ -53,11 +53,11 @@ void display_siteconfig(void) ); wprintf("\n", @@ -66,11 +66,11 @@ void display_siteconfig(void) ); wprintf("\n", @@ -79,11 +79,11 @@ void display_siteconfig(void) ); wprintf("\n", @@ -92,11 +92,11 @@ void display_siteconfig(void) ); wprintf("\n", @@ -105,11 +105,11 @@ void display_siteconfig(void) ); wprintf("\n", @@ -181,7 +181,7 @@ void display_siteconfig(void) return; } - wprintf("\n"); + wprintf("\n"); wprintf("
    " - "" + "" "\" \"" + "src=\"/static/advanpage2_48x.gif\" ALT=\" \">" "" - "" + "" "%s
    " "%s" "
    " - "" + "" "\" \"" + "src=\"/static/advanpage2_48x.gif\" ALT=\" \">" "" - "" + "" "%s
    " "%s" "
    " - "" + "" "\" \"" + "src=\"/static/advanpage2_48x.gif\" ALT=\" \">" "" - "" + "" "%s
    " "%s" "
    " - "" + "" "\" \"" + "src=\"/static/advanpage2_48x.gif\" ALT=\" \">" "" - "" + "" "%s
    " "%s" "
    " - "" + "" "\" \"" + "src=\"/static/advanpage2_48x.gif\" ALT=\" \">" "" - "" + "" "%s
    " "%s" "
    " - "" + "" "\" \"" + "src=\"/static/advanpage2_48x.gif\" ALT=\" \">" "" - "" + "" "%s
    " "%s" "
    \n"); i = 0; diff --git a/webcit/summary.c b/webcit/summary.c index f78438666..c79777bf6 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -86,7 +86,7 @@ void new_messages_section(void) { serv_getln(buf, sizeof buf); if (buf[0] == '2') { extract_token(room, &buf[4], 0, '|', sizeof room); - wprintf("
    "); escputs(room); @@ -274,7 +274,7 @@ void summary(void) { output_headers(1, 1, 2, 0, 0, 0); wprintf("
    \n"); wprintf("" - "
    " + "" "" ); diff --git a/webcit/sysmsgs.c b/webcit/sysmsgs.c index b995327c7..0a3fd8d62 100644 --- a/webcit/sysmsgs.c +++ b/webcit/sysmsgs.c @@ -39,7 +39,7 @@ void display_edit(char *description, char *check_cmd, "formatting, indent a line at least one space."), description); wprintf("
    "); - wprintf("\n", save_cmd); + wprintf("\n", save_cmd); wprintf("