FIxes for news forum heading on home page (Strict) MDL-7861

This commit is contained in:
moodler 2007-01-05 16:10:13 +00:00
parent fcf9577a28
commit 1c9d49c21c
3 changed files with 6 additions and 9 deletions

View File

@ -177,15 +177,12 @@
} else {
$subtext = get_string('subscribe', 'forum');
}
$headertext = '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>'.
'<td><div class="title">'.$newsforum->name.'</div></td>'.
'<td><div class="link"><a href="mod/forum/subscribe.php?id='.$newsforum->id.'">'.$subtext.'</a></div></td>'.
'</tr></table>';
print_heading_block($newsforum->name);
echo '<div class="subscribelink"><a href="mod/forum/subscribe.php?id='.$newsforum->id.'">'.$subtext.'</a></div>';
} else {
$headertext = $newsforum->name;
print_heading_block($newsforum->name);
}
print_heading_block($headertext);
forum_print_latest_discussions($SITE, $newsforum, $SITE->newsitems, 'plain', 'p.modified DESC');
}
break;

View File

@ -124,8 +124,8 @@ h4 {
font-weight: bold;
}
.headingblock .link {
font-size: 0.9em;
#site-index .subscribelink {
font-size: 0.8em;
}
.files .file {

View File

@ -1318,7 +1318,7 @@ body#course-user .section h2 {
margin:0;
}
.headingblock .link {
#site-index .subscribelink {
text-align:right;
}