From 737185503d651783a42d4b9cda6afd884a4b038a Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 16 May 2003 04:11:32 +0000 Subject: [PATCH] * We don't need no steenking workaround. Problem fixed. MIME parser not broken. Web server was calling it with bad parameters. All fixed now. * Slightly tweaked the look of the tabs in the room edit screen. Still looks like crap. --- webcit/ChangeLog | 7 +++++++ webcit/graphics.c | 3 --- webcit/roomops.c | 10 +++++----- webcit/static/style.css | 2 +- webcit/webcit.c | 2 +- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index ab8cf7caf..53f102a33 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,10 @@ $Log$ +Revision 410.29 2003/05/16 04:11:29 ajc +* We don't need no steenking workaround. Problem fixed. MIME parser not + broken. Web server was calling it with bad parameters. All fixed now. +* Slightly tweaked the look of the tabs in the room edit screen. Still looks + like crap. + Revision 410.28 2003/05/15 04:52:26 ajc * Minor workaround in web forms to handle mime parser problem in uploads @@ -1391,3 +1397,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/graphics.c b/webcit/graphics.c index 90845b5ee..7616be447 100644 --- a/webcit/graphics.c +++ b/webcit/graphics.c @@ -40,8 +40,6 @@ void display_graphics_upload(char *description, char *check_cmd, char *uplurl) wprintf("
\n", uplurl); - wprintf("\n"); - wprintf("\n"); @@ -55,7 +53,6 @@ void display_graphics_upload(char *description, char *check_cmd, char *uplurl) wprintf("
"); wprintf("\n"); wprintf("\n"); - wprintf("\n"); wprintf("
\n"); wprintf("Cancel\n"); wprintf("\n"); diff --git a/webcit/roomops.c b/webcit/roomops.c index 7031fd6da..7d5e1068e 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -756,11 +756,11 @@ void display_editroom(void) /* print the tabbed dialog */ wprintf("" - "" + "" "\n"); if (!strcmp(tab, "admin")) { - wprintf("\n"); if (!strcmp(tab, "config")) { - wprintf("\n"); if (!strcmp(tab, "sharing")) { - wprintf("\n"); if (!strcmp(tab, "listserv")) { - wprintf("
 "); + wprintf(""); } else { wprintf(""); @@ -776,7 +776,7 @@ void display_editroom(void) wprintf(" "); + wprintf(""); } else { wprintf(""); @@ -792,7 +792,7 @@ void display_editroom(void) wprintf(" "); + wprintf(""); } else { wprintf(""); @@ -808,7 +808,7 @@ void display_editroom(void) wprintf(" "); + wprintf(""); } else { wprintf(""); diff --git a/webcit/static/style.css b/webcit/static/style.css index 6afbe87d6..34aa54bfb 100644 --- a/webcit/static/style.css +++ b/webcit/static/style.css @@ -53,7 +53,7 @@ a:active { font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; font-size: 10pt; font-style: bold; - color: #FFFFEE; + color: #000000; } .boxlabel { diff --git a/webcit/webcit.c b/webcit/webcit.c index 3b1c058af..58f4f5e63 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -821,7 +821,7 @@ void session_loop(struct httprequest *req) "application/x-www-form-urlencoded", 33)) { addurls(&content[body_start]); } else if (!strncasecmp(ContentType, "multipart", 9)) { - content_end = content + ContentLength; + content_end = content + ContentLength + body_start; lprintf(9, "Calling MIME parser\n"); mime_parser(content, content_end, *upload_handler, NULL, NULL, NULL, 0); -- 2.30.2