Commit 1c9d49c2 authored by moodler's avatar moodler
Browse files

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

parent fcf9577a
......@@ -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;
......
......@@ -124,8 +124,8 @@ h4 {
font-weight: bold;
}
.headingblock .link {
font-size: 0.9em;
#site-index .subscribelink {
font-size: 0.8em;
}
.files .file {
......
......@@ -1318,7 +1318,7 @@ body#course-user .section h2 {
margin:0;
}
.headingblock .link {
#site-index .subscribelink {
text-align:right;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment