From e935238cffe442d3fa0b530774bc4b3dab934bf7 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 24 Sep 2010 21:55:44 -0400 Subject: [PATCH] Revert "Revert "Removed the "fix_scrollbarbug" div and all references to it."" This reverts commit 80f0f2b99774b570d998109d565aecf46df5c06c. --- webcit/auth.c | 5 ++-- webcit/bbsview_renderer.c | 3 -- webcit/blogview_renderer.c | 3 -- webcit/calendar_view.c | 20 +++++-------- webcit/event.c | 4 --- webcit/openid.c | 3 -- webcit/paging.c | 5 ++-- webcit/setup_wizard.c | 6 ++-- webcit/sieve.c | 10 +++---- webcit/smtpqueue.c | 5 ++-- webcit/static/styles/content.css | 5 ---- webcit/static/styles/webcit.css | 5 ---- webcit/static/t/aide/display_generic_cmd.html | 2 -- webcit/static/t/aide/display_inetconf.html | 1 - webcit/static/t/aide/display_menu.html | 3 +- .../static/t/aide/display_serverrestart.html | 8 ++--- .../t/aide/display_serverrestart_page_do.html | 8 ++--- .../t/aide/display_sitewide_config.html | 2 -- webcit/static/t/aide/edituser/detailview.html | 3 +- webcit/static/t/aide/edituser/select.html | 2 -- webcit/static/t/display_main_menu.html | 2 -- webcit/static/t/display_message.html | 2 +- webcit/static/t/edit_message.html | 2 +- webcit/static/t/files.html | 2 -- webcit/static/t/files/picview.js | 2 -- webcit/static/t/floors.html | 3 +- webcit/static/t/iconbar/edit.html | 3 +- webcit/static/t/knrooms.html | 4 --- webcit/static/t/room/create.html | 4 --- webcit/static/t/room/display_private.html | 2 +- webcit/static/t/room/edit.html | 2 -- webcit/static/t/room/edit/editroom.html | 30 ++++++++----------- webcit/static/t/room/zapped_list.html | 2 +- webcit/static/t/summary_trailer.html | 4 +-- webcit/static/t/view_message.html | 2 +- webcit/static/t/view_message/print.html | 2 +- webcit/static/t/who.html | 2 +- webcit/tasks.c | 6 ++-- webcit/userlist.c | 10 +++---- webcit/vcard_edit.c | 3 +- webcit/wiki.c | 9 ++---- 41 files changed, 60 insertions(+), 141 deletions(-) diff --git a/webcit/auth.c b/webcit/auth.c index cb2917b67..80f7ddbb0 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -645,8 +645,7 @@ void validate(void) return; } - wc_printf("
" - "
\n"); + wc_printf("
\n"); wc_printf("
"); safestrncpy(user, &buf[4], sizeof user); @@ -729,7 +728,7 @@ void validate(void) wc_printf("
\n"); wc_printf("
\n"); - wc_printf("
\n"); + wc_printf("
\n"); wDumpContent(1); } diff --git a/webcit/bbsview_renderer.c b/webcit/bbsview_renderer.c index 3472b99d8..a4b707841 100644 --- a/webcit/bbsview_renderer.c +++ b/webcit/bbsview_renderer.c @@ -180,8 +180,6 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat, int start_index = 0; int end_index = 0; - wc_printf("
"); - if (Stat->nummsgs > 0) { lprintf(9, "sorting %d messages\n", BBS->num_msgs); qsort(BBS->msgs, (size_t)(BBS->num_msgs), sizeof(long), bbsview_sortfunc); @@ -353,7 +351,6 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat, } } - wc_printf("
\n"); return(0); } diff --git a/webcit/blogview_renderer.c b/webcit/blogview_renderer.c index 760045e95..dc376b665 100644 --- a/webcit/blogview_renderer.c +++ b/webcit/blogview_renderer.c @@ -111,8 +111,6 @@ int blogview_render(SharedMessageStatus *Stat, struct blogview *BLOG = (struct blogview *) *ViewSpecific; int i; - wc_printf("
"); - if (Stat->nummsgs > 0) { lprintf(9, "sorting %d messages\n", BLOG->num_msgs); qsort(BLOG->msgs, (size_t)(BLOG->num_msgs), sizeof(long), blogview_sortfunc); @@ -136,7 +134,6 @@ int blogview_render(SharedMessageStatus *Stat, } } - wc_printf("
\n"); return(0); } diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index c40b5a064..f71c375f8 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -569,8 +569,7 @@ void calendar_month_view(int year, int month, int day) { } /* Outer table (to get the background color) */ - wc_printf("
" - " \n
"); + wc_printf(" \n
"); wc_printf("\n"); @@ -662,8 +661,8 @@ void calendar_month_view(int year, int month, int day) { } wc_printf("
" /* end of inner table */ - "
" /* end of outer table */ - "\n"); + "
\n" /* end of outer table */ + ); } /* @@ -705,8 +704,7 @@ void calendar_brief_month_view(int year, int month, int day) { } /* Outer table (to get the background color) */ - wc_printf("
" - "
\n"); wc_printf("\n"); @@ -785,8 +783,8 @@ void calendar_brief_month_view(int year, int month, int day) { } wc_printf("
" /* end of inner table */ - "
" /* end of outer table */ - "
\n"); + "\n" /* end of outer table */ + ); } /* @@ -1163,8 +1161,6 @@ void calendar_day_view(int year, int month, int day) { ++tomorrow.day; tomorrow = icaltime_normalize(tomorrow); - wc_printf("
"); - /* Inner table (the real one) */ wc_printf(" \n"); @@ -1328,9 +1324,7 @@ void calendar_day_view(int year, int month, int day) { embeddable_mini_calendar(year, month); wc_printf(""); /* end stuff-on-the-right */ - - wc_printf("
" /* end of inner table */ - "
"); + wc_printf("\n"); /* end of inner table */ } diff --git a/webcit/event.c b/webcit/event.c index 6106ec1db..56cee1e07 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -171,8 +171,6 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, wc_printf("
\n"); - wc_printf("
"); - /************************************************************ * Uncomment this to see the UID in calendar events for debugging wc_printf("UID == "); @@ -772,8 +770,6 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, end_tab(3, 3); wc_printf("\n"); - wc_printf("
\n"); /* end 'fix_scrollbar_bug' div */ - StrBufAppendPrintf(WC->trailing_javascript, "eventEditAllDay(); \n" "RecurrenceShowHide(); \n" diff --git a/webcit/openid.c b/webcit/openid.c index 8842e8810..efe4280ca 100644 --- a/webcit/openid.c +++ b/webcit/openid.c @@ -13,8 +13,6 @@ void display_openids(void) output_headers(1, 1, 1, 0, 0, 0); - wc_printf("
"); - do_template("beginbox_1", NULL); StrBufAppendBufPlain(WCC->WBuf, _("Manage Account/OpenID Associations"), -1, 0); do_template("beginbox_2", NULL); @@ -54,7 +52,6 @@ void display_openids(void) } do_template("endbox", NULL); - wc_printf("
"); wDumpContent(2); } diff --git a/webcit/paging.c b/webcit/paging.c index 307e225a2..7c632fb9f 100644 --- a/webcit/paging.c +++ b/webcit/paging.c @@ -38,8 +38,7 @@ void display_page(void) wc_printf("
\n"); - wc_printf("
" - "
\n"); + wc_printf("
\n"); wc_printf(_("Send an instant message to: ")); escputs(recp); @@ -67,7 +66,7 @@ void display_page(void) wc_printf("
\n", _("Cancel")); wc_printf("\n"); - wc_printf("
\n"); + wc_printf("
\n"); wDumpContent(1); } diff --git a/webcit/setup_wizard.c b/webcit/setup_wizard.c index 6ad0cc2e9..62dafbca1 100644 --- a/webcit/setup_wizard.c +++ b/webcit/setup_wizard.c @@ -30,9 +30,7 @@ void do_setup_wizard(void) wc_printf("
\n"); - wc_printf("
" - "
\n" - ); + wc_printf("\n"); wc_printf("\n", WC->nonce); wc_printf("
" @@ -43,7 +41,7 @@ void do_setup_wizard(void) wc_printf("\n"); wc_printf("\n"); - wc_printf("
\n"); + wc_printf("
\n"); wDumpContent(1); } diff --git a/webcit/sieve.c b/webcit/sieve.c index ae08f608a..40af7f54d 100644 --- a/webcit/sieve.c +++ b/webcit/sieve.c @@ -21,14 +21,13 @@ void display_no_sieve(void) { wc_printf("
\n"); - wc_printf("
" - "" + wc_printf("
" "
\n"); wc_printf(_("This installation of Citadel was built without support for server-side mail filtering." "
Please contact your system administrator if you require this feature.
")); - wc_printf("
\n"); + wc_printf("\n"); wDumpContent(1); } @@ -106,8 +105,7 @@ void display_sieve(void) wc_printf("
\n"); - wc_printf("
" - "" + wc_printf("
" "
\n"); @@ -205,7 +203,7 @@ void display_sieve(void) wc_printf("\n", _("Cancel")); wc_printf("\n"); - wc_printf("
\n"); + wc_printf("\n"); wc_printf(" -
diff --git a/webcit/static/t/floors.html b/webcit/static/t/floors.html index bb0a0c3c1..37e976ee2 100644 --- a/webcit/static/t/floors.html +++ b/webcit/static/t/floors.html @@ -4,7 +4,7 @@

-
+
@@ -27,5 +27,4 @@
 
-
diff --git a/webcit/static/t/iconbar/edit.html b/webcit/static/t/iconbar/edit.html index 2ca84b9cb..990919655 100644 --- a/webcit/static/t/iconbar/edit.html +++ b/webcit/static/t/iconbar/edit.html @@ -5,7 +5,6 @@
-
@@ -95,5 +94,5 @@
"> ">
- + diff --git a/webcit/static/t/knrooms.html b/webcit/static/t/knrooms.html index ae96574e4..4a78740bb 100644 --- a/webcit/static/t/knrooms.html +++ b/webcit/static/t/knrooms.html @@ -26,23 +26,19 @@ OnChange="location.href=roomlistomatic.newview.options[selectedIndex].value">
-
-
-
-