Commit graph

21 commits

Author SHA1 Message Date
tjhunt
7a201b247e Improve quiz editing screen layout a little bit based on a usability suggestion in the forums.
Also, fix uppercase tag names in the tab row CSS, which did not work at DEVELOPER debug level.
2007-02-27 13:59:10 +00:00
tjhunt
56e1965f4f MDL-4793 - Option to show question text in the question bank. Also, fix layout problems on the quiz editing screen. 2007-02-20 01:46:01 +00:00
tjhunt
901011fd4d MDL-8205 - Layout of quiz editing screen not right 2007-01-18 17:38:51 +00:00
vyshane
bf290fd6b3 xhtml fixes for MDL-7861. 2006-12-21 06:05:34 +00:00
tjhunt
1da5a36294 More capability name typos. 2006-09-20 08:01:59 +00:00
tjhunt
df5e4d3106 Another typo in capability name. 2006-09-19 22:57:38 +00:00
tjhunt
6fceebea95 Always print the question list, so you can add questions to a quiz, even if you are not allowed to edit them. 2006-09-19 22:35:02 +00:00
tjhunt
3fccd7fa8d Typo in capability names. You do not want to know how long I had to stare at the code to spot that! 2006-09-19 22:31:13 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
toyomoyo
3765fd5367 some capabilities for quiz and questions, need to load them in access.php 2006-08-21 08:40:06 +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
gustav_delius
125bb7003e sortorder is now remembered between pages, fixing bug 5328 2006-04-27 07:46:34 +00:00
gustav_delius
4111194d9e Use delete_question() to delete question, bug 5275 2006-04-21 06:50:51 +00:00
gustav_delius
f7fccc0362 Make sure category from correct course is shown. 2006-04-18 22:53:38 +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
22c08850d7 Fixing stupid typos from previous commit 2006-04-05 20:02:37 +00:00
gustav_delius
4feb8730d7 Fix to make it work without globals hack 2006-04-05 19:43:42 +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
gustav_delius
e586cfb4b0 Updated question scripts to work in their new location 2006-02-24 10:35:28 +00:00