]> git.mjollnir.org Git - moodle.git/commitdiff
Accessibility: added class="weekscss", removed commented code.
authornfreear <nfreear>
Tue, 14 Mar 2006 15:11:30 +0000 (15:11 +0000)
committernfreear <nfreear>
Tue, 14 Mar 2006 15:11:30 +0000 (15:11 +0000)
course/format/weekscss/format.php

index 6ab3f1e13d478217ab4041aab8b628d2cd5b3a2f..bb91d93563bcc2971678049caf38ae64c7857045 100644 (file)
 
 
 /// Layout the whole page as three big columns.
-    ///echo '<table id="layout-table" cellspacing="0"><tr>';
-    echo '<div id="layout-table">';
+    echo '<div id="layout-table" class="weekscss">';
 
 /// The left column ...
 
     if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
-        ///echo '<td style="width: '.$preferred_width_left.'px;" id="left-column">';
         echo '<div style="width:'.$preferred_width_left.$min_max_block.'float:left;" id="left-column">';
         blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
         echo '</div>';
-        ///echo '</td>';
     }
 
 /// Start main column
-    ///echo '<td id="middle-column">';
     echo '<div id="middle-column" style="width:'.$width_center.$min_max_main.'float:left;">';
 
 
         echo '</div>';
     }
 
-    ///echo '</td>';
     echo '</div>';
 
     // The right column
     if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
-        ///echo '<td style="width: '.$preferred_width_right.'px;" id="right-column">';
         echo '<div style="width:'.$preferred_width_right.$min_max_block.' float:right;" id="right-column">';
         blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
         echo '</div>';
-        ///echo '</td>';
     }
 
-    ///echo '</tr></table>';
     echo '<div class="clearer"></div>';
     echo '</div>';