mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
XHTML Strict fixes MDL-7861
This commit is contained in:
parent
eb2963824b
commit
bd792a758f
@ -65,7 +65,7 @@ echo '<table id="layout-table" cellspacing="0"><tr>';
|
||||
/// The left column ...
|
||||
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_left.'" id="left-column">';
|
||||
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
echo '</td>';
|
||||
}
|
||||
@ -331,7 +331,7 @@ echo '</td>';
|
||||
|
||||
// The right column
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_right.'" id="right-column">';
|
||||
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||
echo '</td>';
|
||||
}
|
||||
|
@ -25,7 +25,7 @@
|
||||
echo '<tr>';
|
||||
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_left.'" id="left-column">';
|
||||
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
echo '</td>';
|
||||
}
|
||||
@ -41,7 +41,7 @@
|
||||
|
||||
// The right column
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_right.'" id="right-column">';
|
||||
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||
echo '</td>';
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
echo '<tr>';
|
||||
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_left.'" id="left-column">';
|
||||
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
echo '</td>';
|
||||
}
|
||||
@ -51,7 +51,7 @@
|
||||
|
||||
// The right column
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_right.'" id="right-column">';
|
||||
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||
echo '</td>';
|
||||
}
|
||||
|
@ -70,7 +70,7 @@
|
||||
/// The left column ...
|
||||
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_left.'" id="left-column">';
|
||||
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
echo '</td>';
|
||||
}
|
||||
@ -263,7 +263,7 @@
|
||||
|
||||
// The right column
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_right.'" id="right-column">';
|
||||
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||
echo '</td>';
|
||||
}
|
||||
|
@ -56,7 +56,7 @@
|
||||
/// The left column ...
|
||||
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_left.'" id="left-column">';
|
||||
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
echo '</td>';
|
||||
}
|
||||
@ -260,7 +260,7 @@
|
||||
|
||||
// The right column
|
||||
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
|
||||
echo '<td width="'.$preferred_width_right.'" id="right-column">';
|
||||
echo '<td style="width: '.$preferred_width_right.'px;" id="right-column">';
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||
echo '</td>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user