tjhunt
4abc23b2ae
Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE.
2006-08-18 21:23:15 +00:00
tjhunt
1b8a7434e2
Bug 6239 - Allow questions to have some teacher-supplied commentary.
...
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590 , and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
skodak
b2ec10959a
workaround for Bug #6035 - editing quiz in one tab changes quiz in other; merged from MOODLE_16_STABLE
2006-07-11 13:02:42 +00:00
tjhunt
f92cf442db
Bug #5793 : remember whether Show all has been clicked in the question bank. Merged from MOODLE_16_STABLE.
2006-06-12 13:54:01 +00:00
tjhunt
5bbca3a4cb
Fix for Bug #5588 - Editing a question after sorting leads to an error. Merged from 1.6stable.
2006-05-22 15:43:53 +00:00
thepurpleblob
36e2232e27
Merged from STABLE.
2006-05-13 08:49:46 +00:00
thepurpleblob
6cb4910c58
Merged from STABLE
2006-05-08 10:39:14 +00:00
thepurpleblob
4fbfd9711c
Bunch of category functions moved from lib/questionlib.php
2006-05-02 12:26:03 +00:00
gustav_delius
50530eb782
The information from question_rqp_types table should not be loaded every time questionlib.php is loaded but only when the questiontype menu is actually needed.
2006-04-26 20:29:32 +00:00
gustav_delius
54b3626b9f
Moved all question deletion code to showbank.php. Fixed bug 5186
2006-04-17 05:31:21 +00:00
gustav_delius
cf156ab045
Taking out random question hack that is no longer needed.
2006-04-09 22:43:22 +00:00
gustav_delius
e49a8d099e
Supply default values for more arguments of question_list()
2006-04-06 12:54:48 +00:00
gustav_delius
7347c60b52
Teacher-provided text is now printed without cleaning.
2006-03-19 19:49:37 +00:00
gustav_delius
3abfa3a013
Show All link below question list.
2006-03-19 19:23:07 +00:00
gustav_delius
ccccf04f70
Multianswer restore now works.
...
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
thepurpleblob
fd14913ed6
fixed yet another missing courseid parameter :-)
2006-03-14 09:57:54 +00:00
gustav_delius
32a189d636
More renamings to separate questions from quiz. Some other small fixes.
2006-03-12 21:17:42 +00:00
thepurpleblob
a0e512feac
Fixed missing courseid param in paging bar
2006-03-08 14:27:26 +00:00
skodak
e92d8ccf4d
fixed category switching bug
2006-03-07 23:59:33 +00:00
thepurpleblob
dcd51df25e
Another bunch of missing courseid parameters.
...
Deleting questions was not working.
2006-03-03 15:20:48 +00:00
gustav_delius
dc1f00de19
Some little fixes and more renaming to cleanly separate question code from quiz code
...
Renaming tables:
quiz_answers -> question_answers
quiz_categories -> question_categories
Renaming functions:
quiz_get_category_menu -> question_category_menu
quiz_get_category_coursename -> question_category_coursename
quiz_categorylist -> question_categorylist
2006-03-01 07:03:57 +00:00
gustav_delius
4f48fb42af
Towards removing reference to quiz module from the question code
...
Renaming tables:
quiz_questions -> question
quiz_states -> question_states
Renaming functions:
quiz_delete_question -> delete_question
quiz_get_question_options -> get_question_options
quiz_get_states -> get_question_states
quiz_restore_state -> restore_question_state
quiz_save_question_session -> save_question_session
quiz_state_is_graded -> question_state_is_graded
quiz_extract_responses -> question_extract_responses
quiz_regrade_question_in_attempt -> regrade_question_in_attempt
quiz_process_responses -> question_process_responses
quiz_isgradingevent -> question_isgradingevent($event)
quiz_search_for_duplicate_responses -> question_search_for_duplicate_responses
quiz_apply_penalty_and_timelimit -> question_apply_penalty_and_timelimit
quiz_print_question_icon -> print_question_icon
quiz_get_image -> get_question_image
quiz_make_name_prefix -> question_make_name_prefix
quiz_get_id_from_name_prefix -> question_get_id_from_name_prefix
quiz_new_attempt_uniqueid -> question_new_attempt_uniqueid
quiz_get_renderoptions -> question_get_renderoptions
quiz_print_quiz_question -> print_question
quiz_get_question_responses -> get_question_responses
quiz_get_question_actual_response -> get_question_actual_response
quiz_get_question_fraction_grade -> get_question_fraction_grade
quiz_get_default_category -> get_default_question_category
Renaming constants:
QUIZ_EVENT.... -> QUESTION_EVENT....
QUIZ_MAX_NUMBER_ANSWERS -> QUESTION_NUMANS
2006-02-28 09:26:00 +00:00
thepurpleblob
5ab6af1238
Changed links to import and export screens.
2006-02-24 15:39:59 +00:00
gustav_delius
f02c6f017e
Renamed QUIZ_QTYPES to QTYPES
2006-02-24 13:48:43 +00:00
gustav_delius
e586cfb4b0
Updated question scripts to work in their new location
2006-02-24 10:35:28 +00:00
gustav_delius
516cf3eb59
Moving quiz-independent question scripts to their new location. In a following commit these files will be updated to actually work in their new location.
2006-02-24 10:21:40 +00:00