return;
}
- wc_printf("<table class=\"auth_validate\"><tr><td>\n");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"auth_validate\"><tr><td>\n");
wc_printf("<div id=\"validate\">");
safestrncpy(user, &buf[4], sizeof user);
wc_printf("<br />\n");
wc_printf("</div>\n");
- wc_printf("</td></tr></table>\n");
+ wc_printf("</td></tr></table></div>\n");
wDumpContent(1);
}
int start_index = 0;
int end_index = 0;
+ wc_printf("<div class=\"fix_scrollbar_bug\">");
+
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);
}
}
+ wc_printf("</div>\n");
return(0);
}
struct blogview *BLOG = (struct blogview *) *ViewSpecific;
int i;
+ wc_printf("<div class=\"fix_scrollbar_bug\">");
+
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);
}
}
+ wc_printf("</div>\n");
return(0);
}
}
/* Outer table (to get the background color) */
- wc_printf("<table class=\"calendar\"> \n <tr><td>");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"calendar\"> \n <tr><td>");
wc_printf("<table width=\"100%%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>\n");
}
wc_printf("</table>" /* end of inner table */
- "</td></tr></table>\n" /* end of outer table */
- );
+ "</td></tr></table>" /* end of outer table */
+ "</div>\n");
}
/*
}
/* Outer table (to get the background color) */
- wc_printf("<table width=\"100%%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" "
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table width=\"100%%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" "
"bgcolor=#204B78><tr><td>\n");
wc_printf("<table width=\"100%%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>\n");
}
wc_printf("</table>" /* end of inner table */
- "</td></tr></table>\n" /* end of outer table */
- );
+ "</td></tr></table>" /* end of outer table */
+ "</div>\n");
}
/*
++tomorrow.day;
tomorrow = icaltime_normalize(tomorrow);
+ wc_printf("<div class=\"fix_scrollbar_bug\">");
+
/* Inner table (the real one) */
wc_printf("<table class=\"calendar\" id=\"inner_day\"><tr> \n");
embeddable_mini_calendar(year, month);
wc_printf("</td></tr>"); /* end stuff-on-the-right */
- wc_printf("</table>\n"); /* end of inner table */
+
+ wc_printf("</table>" /* end of inner table */
+ "</div>");
}
wc_printf("<div id=\"content\" class=\"service\">\n");
+ wc_printf("<div class=\"fix_scrollbar_bug\">");
+
/************************************************************
* Uncomment this to see the UID in calendar events for debugging
wc_printf("UID == ");
end_tab(3, 3);
wc_printf("</form>\n");
+ wc_printf("</div>\n"); /* end 'fix_scrollbar_bug' div */
+
StrBufAppendPrintf(WC->trailing_javascript,
"eventEditAllDay(); \n"
"RecurrenceShowHide(); \n"
output_headers(1, 1, 1, 0, 0, 0);
+ wc_printf("<div class=\"fix_scrollbar_bug\">");
+
do_template("beginbox_1", NULL);
StrBufAppendBufPlain(WCC->WBuf, _("Manage Account/OpenID Associations"), -1, 0);
do_template("beginbox_2", NULL);
}
do_template("endbox", NULL);
+ wc_printf("</div>");
wDumpContent(2);
}
wc_printf("<div id=\"content\" class=\"service\">\n");
- wc_printf("<table class=\"paging_background\"><tr><td>\n");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"paging_background\"><tr><td>\n");
wc_printf(_("Send an instant message to: "));
escputs(recp);
wc_printf("<br /><a href=\"javascript:window.close();\"%s</A>\n", _("Cancel"));
wc_printf("</FORM></CENTER>\n");
- wc_printf("</td></tr></table>\n");
+ wc_printf("</td></tr></table></div>\n");
wDumpContent(1);
}
wc_printf("<div id=\"content\" class=\"service\">\n");
- wc_printf("<form method=\"post\" action=\"setup_wizard\">\n");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<form method=\"post\" action=\"setup_wizard\">\n"
+ );
wc_printf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC->nonce);
wc_printf("<div align=center>"
wc_printf("<INPUT TYPE=\"submit\" NAME=\"step\" VALUE=\"Next\">\n");
wc_printf("<INPUT TYPE=\"submit\" NAME=\"step\" VALUE=\"Finish\">\n");
- wc_printf("</form></div>\n");
+ wc_printf("</form></div></div>\n");
wDumpContent(1);
}
wc_printf("<div id=\"content\" class=\"service\">\n");
- wc_printf("<table class=\"sieve_background\">"
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"sieve_background\">"
"<tr><td valign=top>\n");
wc_printf(_("This installation of Citadel was built without support for server-side mail filtering."
"<br>Please contact your system administrator if you require this feature.<br>"));
- wc_printf("</td></tr></table>\n");
+ wc_printf("</td></tr></table></div>\n");
wDumpContent(1);
}
wc_printf("<div id=\"content\" class=\"service\">\n");
- wc_printf("<table class=\"sieve_background\">"
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"sieve_background\">"
"<tr><td valign=top>\n");
wc_printf("<input type=\"submit\" name=\"cancel_button\" value=\"%s\">\n", _("Cancel"));
wc_printf("</div></form>\n");
- wc_printf("</td></tr></table>\n");
+ wc_printf("</td></tr></table></div>\n");
wc_printf("<script type=\"text/javascript\"> \n"
"ToggleSievePanels(); \n"
wc_printf("<div id=\"content\" class=\"service\">\n");
- wc_printf("<table class=\"smtpqueue_background\">"
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"smtpqueue_background\">"
"<tr><td valign=top>\n");
wc_printf("<div id=\"smtpqueue_inner_div\">"
"<div align=\"center\">"
"<a href=\"javascript:RefreshSMTPqueueDisplay();\">%s</a>"
"</div>"
- "</td></tr></table>\n", _("Refresh this page")
+ "</td></tr></table></div>\n", _("Refresh this page")
);
StrBufAppendPrintf(WC->trailing_javascript, "RefreshSMTPqueueDisplay();\n");
overflow-y: auto;
}
+.fix_scrollbar_bug {
+ margin-right: 1px; /* Gecko and other non-broken browsers */
+ font-size: 90%; /* Most stuff needs to be a little smaller than normal. */
+}
+
.boxcontent table {
margin: 0;
padding: 0;
#preview_pane { overflow: auto }
+.fix_scrollbar_bug {
+ margin-right: 1px; /* Gecko and other non-broken browsers */
+ font-size: 90%; /* Most stuff needs to be a little smaller than normal. */
+}
+
.ctdlTemplate { display: none }
#ctdlContextMenu {
</div>
<div id="content" class="service">
+ <div class="fix_scrollbar_bug">
<??("COND:AIDE", 1)>
<table class="mainmenu_background"><tr><td>
</tr>
</table>
<??("X", 1)>
+ </div>
<?=("trailing")>
</h1>
</div>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<table border=0 width=100% cellspacing="10" cellpadding="10"> <tr><td valign=top width="50%">
</h1>
</div>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<table>
<tr valign=top><td width=50% valign="top">
<??("COND:AIDE", 3)><?DOBOXED("aide_global_config", _("Global Configuration"))><??("X", 3)>
<??("COND:AIDE", 4)><?DOBOXED("aide_restart", _("Shutdown Citadel"))><??("X", 3)>
</td><td width=50% valign="top">
<?DOBOXED("aide_floorconfig", _("Rooms and Floors"))>
-</td></tr></table>
+</td></tr></table></div>
<?=("trailing")>
<div id="global">
<?=("important_msg")>
<div id="content" class="service">
- <table><td width=50% valign="top"><tr>
- <?DOBOXED(="aide_serverrestart_box", _("Restart Citadel"))>
- </td></tr></table>
+ <div class="fix_scrollbar_bug">
+ <table><td width=50% valign="top"><tr>
+ <?DOBOXED(="aide_serverrestart_box", _("Restart Citadel"))>
+ </td></tr></table>
+ </div>
</div>
<?=("trailing")>
<div id="global">
<?=("important_msg")>
<div id="content" class="service">
- <table><td width=50% valign="top"><tr>
- <?DOBOXED("box_serverrestartpagedo")>
- </td></tr></table>
+ <div class="fix_scrollbar_bug">
+ <table><td width=50% valign="top"><tr>
+ <?DOBOXED("box_serverrestartpagedo")>
+ </td></tr></table>
+ </div>
</div>
<?=("trailing")>
<div id="banner">
<h1><?_("Site configuration")></h1>
</div>
+<div id="content" class="service fix_scrollbar_bug">
<?!("COND:AIDE", 1)><?_("You need to be aide to view this.")><?!("X", 1)>
<??("COND:AIDE", 2)>
<table border="0" cellspacing="0" cellpadding="0" ><tr><td>
</form>
</td></tr></table>
<??("X", 2)>
+</div>
<?=("trailing")>
<h1><?_("Edit user account: ")><?USERLIST:USERNAME("X")></h1>
</div>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<table class="useredit_background"><tr><td>
<form method="POST" action="edituser">
<input type="hidden" name="username" value="<?USERLIST:USERNAME("X")>">
</table>
<input type="submit" name="ok_button" value="<?_("Save changes")>"> <input type="submit" name="cancel" value="<?_("Cancel")>"><br /><br /></form>
</center>
-</td></tr></table>
+</td></tr></table></div>
<?=("trailing")>
</div>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<?!("COND:AIDE", 1)><?_("You need to be aide to view this.")><?!("X", 1)>
<??("COND:AIDE", 2)>
</td></tr>
</table>
<??("X", 2)>
+</div>
<?=("trailing")>
<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<?ROOMBANNER>
<div id="content">
+<div class="fix_scrollbar_bug">
<table width="100%" cellspacing="10" cellpadding="0">
<tr><td colspan="2" class="advanced">
<?DOBOXED("menu_basic_commands", _("Basic commands"))>
</td></tr>
</table>
</div>
+</div>
<?=("trailing")>
-<div class="message"
+<div class="fix_scrollbar_bug message"
onMouseOver=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="visible"
onMouseOut=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="hidden" >
<div class="message_header">
<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<?ROOMBANNER>
<div id="content">
-<div class="message"><form name="enterform" accept-charset="UTF-8" enctype="multipart/form-data" method="POST" action="post">
+<div class="fix_scrollbar_bug message "><form name="enterform" accept-charset="UTF-8" enctype="multipart/form-data" method="POST" action="post">
<input type="hidden" name="postseq" value="<?DATE:NOW:NO>">
<input type="hidden" name="return_to" value="<?BSTR("return_to")>">
<input type="hidden" name="nonce" value="<?NONCE>">
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
+
<table class="downloads_background">
<tr>
<th><?_("Filename")> <a href="do_template?template=files?SortOrder=<?SORT:ORDER("filename")>&SortBy=<?SORT:NEXT("filename")>"><img border="0" src="<?SORT:ICON("filename")>" /></a> </th>
</h1>
</div>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<table class="downloads_background"><tr><td>
<script type="text/javascript" language="JavaScript" > nvar fadeimages=new Array()
<?ITERATE("ROOM:FILES", ="files_section_onefile_picview")>
<script type="text/javascript" >
new fadeshow(fadeimages, 500, 400, 0, 3000, 1, "R");
</script></td><th>
+</div>
<?=("trailing")>
<h1><?_("Add/change/delete floors")></h1>
</div>
-<div id="content" class="service">
+<div id="content" class="service fix_scrollbar_bug">
<table border="1" width="100%" bgcolor="#ffffff">
<tr>
<th><?_("Floor number")></th>
<td> </td>
</tr>
</table>
+</div>
<?=("trailing")>
<?_("Customize the icon bar")>
</h1></div>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<form method="post" action="commit_iconbar">
<input type="hidden" name="nonce" value="<?NONCE>">
<table class="altern" >
<center><input type="submit" name="ok_button" value="<?_("Save changes")>"> <input type="submit" name="cancel_button" value="<?_("Cancel")>"></center>
-</form>
+</form></div>
<?=("trailing")>
<??("COND:PREF", 2, "roomlistview", "folders")>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<table BORDER=0 WIDTH=96%% CELLPADDING=5>
<?ITERATE("LKRA", ="knrooms_rooms")>
</table>
+</div>
<??("X", 2)>
<?!("COND:PREF", 3, "roomlistview", "folders")>
<div id="content" class="service">
+<div class="fix_scrollbar_bug">
<div class="box">
<div class="boxlabel"><?_("Room Listing")></div>
<div class="boxcontent">
<div id="roomlist_knrooms"></div>
</div>
</div>
+</div>
<?!("X", 3)>
<script type="text/javascript">
FillRooms(KNRoomsRoomList);
<div id="banner">
<?=("roombanner")>
</div>
+<div id="content" class="service fix_scrollbar_bug">
+
<?=("beginbox_1")><?_("Create a new room")><?=("beginbox_2")>
<?=("endbox")>
+
+</div>
<?=("trailing")>
<??("X", 11)>
<div id="banner">
<?=("roombanner")>
</div>
-<div id="content" class="service">
+<div id="content" class="service fix_scrollbar_bug">
<?=("beginbox_1")><?_("Go to a hidden room")><?=("beginbox_2")>
<p><?_("If you know the name of a hidden (guess-name) or passworded room, you can enter that room by typing its name below. Once you gain access to a private room, it will appear in your regular room listings so you don‘t have to keep returning here.")></p>
<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<?ROOMBANNER>
+<div id="content" class="service fix_scrollbar_bug">
<table border="0" cellspacing="0" cellpadding="0" ><tr><td>
<?DOTABBED(_("Administration"), ="room_edit_tab_admin",
"", ="room_edit_submit")>
</td></tr></table>
+</div>
<?=("addressbook_popup")>
<?=("trailing")>
-<table border="0" cellspacing="0" cellpadding="0"><tr><td>
- <form method="post" action="siteconfig">
- <input type="hidden" name="nonce" value= '<?NONCE>' />
- <?DOTABBED(_("Administration"), "tab_editroom_admin",
- _("Configuration"), "tab_editroom_admin",
- _("Message expire policy"), "tab_editroom_expire",
- _("Access controls"), "tab_editroom_access",
- _("Sharing"), "tab_editroom_sharing",
- _("Mailing list service"), "tab_editroom_listserv",
- _("Remote retrieval"), "tab_editroom_feeds",
- "", "submit_editroom")>
- </form>
-</td></tr></table>
+<div class="fix_scrollbar_bug">
+ <table border="0" cellspacing="0" cellpadding="0"><tr><td>
+ <form method="post" action="siteconfig">
+ <input type="hidden" name="nonce" value= '<?NONCE>' />
+ <?DOTABBED(_("Administration"), "tab_editroom_admin",
+ _("Configuration"), "tab_editroom_admin",
+ _("Message expire policy"), "tab_editroom_expire",
+ _("Access controls"), "tab_editroom_access",
+ _("Sharing"), "tab_editroom_sharing",
+ _("Mailing list service"), "tab_editroom_listserv",
+ _("Remote retrieval"), "tab_editroom_feeds",
+ "", "submit_editroom")>
+ </form>
+ </td></tr></table>
+</div>
+
+
<div id="banner">
<?=("roombanner")>
</div>
-<div id="content" class="service">
+<div id="content" class="service fix_scrollbar_bug">
<?=("beginbox_1")><?_("Zapped (forgotten) rooms")><?=("beginbox_2")>
<?ITERATE("LZRM", ="room_zap_entry")>
</div>
</div>
<div id="resize_msglist" onMouseDown="CtdlResizeMsgListMouseDown(event)">
-<hr>
-</div>
+<div class="fix_scrollbar_bug"> <hr>
+</div></div>
<div id="preview_pane">
-<div class="message"
+<div class="fix_scrollbar_bug message"
onMouseOver=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="visible"
onMouseOut=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="hidden" >
<?CURRENT_USER>
</title></head>
<body onLoad=" window.print(); window.close(); ">
-<div class="message"
+<div class="fix_scrollbar_bug message"
<div class="message_header"><span><?MAIL:SUMM:DATEFULL></span>
<span><?MAIL:SUMM:DATEFULL></span>
<?_("from ")>
</li></ul>
</div>
</div>
-<div id="content" class="who_is_online">
+<div id="content" class="fix_scrollbar_bug who_is_online">
<?DOBOXED(="who_box_list_static", ="who_list_static_header")>
</div>
<script type="text/javascript">
icalproperty *p;
wcsession *WCC = WC;
- wc_printf("<table class=\"calendar_view_background\"><tbody id=\"taskview\">\n<tr>\n<th>");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"calendar_view_background\"><tbody id=\"taskview\">\n<tr>\n"
+ "<th>");
wc_printf(_("Completed?"));
wc_printf("</th><th>");
wc_printf(_("Name of task"));
wc_printf("</tr>");
}
- wc_printf("</tbody></table>\n");
+ wc_printf("</tbody></table></div>\n");
/* Free the list */
DeleteHash(&WC->disp_cal_items);
goto DONE;
}
- wc_printf("<table class=\"userlist_background\"><tr><td>\n");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"userlist_background\"><tr><td>\n");
wc_printf("<tr><th>%s</th><th>%s</th><th>%s</th>"
"<th>%s</th><th>%s</th><th>%s</th></tr>",
_("User Name"),
extract_long(buf, 4), extract_long(buf, 5));
}
- wc_printf("</table>\n");
+ wc_printf("</table></div>\n");
DONE: wDumpContent(1);
}
wc_printf("<div id=\"content\" class=\"service\">\n");
- wc_printf("<table class=\"userlist_background\"><tr><td>\n");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"userlist_background\"><tr><td>\n");
serv_printf("OIMG _userpic_|%s", who);
serv_getln(buf, sizeof buf);
escputs(buf);
wc_printf("</a>\n");
- wc_printf("</td></tr></table>\n");
+ wc_printf("</td></tr></table></div>\n");
wDumpContent(1);
}
wc_printf("\">\n");
}
- wc_printf("<table class=\"vcard_edit_background\"><tr><td>\n");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"vcard_edit_background\"><tr><td>\n");
wc_printf("<table border=0><tr>"
"<td>%s</td>"
StrBuf *author = NewStrBuf();
StrBuf *node = NewStrBuf();
- wc_printf("<table class=\"wiki_history_background\">");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"wiki_history_background\">"
+ );
wc_printf("<th>%s</th>", _("Date"));
wc_printf("<th>%s</th>", _("Author"));
if (GetServerStatus(Buf, NULL) == 1) {
StrBuf *pagetitle = NewStrBuf();
- wc_printf("<table class=\"wiki_pagelist_background\">");
+ wc_printf("<div class=\"fix_scrollbar_bug\">"
+ "<table class=\"wiki_pagelist_background\">"
+ );
+
wc_printf("<th>%s</th>", _("Page title"));
while(StrBuf_ServGetln(Buf), strcmp(ChrPtr(Buf), "000")) {