fix for MDL-5829, blocks on blog page can not be minimized

This commit is contained in:
toyomoyo
2007-02-15 03:20:28 +00:00
parent c3c9612c1c
commit 1e35f5f18e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ print '<!-- End page content -->'."\n";
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td style="vertical-align: top; width: '. $preferred_width_right .'px;">';
echo '<td style="vertical-align: top; width: '. $preferred_width_right .'px;" id="right-column">';
echo '<!-- Begin right side blocks -->'."\n";
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
print_spacer(1, 120, true);
+2 -2
View File
@@ -214,12 +214,12 @@ require_once($CFG->dirroot .'/user/tabs.php');
/// Layout the whole page as three big columns.
print '<table border="0" cellpadding="3" cellspacing="0" width="100%">' . "\n";
print '<table border="0" cellpadding="3" cellspacing="0" width="100%" id="layout-table">' . "\n";
print '<tr valign="top">' . "\n";
/// The left column ...
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
print '<td style="vertical-align: top; width: '. $preferred_width_left .'px;">' . "\n";
print '<td style="vertical-align: top; width: '. $preferred_width_left .'px;" id="left-column">' . "\n";
print '<!-- Begin left side blocks -->' . "\n";
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
print '<!-- End left side blocks -->' . "\n";