]> git.mjollnir.org Git - moodle.git/commitdiff
fix for MDL-5829, blocks on blog page can not be minimized
authortoyomoyo <toyomoyo>
Thu, 15 Feb 2007 03:21:05 +0000 (03:21 +0000)
committertoyomoyo <toyomoyo>
Thu, 15 Feb 2007 03:21:05 +0000 (03:21 +0000)
blog/footer.php
blog/header.php

index 85f72f698cfac4faaee04a3d40faa778a7898ad0..046e32a697e4459d7266ca34422e062e1eab3939 100644 (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);
index 71e4402c8bc26aea964dd812e1e9a40fd414c878..f99ec1cd1329f3ca7324b7f33fdbc0c65461d41a 100755 (executable)
@@ -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";