mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
Fixed some width="*" in layout tables
This commit is contained in:
parent
479eea4149
commit
a06c8c2cd1
@ -97,7 +97,7 @@ if (!empty($SITE->fullname)) {
|
||||
echo '<td style="width: ' . $preferred_width_left . 'px;" id="left-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
echo '</td>';
|
||||
echo '<td id="middle-column" width="*">';
|
||||
echo '<td id="middle-column">';
|
||||
} else {
|
||||
|
||||
print_header();
|
||||
|
@ -48,16 +48,16 @@
|
||||
$blocks = blocks_setup($PAGE,BLOCKS_PINNED_TRUE);
|
||||
|
||||
$blocks_preferred_width = bounded_number(180, blocks_preferred_width($blocks[BLOCK_POS_LEFT]), 210);
|
||||
echo '<td style="vertical-align: top; width: '.$blocks_preferred_width.'px;" id="left-column">';
|
||||
echo '<td valign="top" style="width: '.$blocks_preferred_width.'px;" id="left-column">';
|
||||
|
||||
blocks_print_group($PAGE, $blocks, BLOCK_POS_LEFT);
|
||||
} else {
|
||||
echo '<td style="vertical-align: top;" id="left-column">';
|
||||
echo '<td valign="top" id="left-column">';
|
||||
}
|
||||
echo '</td>';
|
||||
|
||||
|
||||
echo '<td valign="top" width="*" id="middle-column">';
|
||||
echo '<td valign="top" id="middle-column">';
|
||||
print_simple_box_start('center');
|
||||
print_heading($strheading);
|
||||
echo '<form method="post" action="'.$CFG->wwwroot.'/'.$CFG->admin.'/stickyblocks.php">'
|
||||
@ -70,10 +70,10 @@
|
||||
|
||||
|
||||
if (!empty($pt)) {
|
||||
echo '<td style="vertical-align: top; width: '.$blocks_preferred_width.'px;" id="left-column">';
|
||||
echo '<td valign="top" style="width: '.$blocks_preferred_width.'px;" id="left-column">';
|
||||
blocks_print_group($PAGE, $blocks, BLOCK_POS_RIGHT);
|
||||
}
|
||||
echo '<td style="vertical-align: top;" id="left-column">';
|
||||
echo '<td valign="top" id="left-column">';
|
||||
echo '</td>';
|
||||
|
||||
echo '</tr></table>';
|
||||
|
@ -2386,7 +2386,7 @@ function admin_externalpage_print_header($adminroot) {
|
||||
echo '<td style="width: ' . $preferred_width_left . 'px;" id="left-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
echo '</td>';
|
||||
echo '<td id="middle-column" width="*">';
|
||||
echo '<td id="middle-column">';
|
||||
} else {
|
||||
print_header();
|
||||
}
|
||||
|
@ -50,7 +50,7 @@
|
||||
echo '</td>';
|
||||
}
|
||||
|
||||
echo '<td valign="top" width="*" id="middle-column">';
|
||||
echo '<td valign="top" id="middle-column">';
|
||||
|
||||
/// The main overview in the middle of the page
|
||||
$courses = get_my_courses($USER->id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user