mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-14270 mode selector alignment for single discussion forums; merged from MOODLE_19_STABLE
This commit is contained in:
parent
948091f460
commit
b3cdbc240d
@ -3458,7 +3458,9 @@ function forum_print_rating_menu($postid, $userid, $scale, $myrating=NULL) {
|
||||
*/
|
||||
function forum_print_mode_form($id, $mode, $forumtype='') {
|
||||
if ($forumtype == 'single') {
|
||||
echo '<div class="forummode">';
|
||||
popup_form("view.php?f=$id&mode=", forum_get_layout_modes(), "mode", $mode, "");
|
||||
echo '</div>';
|
||||
} else {
|
||||
popup_form("discuss.php?d=$id&mode=", forum_get_layout_modes(), "mode", $mode, "");
|
||||
}
|
||||
|
@ -3371,6 +3371,10 @@ table.presets {
|
||||
*** Modules: Forum
|
||||
***/
|
||||
|
||||
#mod-forum-view .forummode {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.forumheaderlist,
|
||||
.forumpost {
|
||||
border-width:1px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user