defacer
ef08e7ad70
Fix a notice if $attemptmark doesn't get set.
2005-02-15 01:39:12 +00:00
stronk7
c6e88f1059
One more use of decimalpoints
2005-02-14 19:57:45 +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
stronk7
f4e56673df
Added backup and restore support for decimalpoints
2005-02-14 19:05:00 +00:00
stronk7
ee40f7a720
Added configuration support for decimalpoints
2005-02-14 18:56:53 +00:00
stronk7
72036f9305
New quiz option addded: decimalpoints
...
(used to decide the number of decimals showed in grades)
2005-02-14 18:24:24 +00:00
stronk7
8a15200d23
Avoid tons of warnings with debug=on creating false answers for this question type.
2005-02-14 00:51:36 +00:00
gustav_delius
2f945146d7
Made the quiz paging bar look more like the standard one, see bug 2443.
2005-02-13 14:58:45 +00:00
stronk7
95e72c12d0
Now retrieving only needed fields!
2005-02-13 00:42:29 +00:00
gustav_delius
48e535bc35
Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
...
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.
If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.
If deleting a coursemodule its events are deleted from the calendar.
The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.
For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +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
moodler
f1c1d2f166
Removing the THEME variable and adding in classes where appropriate
2005-02-10 10:41:22 +00:00
moodler
1ac2128075
No message popups during secure quizzes
2005-02-10 05:13:05 +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
defacer
8ff1d30259
Let $PAGE print the header, as it should be, instead of doing it manually.
2005-02-09 15:08:51 +00:00
stronk7
0183a6c48e
One minor problem restoring categories in XHTML solved
2005-02-07 23:45:19 +00:00
stronk7
e09087bc76
Some minor changes to each module to XHTMLise the restore process
2005-02-07 23:33:17 +00:00
gustav_delius
0726eb27bb
replaced href="#" by href="javascript:void()" as suggested in bug #1980
2005-02-06 15:18:09 +00:00
gustav_delius
2b6271fccc
I have changed the icon for removing a question from a quiz from X to >> and changed the label from 'Delete' to 'Remove' because it does not delete the question but only removes it from the quiz.
2005-02-06 10:42:31 +00:00
gustav_delius
51d0c8b0bd
edit column in question tables on edit.php are now wide enough to hold all icons without line break
2005-02-06 07:55:05 +00:00
gustav_delius
f0148d973c
If a question is removed from a quiz then also all existing responses (e.g. from teacher attempts) are removed. Thanks to Eloy for pointing out that this was missing, http://moodle.org/mod/forum/discuss.php?d=17167#83331
2005-02-06 07:45:40 +00:00
gustav_delius
b37cacae47
It is now no longer possible to add or delete questions in a quiz that students have already attempted, see http://moodle.org/mod/forum/discuss.php?d=16479#86488
2005-02-05 21:03:04 +00:00
gustav_delius
6eaae5bdd2
fixed my own type (missing ;)
2005-02-05 20:00:15 +00:00
gustav_delius
6f7970138a
Taken out some $THEME
2005-02-05 17:28:06 +00:00
gustav_delius
adf3c01551
fixed stupid bug in code for adding random questions
2005-02-03 18:04:15 +00:00
defacer
768320dcc9
Update for the new APIs and simplification.
2005-02-02 02:46:06 +00:00
defacer
fc0551248e
Polishing that Add/Edit Blocks button
2005-02-01 08:35:06 +00:00
defacer
8dffa4df07
Don't forget to kill all our block instances if we are deleted.
2005-02-01 07:40:58 +00:00
defacer
bdfa14dd7f
All right, we can now have blocks in quiz pages!
...
Let's test it a while and see what we learn from it.
2005-02-01 07:16:19 +00:00
stronk7
2d81101163
Solved sesskey issue in calculated questions. Bug 2464
...
(http://moodle.org/bugs/bug.php?op=show&bugid=2464 )
2005-01-31 16:40:08 +00:00
skodak
db24312891
cleaned download filename SC#69, merged from MOODLE_12_STABLE
2005-01-29 15:16:32 +00:00
skodak
4ffdd3937f
direct access to script forbidden SC#58, merged from MOODLE_14_STABLE
2005-01-29 14:18:45 +00:00
thepurpleblob
84bbe7f9d3
fixed some incorrect xhtml in the delete bit - missing quotes
2005-01-27 16:40:40 +00:00
thepurpleblob
b90d6ed1e2
factored out functionality to check if question is in use on delete
...
will be using this to delete whole categories of questions (or not)
2005-01-27 16:18:27 +00:00
thepurpleblob
bb5e13d514
factored out function to see if question is used in quiz into the library
2005-01-27 16:10:25 +00:00
thepurpleblob
ddd8f87f7a
multianswerchoice questions added to example questions.
2005-01-27 11:24:26 +00:00
thepurpleblob
2d4aa134d5
Addition code to handle 'multianswerchoice' type Learnwise questions.
2005-01-27 11:22:45 +00:00
defacer
7a652b5f2b
Switching back to an interger-rounded retrieved best grade. Will probably
...
be more human-friendly on screen.
e.g. "What does 66.67 out of 100 mean?"
2005-01-27 03:14:56 +00:00
defacer
28926a08e9
Changing that despicable grade column from mdl_quiz_grades to a
...
floating point data type, as it should be.
2005-01-27 03:10:57 +00:00
defacer
35f45a0d83
It seems that grades are saved with two decimal points of precision while
...
they are being retrieved as integers. Changed it to two decimals everywhere
and continuing to go about it...
2005-01-27 02:45:38 +00:00
defacer
cb8057dee2
Semantically it's better if quiz_get_best_grade returns NULL
...
if there is no such grade.
2005-01-27 02:39:15 +00:00
defacer
d5838a4b20
Double quotes to single and blah blah.
2005-01-27 02:30:32 +00:00
defacer
9d6773603d
Minor beautification, plus a detail: if the grade is 0.0, this function
...
would return a grade of 0, which is obviously not the intent here.
2005-01-27 02:28:04 +00:00
defacer
e7a935aafa
This was pulling out all those records and doing absolutely nothing
...
with them. Sanitized the place a bit.
2005-01-27 02:26:00 +00:00
thepurpleblob
7452a56110
HTML Entities are now 'reversed' on import.
2005-01-26 10:37:16 +00:00
thepurpleblob
8f0876a98b
Added example file of the learnwise import format
2005-01-26 10:36:31 +00:00