]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861 some xhtml strict fixes
authorskodak <skodak>
Thu, 4 Jan 2007 18:58:31 +0000 (18:58 +0000)
committerskodak <skodak>
Thu, 4 Jan 2007 18:58:31 +0000 (18:58 +0000)
blocks/admin_tree/block_admin_tree.php
index.php

index 1dccaf7ee97dc067616a7b6154c4107d2b318e82..78cfe928e6dbe3ba9e42926da31b19b514fbdb28 100644 (file)
@@ -179,7 +179,7 @@ class block_admin_tree extends block_base {
 
             $this->content->text .= '//]]>' . "\n";
             $this->content->text .= '</script>' . "\n";
-            $this->content->text .= '<div align="left">' . "\n";
+            $this->content->text .= '<div style="text-align:left">' . "\n";
 
             $this->content->text .= $this->tempcontent;
 
index 3787ef9d0f834cac0c2f1807a62e7edb3edab80a..2c87312c3877504bfa69fb6cf4091f1a0a135a15 100644 (file)
--- a/index.php
+++ b/index.php
@@ -96,7 +96,7 @@
 ?>
 
 
-<table id="layout-table">
+<table id="layout-table" summary="">
   <tr>
   <?php
 
     if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing || has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM, SITEID))) {
         echo '<td style="width: '.$preferred_width_right.'px;" id="right-column">';
         if (has_capability('moodle/course:update', get_context_instance(CONTEXT_SYSTEM, SITEID))) {
-            echo '<div align="center">'.update_course_icon($SITE->id).'</div>';
+            echo '<div style="text-align:center">'.update_course_icon($SITE->id).'</div>';
             echo '<br />';
         }
         blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);