Browse files

Added id to uploaded file userfiles generalbox for specific styling

  • Loading branch information...
1 parent dacd7be commit 610b5fde691062c97be09545c731ae41b3953b2d Patrick Malley committed May 1, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/assignment/type/upload/assignment.class.php
View
6 mod/assignment/type/upload/assignment.class.php
@@ -50,12 +50,12 @@ function view() {
}
if ($filecount and $submission) {
- echo $OUTPUT->box($this->print_user_files($USER->id, true), 'generalbox boxaligncenter');
+ echo $OUTPUT->box($this->print_user_files($USER->id, true), 'generalbox boxaligncenter', 'userfiles');
} else {
if (!$this->isopen() or $this->is_finalized($submission)) {
- echo $OUTPUT->box(get_string('nofiles', 'assignment'), 'generalbox boxaligncenter');
+ echo $OUTPUT->box(get_string('nofiles', 'assignment'), 'generalbox boxaligncenter', 'userfiles');
} else {
- echo $OUTPUT->box(get_string('nofilesyet', 'assignment'), 'generalbox boxaligncenter');
+ echo $OUTPUT->box(get_string('nofilesyet', 'assignment'), 'generalbox boxaligncenter', 'userfiles');
}
}

0 comments on commit 610b5fd

Please sign in to comment.