- Fix form layouting issue in IE browser series by unpacking it from the table cell

- Fix missing newline after "Send message" button in authorcol
- Added CSS class forum_toplinks for links at the top of forum pages


svn path=/trunk/boinc/; revision=16048
This commit is contained in:
Janus B. Kristensen 2008-09-25 10:48:49 +00:00
parent ff29445385
commit e2b48b6b34
2 changed files with 6 additions and 6 deletions

View File

@ -530,7 +530,7 @@ function show_post(
$url = "pm.php?action=new&userid=".$user->id;
$name = $user->name;
show_button($url, "Send message", "Send $name a private message");
echo "Joined: ", gmdate('M j y', $user->create_time), "<br>";
echo "<br />Joined: ", gmdate('M j y', $user->create_time), "<br>";
if (!isset($user->nposts)) {
$user->nposts = BoincPost::count("user=$user->id");

View File

@ -122,8 +122,9 @@ if ($forum->parent_type == 0) {
echo "
<p>
<form action=\"forum_thread.php\">
<table width=\"100%\" cellspacing=0 cellpadding=0>
<tr>
<tr class=\"forum_toplinks\">
<td align=\"left\">
";
@ -168,15 +169,14 @@ if (is_moderator($logged_in_user, $forum)) {
}
// Display a box that allows the user to select sorting of the posts
echo "</td><td align=right style=\"border:0px\">
<form action=\"forum_thread.php\">
echo "</td><td align=\"right\">
<input type=\"hidden\" name=\"id\" value=\"", $thread->id, "\">
Sort
";
echo select_from_array("sort", $thread_sort_styles, $sort_style);
echo "<input type=submit value=Sort>
</form>
</td></tr></table>
</td></tr></table></form>
";
// Here is where the actual thread begins.