FIxed style and made this block XHTML Strict

This commit is contained in:
moodler 2007-01-09 08:14:05 +00:00
parent 6b7425d2cb
commit 421e10c345
2 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class block_course_summary extends block_base {
} else {
$editpage = $CFG->wwwroot.'/course/edit.php?id='.$COURSE->id;
}
$this->content->text .= "<div align=\"right\"><a href=\"$editpage\"><img src=\"$CFG->pixpath/t/edit.gif\" alt=\"".get_string('edit')."\" /></a></div>";
$this->content->text .= "<div class=\"editbutton\"><a href=\"$editpage\"><img src=\"$CFG->pixpath/t/edit.gif\" alt=\"".get_string('edit')."\" /></a></div>";
}
$this->content->footer = '';

View File

@ -1,3 +1,7 @@
.block_course_summary .content {
padding:10px;
}
.block_course_summary .editbutton {
text-align:right;
}