]> git.mjollnir.org Git - moodle.git/commitdiff
XHTML Strict fixes MDL-7861
authormoodler <moodler>
Thu, 4 Jan 2007 15:52:11 +0000 (15:52 +0000)
committermoodler <moodler>
Thu, 4 Jan 2007 15:52:11 +0000 (15:52 +0000)
course/format/lams/format.php
course/format/scorm/format.php
course/format/social/format.php
course/format/topics/format.php
course/format/weeks/format.php

index c312c9dac8620165c60b558360240cae00602035..056003be8f7a3a83fe07020bdeaf2fb3525033d1 100644 (file)
@@ -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>';
 }
index 2ca446d5648b220541ba54a77c9a8ab9593b28ed..64ae5afe47dc51d432eb1da51e5f5935f8660747 100644 (file)
@@ -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>';
     }
index f97c50347ef1f779808a2ede1f540148d50e81b0..f917e08e651a025254f21c867aeb7418dd5c4a96 100644 (file)
@@ -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>';
     }
index 6862b009745110d5fa2bfe783829ce62faa2692b..92616da7beb7c26c84e5aed6dc86184399446af7 100644 (file)
@@ -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>';
     }
 
     // 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>';
     }
index b6b3657c059b93fcf08eb45fc147744289dac19e..112fc1f9e02908c99298728514280d3f75739d1c 100644 (file)
@@ -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>';
     }
 
     // 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>';
     }