mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
FIxed style and made this block XHTML Strict
This commit is contained in:
parent
6b7425d2cb
commit
421e10c345
@ -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 = '';
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
.block_course_summary .content {
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
.block_course_summary .editbutton {
|
||||
text-align:right;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user