From ce4f2805f96bc1d00b48e0528a3bb5bb6061d35e Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 2 May 2000 17:32:06 +0000 Subject: [PATCH] * Font related changes to html --- webcit/ChangeLog | 4 +++- webcit/messages.c | 8 ++++---- webcit/roomops.c | 30 +++++++++++++++--------------- webcit/webcit.c | 1 - webcit/who.c | 45 ++++++++++++++++++++++----------------------- 5 files changed, 44 insertions(+), 44 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 842626b09..1075ca42a 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 211.16 2000/05/02 17:32:06 ajc +* Font related changes to html + Revision 211.15 2000/04/20 02:42:23 ajc * tcp_sockets.c: changed memcpy() to memset() in tcp_connectsock; this was crashing every session, every time. (?) @@ -428,4 +431,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/messages.c b/webcit/messages.c index 764756011..efcee3a8c 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -109,7 +109,7 @@ char *oper; return; } wprintf("
\n"); - wprintf(" "); + wprintf(" "); strcpy(m_subject, ""); while (serv_gets(buf), strncasecmp(buf, "text", 4)) { @@ -223,7 +223,7 @@ char *oper; buf[strlen(buf) - 1] = 0; if ((bq == 0) && ((!strncmp(buf, ">", 1)) || (!strncmp(buf, " >", 2)) || (!strncmp(buf, " :-)", 4)))) { - wprintf(""); + wprintf(""); bq = 1; } else if ((bq == 1) && (strncmp(buf, ">", 1)) && (strncmp(buf, " >", 2)) && (strncmp(buf, " :-)", 4))) { @@ -283,7 +283,7 @@ void readloop(char *oper) output_headers(1); - /* wprintf("
%s - ", + /* wprintf("
%s - ", WC->wc_roomname); */ if (!strcmp(oper, "readnew")) { strcpy(cmd, "MSGS NEW"); @@ -314,7 +314,7 @@ void readloop(char *oper) read_message(WC->msgarr[a], oper); ++num_displayed; if ( (num_displayed >= maxmsgs) && (a < nummsgs) ) { - wprintf("
" + wprintf("
" "There are %d more messages here." "   ", nummsgs - num_displayed); diff --git a/webcit/roomops.c b/webcit/roomops.c index 3a295478e..e3d09be23 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -227,14 +227,14 @@ void list_all_rooms_by_floor(void) output_headers(1); wprintf(""); - wprintf(""); - wprintf("\n"); + wprintf(""); + wprintf("\n"); for (a = 0; a < 128; ++a) if (floorlist[a][0] != 0) { /* Floor name column */ - wprintf(""); + wprintf(""); /* Rooms with new messages column */ - wprintf("\n\n\n"); + wprintf("\n"); } wprintf("
FloorRooms with new messagesRooms with no new messages
Rooms with new messagesRooms with no new messages
"); + wprintf("
"); serv_printf("OIMG _floorpic_|%d", a); serv_gets(buf); @@ -247,18 +247,18 @@ void list_all_rooms_by_floor(void) escputs(&floorlist[a][0]); } - wprintf(""); + wprintf(""); sprintf(buf, "LKRN %d", a); listrms(buf); - wprintf(""); + wprintf(""); /* Rooms with old messages column */ sprintf(buf, "LKRO %d", a); listrms(buf); - wprintf("
\n"); wDumpContent(1); @@ -272,9 +272,9 @@ void zapped_list(void) { output_headers(1); wprintf("
"); - wprintf("Zapped (forgotten) rooms\n"); - wprintf("

\n"); + wprintf("

\n"); listrms("LZRM -1"); wprintf("

\n"); wprintf("Click on any room to un-zap it and goto that room.\n"); @@ -325,8 +325,8 @@ void embed_room_banner(char *got) { wprintf(""); wprintf(""); } - wprintf("%s
", WC->wc_roomname); - wprintf("%d new of %d messages
\n", + wprintf("%s
", WC->wc_roomname); + wprintf("%d new of %d messages\n", extract_int(&got[4], 1), extract_int(&got[4], 2)); @@ -338,16 +338,16 @@ void embed_room_banner(char *got) { serv_puts("OIMG _roompic_"); serv_gets(buf); if (buf[0] == '2') { - wprintf(""); + wprintf(""); wprintf("wc_roomname); - wprintf("\">"); + wprintf("\">"); serv_puts("CLOS"); serv_gets(buf); } - wprintf(""); + wprintf(""); readinfo(0); - wprintf(""); + wprintf(""); /* Let the user know if new mail has arrived */ if ( (WC->new_mail > remember_new_mail) && (WC->new_mail>0) ) { diff --git a/webcit/webcit.c b/webcit/webcit.c index 80e66ed1d..e7d0047ff 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -689,7 +689,6 @@ void session_loop(struct httprequest *req) } else { /* tcp socket */ - fprintf(stderr, "FIXME tcp conn\n"); WC->serv_sock = tcp_connectsock(c_host, c_port); } diff --git a/webcit/who.c b/webcit/who.c index 2952df956..b172f6b15 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -64,12 +64,12 @@ void whobbs(void) escputs(serv_info.serv_humannode); wprintf("\n"); - wprintf("\n"); + wprintf("\n"); wprintf("
\n\n\n"); - wprintf("\n"); - wprintf("\n"); - wprintf(""); - wprintf("\n\n"); + wprintf("\n"); + wprintf("\n"); + wprintf(""); + wprintf("\n\n"); serv_puts("RWHO"); serv_gets(buf); if (buf[0] == '1') { @@ -186,39 +186,38 @@ void edit_me(void) output_headers(1); wprintf("
Session IDUser NameRoomFrom host
Session IDUser NameRoomFrom host
"); - wprintf(""); + wprintf(""); wprintf("Edit your session display"); wprintf("
\n"); - wprintf(""); wprintf("This screen allows you to change the way your\n"); wprintf("session appears in the 'Who is online' listing.\n"); wprintf("To turn off any 'fake' name you've previously\n"); wprintf("set, simply click the appropriate 'change' button\n"); wprintf("without typing anything in the corresponding box.\n"); - wprintf("
\n
\n"); + wprintf("
\n"); wprintf("
\n"); wprintf("\n"); - wprintf("\n\n\n\n"); + wprintf("\n\n\n\n"); - wprintf("\n\n\n"); + wprintf("\n\n\n"); if (WC->is_aide) { - wprintf("\n\n\n"); + wprintf("\n\n\n"); } wprintf("
Room name:"); - wprintf("\n"); - wprintf(""); - wprintf(""); - wprintf("
Room name:"); + wprintf("\n"); + wprintf(""); + wprintf(""); + wprintf("
Host name:"); - wprintf("\n"); - wprintf(""); - wprintf(""); - wprintf("
Host name:"); + wprintf("\n"); + wprintf(""); + wprintf(""); + wprintf("
User name:"); - wprintf("\n"); - wprintf(""); - wprintf(""); - wprintf("
User name:"); + wprintf("\n"); + wprintf(""); + wprintf(""); + wprintf("
  "); wprintf(""); -- 2.39.2