Permalink
Browse files

Added class to upload file when no file is present.

  • Loading branch information...
1 parent 38786ad commit 15b45bdcb91e45eec9c92bb66fa80ae1de52a2c8 Patrick Malley committed May 1, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/assignment/type/upload/assignment.class.php
@@ -53,9 +53,9 @@ function view() {
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', 'userfiles');
+ echo $OUTPUT->box(get_string('nofiles', 'assignment'), 'generalbox boxaligncenter nofiles', 'userfiles');
} else {
- echo $OUTPUT->box(get_string('nofilesyet', 'assignment'), 'generalbox boxaligncenter', 'userfiles');
+ echo $OUTPUT->box(get_string('nofilesyet', 'assignment'), 'generalbox boxaligncenter nofiles', 'userfiles');
}
}

0 comments on commit 15b45bd

Please sign in to comment.