From 80f0f2b99774b570d998109d565aecf46df5c06c Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 24 Sep 2010 21:50:32 -0400 Subject: [PATCH] Revert "Removed the "fix_scrollbarbug" div and all references to it." This reverts commit 85b8087bf603edb5320f0bc9da18ed2294204ca2. --- 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, 141 insertions(+), 60 deletions(-) diff --git a/webcit/auth.c b/webcit/auth.c index 80f7ddbb0..cb2917b67 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -645,7 +645,8 @@ void validate(void) return; } - wc_printf("
\n"); + wc_printf("
" + "
\n"); wc_printf("
"); safestrncpy(user, &buf[4], sizeof user); @@ -728,7 +729,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 a4b707841..3472b99d8 100644 --- a/webcit/bbsview_renderer.c +++ b/webcit/bbsview_renderer.c @@ -180,6 +180,8 @@ 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); @@ -351,6 +353,7 @@ 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 dc376b665..760045e95 100644 --- a/webcit/blogview_renderer.c +++ b/webcit/blogview_renderer.c @@ -111,6 +111,8 @@ 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); @@ -134,6 +136,7 @@ int blogview_render(SharedMessageStatus *Stat, } } + wc_printf("
\n"); return(0); } diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index f71c375f8..c40b5a064 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -569,7 +569,8 @@ 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"); @@ -661,8 +662,8 @@ void calendar_month_view(int year, int month, int day) { } wc_printf("
" /* end of inner table */ - "
\n" /* end of outer table */ - ); + "
" /* end of outer table */ + "\n"); } /* @@ -704,7 +705,8 @@ void calendar_brief_month_view(int year, int month, int day) { } /* Outer table (to get the background color) */ - wc_printf("" + "
\n"); wc_printf("\n"); @@ -783,8 +785,8 @@ void calendar_brief_month_view(int year, int month, int day) { } wc_printf("
" /* end of inner table */ - "
\n" /* end of outer table */ - ); + "" /* end of outer table */ + "\n"); } /* @@ -1161,6 +1163,8 @@ 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"); @@ -1324,7 +1328,9 @@ void calendar_day_view(int year, int month, int day) { embeddable_mini_calendar(year, month); wc_printf(""); /* end stuff-on-the-right */ - wc_printf("
\n"); /* end of inner table */ + + wc_printf("" /* end of inner table */ + "
"); } diff --git a/webcit/event.c b/webcit/event.c index 56cee1e07..6106ec1db 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -171,6 +171,8 @@ 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 == "); @@ -770,6 +772,8 @@ 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 efe4280ca..8842e8810 100644 --- a/webcit/openid.c +++ b/webcit/openid.c @@ -13,6 +13,8 @@ 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); @@ -52,6 +54,7 @@ void display_openids(void) } do_template("endbox", NULL); + wc_printf("
"); wDumpContent(2); } diff --git a/webcit/paging.c b/webcit/paging.c index 7c632fb9f..307e225a2 100644 --- a/webcit/paging.c +++ b/webcit/paging.c @@ -38,7 +38,8 @@ void display_page(void) wc_printf("
\n"); - wc_printf("
\n"); + wc_printf("
" + "
\n"); wc_printf(_("Send an instant message to: ")); escputs(recp); @@ -66,7 +67,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 62dafbca1..6ad0cc2e9 100644 --- a/webcit/setup_wizard.c +++ b/webcit/setup_wizard.c @@ -30,7 +30,9 @@ void do_setup_wizard(void) wc_printf("
\n"); - wc_printf("
\n"); + wc_printf("
" + "\n" + ); wc_printf("\n", WC->nonce); wc_printf("
" @@ -41,7 +43,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 40af7f54d..ae08f608a 100644 --- a/webcit/sieve.c +++ b/webcit/sieve.c @@ -21,13 +21,14 @@ 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); } @@ -105,7 +106,8 @@ void display_sieve(void) wc_printf("
\n"); - wc_printf("" + wc_printf("
" + "
" "
\n"); @@ -203,7 +205,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 37e976ee2..bb0a0c3c1 100644 --- a/webcit/static/t/floors.html +++ b/webcit/static/t/floors.html @@ -4,7 +4,7 @@

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