Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added additional div classes to generalboxes for additional styling

  • Loading branch information...
commit a6e1750ae3d89b4765861e588d9f0ca4718a396c 1 parent e21c81f
Patrick Malley authored
2  mod/assignment/type/online/assignment.class.php
View
@@ -101,7 +101,7 @@ function view() {
if (has_capability('mod/assignment:submit', $context)) {
if ($editmode) {
- echo $OUTPUT->box_start('generalbox', 'online');
+ echo $OUTPUT->box_start('generalbox', 'onlineenter');
$mform->display();
} else {
echo $OUTPUT->box_start('generalbox boxwidthwide boxaligncenter', 'online');
4 mod/assignment/type/upload/assignment.class.php
View
@@ -163,7 +163,9 @@ function view_upload_form() {
if ($this->can_upload_file($submission)) {
$mform = new mod_assignment_upload_file_form('upload.php', $this);
- $mform->display();
+ echo "<div class=\"uploadbox\">";
+ $mform->display();
+ echo "</div>";
}
}
2  mod/assignment/type/uploadsingle/assignment.class.php
View
@@ -71,7 +71,9 @@ function view() {
function view_upload_form() {
$mform = new mod_assignment_upload_file_form('upload.php', $this);
+ echo "<div class=\"uploadbox\">";
$mform->display();
+ echo "</div>";
}
Please sign in to comment.
Something went wrong with that request. Please try again.