Skip to content

Commit

Permalink
MDL-7861 some xhtml strict fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jan 4, 2007
1 parent 72dcfd4 commit 535792b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blocks/admin_tree/block_admin_tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function get_content() {

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

Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
?>


<table id="layout-table">
<table id="layout-table" summary="">
<tr>
<?php

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 535792b

Please sign in to comment.