From 37117bad89e16d3b7b89ab7e24526a5478593626 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 19 Apr 2003 21:42:36 +0000 Subject: [PATCH] * Repaired all my b0rken COLOR tags * Replaced most FONT tags with SPAN tags * Added new styles --- webcit/ChangeLog | 6 +- webcit/auth.c | 7 +-- webcit/calendar.c | 22 ++++--- webcit/calendar_view.c | 24 ++++---- webcit/event.c | 7 +-- webcit/floors.c | 13 ++-- webcit/graphics.c | 7 +-- webcit/listsub.c | 5 +- webcit/mainmenu.c | 48 +++++++-------- webcit/messages.c | 43 +++++++------- webcit/netconf.c | 37 +++++------- webcit/paging.c | 21 +++---- webcit/roomops.c | 79 ++++++++++++------------- webcit/serv_func.c | 4 +- webcit/siteconfig.c | 13 ++-- webcit/static/newstartpage.html | 2 +- webcit/static/prompt_for_recipient.html | 8 +-- webcit/static/style.css | 36 +++++++++++ webcit/sysmsgs.c | 7 +-- webcit/useredit.c | 12 ++-- webcit/userlist.c | 13 ++-- webcit/webcit.c | 9 ++- webcit/who.c | 12 ++-- 23 files changed, 222 insertions(+), 213 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 3c241f0b9..8c32a36c6 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,9 @@ $Log$ +Revision 410.12 2003/04/19 21:42:36 ajc +* Repaired all my b0rken COLOR tags +* Replaced most FONT tags with SPAN tags +* Added new styles + Revision 410.11 2003/04/19 19:58:10 ajc * Lots of great changes from Nick to make the site CSS-enabled. @@ -1329,4 +1334,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/auth.c b/webcit/auth.c index c0f23ae30..fb763e68a 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -329,10 +329,9 @@ void display_changepw(void) output_headers(3); - wprintf("
"); - wprintf("Change your password\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Change your password\n"); + wprintf("
\n"); wprintf("
"); serv_puts("MESG changepw"); diff --git a/webcit/calendar.c b/webcit/calendar.c index 1089e115e..616bfe2ce 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -357,10 +357,9 @@ void respond_to_request(void) { output_headers(3); - wprintf("
" - "Respond to meeting request" - "

\n" + wprintf("
" + "Respond to meeting request" + "

\n" ); serv_printf("ICAL respond|%s|%s|%s|", @@ -413,10 +412,10 @@ void handle_rsvp(void) { output_headers(3); - wprintf("
" - "Update your calendar with this RSVP" - "

\n" + wprintf("
" + "" + "Update your calendar with this RSVP" + "

\n" ); serv_printf("ICAL handle_rsvp|%s|%s|%s|", @@ -542,10 +541,9 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum) { } output_headers(3); - wprintf("
" - "Edit task" - "

\n" + wprintf("
" + "Edit task" + "

\n" ); wprintf("
\n"); diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 1acb1fad1..94dc465f9 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -78,7 +78,7 @@ void calendar_month_view_display_events(time_t thetime) { if (all_day_event) { wprintf("" - "
" + "" ); } @@ -164,7 +164,7 @@ void calendar_month_view(int year, int month, int day) { wprintf("\n"); wprintf("  " - "" + "" "%s %d" "" "  ", months[month-1], year); @@ -182,7 +182,7 @@ void calendar_month_view(int year, int month, int day) { wprintf(""); for (i=0; i<7; ++i) { - wprintf("", days[i]); + wprintf("", days[i]); } /* Now do 35 days */ @@ -194,7 +194,7 @@ void calendar_month_view(int year, int month, int day) { wprintf(""); } - wprintf("
%s%s
", + wprintf("", ((tm.tm_mon != month-1) ? "DDDDDD" : ((tm.tm_wday==0 || tm.tm_wday==6) ? "EEEECC" : "FFFFFF")) @@ -273,7 +273,7 @@ void calendar_day_view_display_events(int year, int month, if (all_day_event) { wprintf("" - "" - "" - "" + "" - "" - "" + "\n"); - wprintf("", months[month-1], day, year); diff --git a/webcit/event.c b/webcit/event.c index dc89fd2d5..d8656ebdb 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -87,11 +87,10 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum) /* Begin output */ output_headers(3); - wprintf("
" + "" ); } @@ -337,8 +337,8 @@ void calendar_day_view(int year, int month, int day) { /* Display events before 8:00 (hour=-1 is all-day events) */ wprintf("
"); + ""); for (hour = (-1); hour <= 7; ++hour) { calendar_day_view_display_events(year, month, day, hour); } @@ -346,7 +346,7 @@ void calendar_day_view(int year, int month, int day) { /* Now the middle of the day... */ for (hour = 8; hour <= 17; ++hour) { /* could do HEIGHT=xx */ - wprintf("
"); wprintf("", @@ -356,7 +356,7 @@ void calendar_day_view(int year, int month, int day) { (hour <= 12 ? hour : hour-12), (hour < 12 ? "am" : "pm") ); - wprintf(""); + wprintf(""); /* put the data here, stupid */ calendar_day_view_display_events(year, month, day, hour); @@ -366,8 +366,8 @@ void calendar_day_view(int year, int month, int day) { /* Display events after 5:00... */ wprintf("
"); + ""); for (hour = 18; hour <= 23; ++hour) { calendar_day_view_display_events(year, month, day, hour); } @@ -391,7 +391,7 @@ void calendar_day_view(int year, int month, int day) { wprintf("" "" + wprintf("" "

%s

%d

%d

" "
" + wprintf("
" "" - "Edit event" - "

\n" + "Edit event" + "

\n" ); /************************************************************ diff --git a/webcit/floors.c b/webcit/floors.c index 48cca50f5..e923065a3 100644 --- a/webcit/floors.c +++ b/webcit/floors.c @@ -49,18 +49,17 @@ void display_floorconfig(char *prepend_html) serv_printf("LFLR"); /* FIXME put a real test here */ serv_gets(buf); if (buf[0] != '1') { - wprintf("
"); - wprintf("Error\n"); - wprintf("

\n"); + wprintf("
"); + wprintf("Error\n"); + wprintf("

\n"); wprintf("%s
\n", &buf[4]); wDumpContent(1); return; } - wprintf("
" - "Floor configuration" - "
\n" + wprintf("
" + "Floor configuration" + "
\n" ); wprintf("\n" diff --git a/webcit/graphics.c b/webcit/graphics.c index f2f6a7ddb..ab9d7709f 100644 --- a/webcit/graphics.c +++ b/webcit/graphics.c @@ -31,10 +31,9 @@ void display_graphics_upload(char *description, char *check_cmd, char *uplurl) return; } output_headers(3); - wprintf("
"); - wprintf("Set/change %s\n", description); - wprintf("
\n"); + wprintf("
"); + wprintf("Set/change %s\n", description); + wprintf("
\n"); wprintf("
\n"); diff --git a/webcit/listsub.c b/webcit/listsub.c index b94279530..118a0598c 100644 --- a/webcit/listsub.c +++ b/webcit/listsub.c @@ -49,9 +49,8 @@ void do_listsub(void) strcpy(subtype, bstr("subtype")); wprintf("
" - "
" - "List subscribe/unsubscribe\n" + "
" + "List subscribe/unsubscribe\n" "

\n" ); diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index 7459e8deb..850e10845 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -33,10 +33,8 @@ void display_main_menu(void) { output_headers(1); - wprintf("" + wprintf("
" - "Basic commands\n" - "
" + "Basic commands\n" "
\n" "
" ); @@ -93,10 +91,9 @@ void display_main_menu(void) wprintf("
"); - wprintf("
"); - wprintf("Interaction\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Interaction\n"); + wprintf("
\n"); wprintf("
"); - wprintf("
"); - wprintf("Your info\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Your info\n"); + wprintf("
\n"); wprintf("
"); - wprintf("
"); - wprintf("Advanced room commands\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Advanced room commands\n"); + wprintf("
\n"); wprintf("
"); if ((WC->axlevel >= 6) || (WC->is_room_aide)) { - wprintf("
"); - wprintf("Administrative functions\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Administrative functions\n"); + wprintf("
\n"); wprintf("