Commit 535792b2 authored by skodak's avatar skodak
Browse files

MDL-7861 some xhtml strict fixes

parent 72dcfd42
......@@ -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;
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment