Skip to content

Commit

Permalink
More tiny modifications to forum post headers (they now can wrap)
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Sep 27, 2003
1 parent 6f4bfe9 commit 834f1c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mod/forum/lib.php
Expand Up @@ -1058,13 +1058,13 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link
echo "</td>";

if ($post->parent) {
echo "<td nowrap bgcolor=\"$THEME->cellheading\" class=\"forumpostheader\" width=\"100%\">";
echo "<td bgcolor=\"$THEME->cellheading\" class=\"forumpostheader\" width=\"100%\">";
} else {
echo "<td nowrap bgcolor=\"$THEME->cellheading2\" class=\"forumpostheadertopic\" width=\"100%\">";
echo "<td bgcolor=\"$THEME->cellheading2\" class=\"forumpostheadertopic\" width=\"100%\">";
}
echo "<p>";
echo "<font size=3><b>$post->subject</b></font><br>";
echo "<font size=1>";
echo "<font size=3><b>$post->subject</b></font><br \>";
echo "<font size=2>";
$by->name = "<a href=\"$CFG->wwwroot/user/view.php?id=$post->userid&course=$courseid\">$post->firstname $post->lastname</a>";
$by->date = userdate($post->modified);
print_string("bynameondate", "forum", $by);
Expand Down

0 comments on commit 834f1c7

Please sign in to comment.