1287 Commits

Author SHA1 Message Date
gustav_delius
6037288eeb Fixed code that relied on globals hack. Fixed bug 5261 2006-04-20 23:10:45 +00:00
urs_hunkler
0e2b7205f5 removed width for multichoice feedback 2006-04-20 08:37:00 +00:00
mjollnir_
fbc525bc0b Correcting code to remove warning originating from earlier commit
Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-19 02:31:32 +00:00
mjollnir_
eb55a1bfb9 Avoiding warning in last commit:
mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:57:28 +00:00
mjollnir_
40377b188b mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:55:28 +00:00
mjollnir_
d78a1cf6d8 mod/quiz/locallib bugfix get_qn_options now uses more sensible defaults.
Previously get_question_options used options for
after-attempt-while-quiz-open, when called while a attempt was still in
progress.  Changed it to use options for immediately-after-attempt instead.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:54:51 +00:00
mjollnir_
309c0d55b2 mod/quiz/view changes to only display attempt grades when teacher allows.
Changed view.php to only display grades when the teacher has not set
options forbidding it.  Further, where there is some attempts that are
allowed to be displayed, and others not, highligting of the highest score,
and printing of the overall grade allocation has been disabled to ensure
the hidden grade is not revealed.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:54:10 +00:00
mjollnir_
15db443c87 mod/quiz/review only display grade summary if student allowed to see scores
Change to review.php so that the student will only see the grade summary
if they are allowed to view their scores - as determined by quiz options
set by the teacher.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:50:04 +00:00
mjollnir_
9f7f01db04 mod/quiz/review quiz options loaded once per pageload, not once per qn.
Moved loading of quiz review options from loop iterating over each qn to be
displayed, to the top of the pageload.  Should give efficency gains
on quizes with long pages, as well as making the options available
earlier in the process.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:47:56 +00:00
toyomoyo
8f23f49004 fix for 5209 2006-04-18 06:43:29 +00:00
gustav_delius
05803bf170 Removed settings tab, see bug 5189 2006-04-13 21:35:24 +00:00
gustav_delius
d6d29245e7 Now there is an option to see all attempts, even for users who have since unenrolled. That is necessary in order to be able to delete these attempts, see http://moodle.org/mod/forum/discuss.php?d=34421 2006-04-13 00:02:36 +00:00
gustav_delius
ffa6ed53e4 Fixed display of information about existing attempts. 2006-04-12 23:24:58 +00:00
gustav_delius
375ab4586f use function from questionlib.php to delete attempt data 2006-04-12 22:57:01 +00:00
gustav_delius
78517b5a6b Don't show users who have unenrolled.
Show display options also when current options lead to empty table.
2006-04-12 22:48:58 +00:00
gustav_delius
2e8973e779 Teachers now can preview timelimited quizzes even after the closing date 2006-04-11 21:49:43 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
mark-nielsen
804d664acf [BugFix] Bug #5072: user name now links to user profile, Attempts column changed to Completed On, new column with link Grade to grade all attempts. Other table changes include collapsible columns and its id has been changed to attempts to reuse styles for the attempts table. 2006-04-11 02:20:58 +00:00
mark-nielsen
6e63c77795 [Fix] question_process_comment now processes the correct form values
[Fix] changed the print_string to get_string so it may be passed to notify
[Change] The close window button is now centered
[Change] Refreshes the parent window when the close window button is pushed
2006-04-11 02:02:44 +00:00
gustav_delius
cbe20043b5 Whenever a question is edited the version field is set to question_hash(), see bug 2958. 2006-04-10 22:10:32 +00:00
gustav_delius
9d4cbe5615 Manual grading report plugin is now no longer essay-specific. 2006-04-10 20:28:46 +00:00
gustav_delius
34b40897db Added action 'continue attempt' to log_display 2006-04-10 19:13:21 +00:00
sam_marshall
3a2c772f4e Fixed syntax error (extra comma) in Postgres version of quiz sql 2006-04-10 09:48:47 +00:00
toyomoyo
a35af29014 question->qtype 2006-04-10 05:08:19 +00:00
gustav_delius
7ff90101a6 Simplify text on submit button 2006-04-09 22:31:59 +00:00
gustav_delius
955567ad2f Make sure all random questions have their parent field correctly set, just in case something went wrong here in the past. This may have been the cause of bug 5137 2006-04-09 21:59:55 +00:00
gustav_delius
7a0b035bf9 Make student name into a link on the review page 2006-04-09 21:58:58 +00:00
mark-nielsen
caca24d5d3 Minor updates:
comments no longer print inside the question (only in the textfield)
  fixed problem with quotes by adding addslashes
2006-04-08 21:46:59 +00:00
mark-nielsen
e99b375972 Updated the form handling code. This report is now functional again. 2006-04-08 20:55:03 +00:00
mark-nielsen
fbe4d5ce51 Updated viewquestion to be more generic and moved it to its own function 2006-04-08 18:56:39 +00:00
mark-nielsen
0a52521122 Updated the viewquestions action to be more generic so that any manually graded question type would be compatible.
Moved viewquestions code to function view_questions.  This is an attempt to make the code much more readable.  All action code will eventually be moved to its own function.
2006-04-08 18:24:49 +00:00
urs_hunkler
5b2f6e51f9 copied back the CSS for the timer positioning from version 1.12 2006-04-08 15:06:36 +00:00
urs_hunkler
2d91754b33 copied back the CSS for Item analysis and for grading 2006-04-08 12:25:06 +00:00
gustav_delius
ec65c6ad7c This has extra code to exclude preview attempts from the grading 2006-04-08 08:13:26 +00:00
urs_hunkler
d975f343ba replaced DEPRECATED center tag with a div. introduced a new class=mdl-align with the CSS text-align: center 2006-04-07 16:17:17 +00:00
gustav_delius
b6e907a245 Manual grading 2006-04-07 16:00:29 +00:00
gustav_delius
934eea9e43 Introduce field for teacher comments, in preparation for manual grading. I am afraid I forgot to commit this yesterday, so now it is possible that some new beta testers installed Moodle without this new field. 2006-04-07 05:28:18 +00:00
gustav_delius
755bddf118 Improvements to response history. Three small bug fixes. 2006-04-06 19:59:02 +00:00
gustav_delius
80bbc7d7d1 Some code cleanup, relying more on the functions from questionlib.php. Not currently functional, awaiting the central manual grading feature. 2006-04-06 16:45:14 +00:00
gustav_delius
3a5a6f59a3 Introduce field for teacher comments, in preparation for manual grading 2006-04-06 16:42:00 +00:00
gustav_delius
9c7c8d63f4 Prevent student from seeing quiz when closed, bug 5070 2006-04-05 09:43:29 +00:00
gustav_delius
20d6d84d43 Fixed call to required_param() 2006-04-05 07:39:32 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
moodler
ba76a8f5cf Fixing some Javascript errors on IE 2006-04-05 02:40:34 +00:00
gustav_delius
3082b744ac Moving <td>, fixing bug 5019 2006-03-29 08:45:36 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +00:00
gustav_delius
3a58ad11bc The "Reports" tab is now a "Results" tab so that the grading fits in better. 2006-03-27 08:45:02 +00:00
gustav_delius
31e95855b8 Improved quiz report plugin mechanism and converted the manual grading script into a report plugin 2006-03-27 08:41:20 +00:00
gustav_delius
5f9ef821df Moved detailed responses report into contrib 2006-03-26 12:02:46 +00:00
gustav_delius
d23e3e11dd Moved the code for basing new attempts on previous attempts from questions to quiz and fixed the bug reported at http://moodle.org/mod/forum/discuss.php?d=42029#194212 in the process 2006-03-26 07:59:43 +00:00