mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Pass the whole $course variable to block_print_blocks_admin()
so we have more information.
This commit is contained in:
parent
a2ebe6a55c
commit
6236ed990d
5 changed files with 8 additions and 8 deletions
|
@ -57,7 +57,7 @@
|
|||
echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
|
||||
print_course_blocks($course, $rightblocks, BLOCK_RIGHT);
|
||||
if ($editing && !empty($missingblocks)) {
|
||||
block_print_blocks_admin($course->id, $missingblocks);
|
||||
block_print_blocks_admin($course, $missingblocks);
|
||||
}
|
||||
print_spacer(1, 120, true);
|
||||
echo '</td>';
|
||||
|
|
|
@ -281,7 +281,7 @@
|
|||
echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
|
||||
print_course_blocks($course, $rightblocks, BLOCK_RIGHT);
|
||||
if ($editing && !empty($missingblocks)) {
|
||||
block_print_blocks_admin($course->id, $missingblocks);
|
||||
block_print_blocks_admin($course, $missingblocks);
|
||||
}
|
||||
print_spacer(1, 120, true);
|
||||
echo '</td>';
|
||||
|
|
|
@ -267,7 +267,7 @@
|
|||
echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
|
||||
print_course_blocks($course, $rightblocks, BLOCK_RIGHT);
|
||||
if ($editing && !empty($missingblocks)) {
|
||||
block_print_blocks_admin($course->id, $missingblocks);
|
||||
block_print_blocks_admin($course, $missingblocks);
|
||||
}
|
||||
print_spacer(1, 120, true);
|
||||
echo '</td>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue