MDL-7861 some xhtml strict fixes

This commit is contained in:
skodak 2007-01-04 18:58:31 +00:00
parent 72dcfd4256
commit 535792b23e
2 changed files with 3 additions and 3 deletions

View 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;

View File

@ -96,7 +96,7 @@
?>
<table id="layout-table">
<table id="layout-table" summary="">
<tr>
<?php
@ -233,7 +233,7 @@
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);