Skip to content

Commit

Permalink
FIxed style and made this block XHTML Strict
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 9, 2007
1 parent 6b7425d commit 421e10c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/course_summary/block_course_summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function get_content() {
} 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 = '';

Expand Down
4 changes: 4 additions & 0 deletions blocks/course_summary/styles.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.block_course_summary .content {
padding:10px;
}

.block_course_summary .editbutton {
text-align:right;
}

0 comments on commit 421e10c

Please sign in to comment.