217 Commits

Author SHA1 Message Date
tjhunt
c746ce0d03 Fix whitespace. 2007-06-15 10:42:11 +00:00
pichetp
dca29e98dc eliminate this nasty JavaScript that prints the button. 2007-06-05 15:28:03 +00:00
urs_hunkler
f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
tjhunt
5a56d93857 Clean up whitespace. 2007-04-25 15:37:01 +00:00
tjhunt
dc6c8ca1ac Minor cleanups to the quiz code. 2007-04-10 13:02:09 +00:00
pichetp
37236c3581 adding </p> line 112,114 2007-03-16 20:14:22 +00:00
moodler
d293521a90 Merged notice fix from stable 2007-03-05 05:58:28 +00:00
tjhunt
645dff1cf7 Correct logic for stopping people using guest access from doing quizzes. Merged from MOODLE_18_STABLE. 2007-02-28 11:34:50 +00:00
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
vyshane
0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +00:00
moodler
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
skodak
4702be4ef7 MDL-8028 Add separate addslashes_js function for javascript quoting 2007-01-01 13:26:20 +00:00
tjhunt
77ed3ba5fd MDL-8002 - Don't show overall feedback for incomplete quiz attempts.
Also, cleanup of mod/quiz/index.php
2006-12-22 12:52:13 +00:00
tjhunt
f725489c9a Typo. Merged from MOODLE_17_STABLE. 2006-12-04 11:54:48 +00:00
tjhunt
2962ad61e4 Put back spaces in code that Martin Dougiamass stripped out of the lang strings without thinking about the consequences. Merged from MOODLE_17_STABLE. 2006-11-28 18:42:18 +00:00
stronk7
d0e35419c5 Typo causing continue button in closed quizzes to fail. MDL-7685
Merged from MOODLE_17_STABLE
2006-11-25 17:13:19 +00:00
tjhunt
f2603dcc89 MDL-7576 - review link does not work after attempt is closed. Thanks to Chad Badiyan for the fix. Merged from MOODLE_17_STABLE. 2006-11-16 12:43:10 +00:00
tjhunt
ec467c6929 MDL-6837 - move warning about pupup blockers into the lang file. Merged from MOODLE_16_STABLE. 2006-10-05 15:58:08 +00:00
moodler
847a041fb7 Better use of mod/quiz:view to hide quiz information (they already have the
name from the course page etc)
2006-09-24 13:54:22 +00:00
tjhunt
f0a7247d0e Fix typo. 2006-08-28 18:50:42 +00:00
tjhunt
cd06115fa7 Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.

I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
2006-08-25 16:03:54 +00:00
tjhunt
212b7b8cd9 MDL-5270 - give students a feeback comment for their performance in the entire quiz.
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
2006-08-22 17:31:26 +00:00
tjhunt
1751eebc69 Reverting toyomoyo's conversion of mod/quiz/view.php to roles because his changes made no sense.
Admittedly, this file is pretty incomprehensible and it is not clear at first what it is trying to do. (Even though it is more comprehensible now than it was a week ago.) I'll to a proper conversion of this file to RnP once I have checked in my other changes there - assuming I can actually get Moodle to work so I can test my changes.
2006-08-22 13:53:39 +00:00
toyomoyo
5cf38a57cd some quiz capabilities 2006-08-22 09:04:23 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
tjhunt
45d5305e19 Bug #6048 - Fix 'are you sure you want to start an attempt' warning. 2006-07-18 16:49:33 +00:00
tjhunt
5190eed81b Bug #5945: Lang string name missmatch when starting quiz attempt. Merged from MOODLE_16_STABLE. 2006-06-28 10:13:40 +00:00
mjollnir_
0c49258b99 mod/quiz/view No-longer display final grade when quiz settings forbid it.
Changed view.php so that it checked if there were any attempts with
concealed grades before printing the student's overall score.
Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>
Merged from MOODLE_16_STABLE
2006-05-15 21:52:18 +00:00
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
skodak
d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +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_
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
gustav_delius
ffa6ed53e4 Fixed display of information about existing attempts. 2006-04-12 23:24:58 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
moodler
c88369b8e3 Christian's code to support time delays 2006-03-21 09:24:47 +00:00
michaelpenne
e51b142a78 Removed changes made earlier for ungraded essay questions. Will try to find an alternate method. 2006-02-16 00:30:50 +00:00
gustav_delius
03d1753c1c Renamed table quiz_newest_states to question_sessions 2006-02-15 08:38:41 +00:00
michaelpenne
b9376ebef0 The following changes were made to help reduce confusion for students when essay questions are being used in a quiz.
- When a essay question has been submitted or being reviewed and has not been graded by the instructor, then the Marks are not shown and displays a message to the student instead of saying Incorrect. (changes to questiontypes/questiontype.php in functions print_question and print_question_grading_details).

    - For students, in view.php, a notice is printed to inform him/her that s/he has ungraded essay question(s).
    - For teachers, in view.php, a notice is printed to inform him/her that s/he has X number of ungraded essays for X number of studnets

    - In review.php, next to the grade output, informs the viewer if X number of ungraded essays in this attempt.

    - In questiontypes/essay/questiontype.php created a utility function to generate the numbers used in the above changes.

    - In lang/en/quiz.php added new lang entries.

So, hopefully the student will now understand that their grade does not include the ungraded essay questions.  Modification of lang entries might be needed to further drive this point.
2006-02-13 20:27:34 +00:00
gustav_delius
8779eab55d Avoid error messages in case $quiz->sumgrades is zero, closing bug 4454. Merged from STABLE 2006-02-12 21:08:43 +00:00
gustav_delius
a445d5e8b2 shortened language string name as requested in bug 4568 2006-01-30 23:17:47 +00:00
ikawhero
89c870e7b2 Quiz summary text shouldn't be cleaned as only entered by teacher
Merged from stable
2006-01-16 06:29:51 +00:00
mjollnir_
2422dc936a Quiz confirmation popup is now for limited attempts and/or timelimit, or a combination of the above 2006-01-11 01:00:34 +00:00
toyomoyo
fed1f84eac bug fix for #4504 2006-01-09 01:25:11 +00:00
toyomoyo
d8688c0d26 cookieless patch for quiz 2005-12-23 06:29:39 +00:00
moodler
233de2e316 added popup checker in quiz 2005-11-09 02:16:13 +00:00
moodler
6a08340572 Language key [[guestno]] corrected to [[guestsno]] (bug 4254). 2005-10-31 07:44:47 +00:00
gustav_delius
bb52d44c6a Due date and start date are now optional, as requested in bug 867 and bug 3635 2005-07-07 17:16:56 +00:00
defacer
e623c7f740 Merging from STABLE:
Fix for bug 3616:

layout-table wasn't closed correctly for teachers and guests.
2005-07-06 00:36:36 +00:00
gustav_delius
fc44ee0de8 Merged from stable 2005-06-05 20:51:15 +00:00
gustav_delius
7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00