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
gustav_delius
1b05eeedad
Put link to attempts on info page
2005-05-16 22:12:44 +00:00
gustav_delius
bacd044d45
fixed bug 3146 about secure popup window for review screen.
2005-05-08 11:24:03 +00:00
gustav_delius
1105b32da0
Use round() instead of format_float() to limit decimal points to a MAXIMUM of $quiz->decimalpoints. format_float() always displays EXACTLY that number of digits after the decimal point which is not really desirable.
2005-05-07 13:48:25 +00:00
gustav_delius
e303a824ff
Use the grade highlighting only if the maximum grade scheme is used, see bug 2545
2005-05-06 16:43:28 +00:00
gustav_delius
ee1fb969c8
Merging in from the MOODLE_15_QUIZREFACTOR branch.
...
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
gustav_delius
0346dd3954
using 'counteditems' language string to help finnish translators, closing bug 2530
2005-04-20 11:32:29 +00:00
moodler
7f3f41ecfb
Added some reportlink classed to the report links
2005-04-13 07:45:47 +00:00
stronk7
b681000402
Now quiz->name supports filterall.
2005-04-03 00:19:11 +00:00
defacer
3f95436073
Respect $CFG->showblocksonmodpages.
2005-03-16 03:26:21 +00:00
moodler
b846ac39ff
Standardise the intro box using an ID
2005-03-13 16:17:55 +00:00
defacer
dffd4bb948
You know you are beyond hope of redemption when you make "API uniformity" changes. ;-)
2005-03-02 05:56:24 +00:00
defacer
664923229c
Since $PAGE knows where the adminblock should be printed, let it do the printing.
2005-03-02 05:47:39 +00:00
defacer
3615b2b259
Simplifying to death using the new blocks_setup()
2005-03-02 05:19:47 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
defacer
ef08e7ad70
Fix a notice if $attemptmark doesn't get set.
2005-02-15 01:39:12 +00:00
stronk7
e37da3a536
Now decimalpoints is used to show grades
...
(I had to modify quiz_get_best_grade() slighty)
2005-02-14 19:41:52 +00:00
defacer
e96ba29d6f
Vastly improved styles, lots of inline styles removed, markup improved.
2005-02-12 11:37:09 +00:00
gustav_delius
8930d42124
The table on view.php now also shows the marks achieved in each attempt in addition to the rescaled grade.
2005-02-11 19:51:29 +00:00
defacer
4f0d565da6
Bringing Quiz in line with Martin's "make Chat into a showcase for pages" idea.
2005-02-10 01:59:11 +00:00
defacer
de4505fef3
Removing bad slashes from HTML.
2005-02-09 15:42:05 +00:00
defacer
d1b7d61e74
Oops! Wrong optional_param() calls.
2005-02-09 15:31:47 +00:00
defacer
d7a2023d04
Bring the param checking to the modern standard.
2005-02-09 15:30:15 +00:00