diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bb88d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.DS_Store diff --git a/renderer.php b/renderer.php index 98a601e..95dae85 100644 --- a/renderer.php +++ b/renderer.php @@ -220,10 +220,10 @@ public function files_read_only(question_attempt $qa, question_display_options $ if (!$infocreated) { // Create info file. - $infocontent = get_string('user') . ': ' . $examination_user->firstname . ' ' . $examination_user->lastname .PHP_EOL; - $infocontent .= get_string('email') . ': ' . $examination_user->email . ' (ID: ' . $examination_user->id .')'.PHP_EOL; - $infocontent .= get_string('question') . ': ' . $question->name . ' (ID: ' . $question->id .')'.PHP_EOL; - $infocontent .= get_string('course') . ': ' . $COURSE->fullname . ' (ID: ' . $COURSE->id .')'; + $infocontent = get_string('user') . ': ' . $examination_user->firstname . ' ' . $examination_user->lastname . " \r\n"; + $infocontent .= get_string('email') . ': ' . $examination_user->email . ' (ID: ' . $examination_user->id .') ' . "\r\n"; + $infocontent .= get_string('question') . ': ' . $question->name . ' (ID: ' . $question->id .') ' . "\r\n"; + $infocontent .= get_string('course') . ': ' . $COURSE->fullname . ' (ID: ' . $COURSE->id .') '; $fs = get_file_storage(); diff --git a/version.php b/version.php index 38f3540..76706ca 100644 --- a/version.php +++ b/version.php @@ -26,7 +26,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'qtype_fileresponse'; -$plugin->version = 2016082901; +$plugin->version = 2016082902; $plugin->requires = 2015050500;