mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
FIxes for news forum heading on home page (Strict) MDL-7861
This commit is contained in:
parent
fcf9577a28
commit
1c9d49c21c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user