mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
Print Blocks admin down the bottom ... hopefully less
confusion for new teachers just trying to add activities Also, the new blocks appear there anyway
This commit is contained in:
parent
0948ab2609
commit
9743a982b3
2 changed files with 2 additions and 2 deletions
|
@ -279,10 +279,10 @@
|
||||||
// The right column
|
// The right column
|
||||||
if(block_have_active($rightblocks) || $editing) {
|
if(block_have_active($rightblocks) || $editing) {
|
||||||
echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
|
echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
|
||||||
|
print_course_blocks($course, $rightblocks, BLOCK_RIGHT);
|
||||||
if ($editing && !empty($missingblocks)) {
|
if ($editing && !empty($missingblocks)) {
|
||||||
block_print_blocks_admin($course->id, $missingblocks);
|
block_print_blocks_admin($course->id, $missingblocks);
|
||||||
}
|
}
|
||||||
print_course_blocks($course, $rightblocks, BLOCK_RIGHT);
|
|
||||||
print_spacer(1, 120, true);
|
print_spacer(1, 120, true);
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -265,10 +265,10 @@
|
||||||
// The right column
|
// The right column
|
||||||
if(block_have_active($rightblocks) || $editing) {
|
if(block_have_active($rightblocks) || $editing) {
|
||||||
echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
|
echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
|
||||||
|
print_course_blocks($course, $rightblocks, BLOCK_RIGHT);
|
||||||
if ($editing && !empty($missingblocks)) {
|
if ($editing && !empty($missingblocks)) {
|
||||||
block_print_blocks_admin($course->id, $missingblocks);
|
block_print_blocks_admin($course->id, $missingblocks);
|
||||||
}
|
}
|
||||||
print_course_blocks($course, $rightblocks, BLOCK_RIGHT);
|
|
||||||
print_spacer(1, 120, true);
|
print_spacer(1, 120, true);
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue