Skip to content

Commit

Permalink
Fixed some width="*" in layout tables
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Sep 25, 2006
1 parent 479eea4 commit a06c8c2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion admin/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
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();
Expand Down
10 changes: 5 additions & 5 deletions admin/stickyblocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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">'
Expand All @@ -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>';
Expand Down
2 changes: 1 addition & 1 deletion lib/adminlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion my/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a06c8c2

Please sign in to comment.