5172 Commits

Author SHA1 Message Date
gustav_delius
567709c4e0 Tabs on question bank editing pages 2006-03-01 08:43:41 +00:00
gustav_delius
f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +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
c902637954 Committed fix for bug 4829 2006-02-28 20:43:06 +00:00
gustav_delius
062f1125cc *** empty log message *** 2006-02-28 09:36:31 +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
urs_hunkler
e03f2fec99 some template structure corrections and enhancements 2006-02-25 17:29:02 +00:00
michaelpenne
0ac9372517 [BugFix] Bug #4828 - \ stripping problem 2006-02-24 19:42:13 +00:00
thepurpleblob
4c5d208a3e missing course parameter in header 2006-02-24 18:54:54 +00:00
thepurpleblob
f55b3d10bf Corrected require path for new location 2006-02-24 16:05:51 +00:00
thepurpleblob
72c8c699be Removed links to locallib.php 2006-02-24 15:46:26 +00:00
thepurpleblob
5ab6af1238 Changed links to import and export screens. 2006-02-24 15:39:59 +00:00
thepurpleblob
aca318e17e Moving import/export to new question area.
This will need some more work/testing though!
2006-02-24 15:17:40 +00:00
thepurpleblob
84769fd8a8 Moving quiz import/export files to new question area. 2006-02-24 15:14:09 +00:00
urs_hunkler
5bc572112c class added to the submit button to be able to position it
I optimized display.html and CSS
same class name for different objects is problematic
_ quiz table and question table must not be named with same class
_ surrounding tabel: class="multichoice|etc"
_ answer table: class="answer"
I changed the classname of the "answer" div to class="ablock" (short from "answer-block") that it does not conflict with "answer"
multichoice:
_ changed first row to class="r0"
_ added descriptive classes to the cells
2006-02-24 15:00:27 +00:00
gustav_delius
f02c6f017e Renamed QUIZ_QTYPES to QTYPES 2006-02-24 13:48:43 +00:00
gustav_delius
4b32fd66ab Moved function quiz_question_used from mod/quiz/locallib.php to question_used in lib/questionlib. Fixed some more links. 2006-02-24 12:53:47 +00:00
gustav_delius
219e92f2eb Preview now works also if no quiz is specified 2006-02-24 12:38:21 +00:00
gustav_delius
05054049a5 Fixed the redirection url to edit.php 2006-02-24 12:11:30 +00:00
gustav_delius
d242adcf8f Updated rqp scripts to work with the separate question scripts in moodle/question 2006-02-24 12:01:47 +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