mirror of
https://github.com/moodle/moodle.git
synced 2025-07-26 00:31:35 +02:00
Accessibility: added class="weekscss", removed commented code.
This commit is contained in:
@@ -80,21 +80,17 @@
|
|||||||
|
|
||||||
|
|
||||||
/// Layout the whole page as three big columns.
|
/// Layout the whole page as three big columns.
|
||||||
///echo '<table id="layout-table" cellspacing="0"><tr>';
|
echo '<div id="layout-table" class="weekscss">';
|
||||||
echo '<div id="layout-table">';
|
|
||||||
|
|
||||||
/// The left column ...
|
/// The left column ...
|
||||||
|
|
||||||
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
|
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">';
|
echo '<div style="width:'.$preferred_width_left.$min_max_block.'float:left;" id="left-column">';
|
||||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
///echo '</td>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Start main column
|
/// Start main column
|
||||||
///echo '<td id="middle-column">';
|
|
||||||
echo '<div id="middle-column" style="width:'.$width_center.$min_max_main.'float:left;">';
|
echo '<div id="middle-column" style="width:'.$width_center.$min_max_main.'float:left;">';
|
||||||
|
|
||||||
|
|
||||||
@@ -280,19 +276,15 @@
|
|||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
///echo '</td>';
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
// The right column
|
// The right column
|
||||||
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
|
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">';
|
echo '<div style="width:'.$preferred_width_right.$min_max_block.' float:right;" id="right-column">';
|
||||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
///echo '</td>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///echo '</tr></table>';
|
|
||||||
echo '<div class="clearer"></div>';
|
echo '<div class="clearer"></div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user