Permalink
Browse files

Added additional div classes to generalboxes for additional styling

  • Loading branch information...
1 parent e21c81f commit a6e1750ae3d89b4765861e588d9f0ca4718a396c Patrick Malley committed May 2, 2010
@@ -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');
@@ -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>";
}
}
@@ -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>";
}

0 comments on commit a6e1750

Please sign in to comment.