dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
tjhunt
758c50b1cd
MDL-13794 - Reordering tool does not work if you type the same number into two boxes.
...
Also, fix some javascript that did not work in IE7.
2008-03-05 10:16:18 +00:00
tjhunt
2a13e454f9
MDL-9459 - Provide information relating to groups in the summary message "Attemts: 123". Now, depending on the situation, you see one of three messages: "Attempts: 123", "Attemtps 123 (45 from your groups)" or "Attemtps 123 (45 from this group)".
...
I also took the opportunity to improve the layout of this message slightly, and clarify the message that tells you that you cannot add or remove questions from the quiz if there are attemts.
Merged from MOODLE_19_STABLE.
2007-12-12 17:23:55 +00:00
tjhunt
3db14d77ec
MDL-12305 - Don't let the quiz reorder tool put a page break at the start of the quiz. Merged from MOODLE_19_STABLE.
2007-11-21 18:09:11 +00:00
tjhunt
cd6ef0a5bb
MDL-12305 - Quiz reorder tool broken. Merged from MOODLE_19_STABLE.
2007-11-21 18:00:09 +00:00
tjhunt
7ca4613b85
Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.
2007-11-07 15:20:57 +00:00
tjhunt
6c58e1985b
MDL-6376 - fix minor errors in the previous commit.
...
More significantly, this patch changes the '1 Students have made 1 attempts' string.
To start with, this code was being produced in five different places, so I made a function to do the work!. Next, as you can see, it is not gramatical. Also, some people find it confusing, as in MDL-6376.
Therefore, it now just says 'Attempts: 1'.
Merged from MOODLE_19_STABLE.
2007-10-30 19:29:45 +00:00
tjhunt
38e179a4ed
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
...
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
tjhunt
f59dba8497
MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
...
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
jamiesensei
6943c3b9ca
removed stray echo statement
2007-09-04 12:42:03 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
mattc-catalyst
01e3838853
MDL-9473: Initialise navlinks array before use
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21
MDL-9615: Correct incorrect use of term breadcrumbs
...
- $crumbs -> $navlinks
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
jamiesensei
85c375c3f8
added function callbacks for module specific controls to question bank.
2007-05-07 16:57:23 +00:00
jamiesensei
64eeaf4753
removed all session fromurl and returnurl stuff from question bank editing code. Returnurls are now passed as get/post params.
2007-05-07 07:13:14 +00:00
jamiesensei
36e298bc58
removed more session stuff from question list and category form in question bank display code
2007-05-04 10:46:33 +00:00
jamiesensei
9ab3847595
tightening up reg expressions used for submitted data a bit
2007-05-04 08:33:28 +00:00
jamiesensei
b07b4bd246
removed use of session for reordertool and show page breaks. Reordertool and show page breaks params are now passed from page request to page request only for page requests for quiz/edit.php
2007-05-03 10:38:35 +00:00
jamiesensei
b72ff47685
moved question sort order and paging params to be passed from page to page as get params instead of being saved in session var.
2007-05-03 10:10:01 +00:00
mattc-catalyst
70c6c0ad70
MDL-9474: Updated build_navigation() to use global $COURSE
...
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()
Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
9ac0c1b328
Breadcrumbs: mod/quiz changes
...
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:23:17 +00:00
tjhunt
77b2b1fa43
MDL-9107 (regression from) MDL-8994 - adding random questions to a quiz was broken. Merged from MOODLE_18_STABLE.
2007-03-29 23:12:08 +00:00
tjhunt
5eb266d8aa
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.
Merged from MOODLE_18_STABLE.
2007-02-27 14:01:46 +00:00
tjhunt
37b9e8bccc
Another wretched adslashes problem. Roll on placeholder. Thanks to Howard Miller. Merged from MOODLE_18_STABLE.
2007-02-20 15:18:46 +00:00
tjhunt
901011fd4d
MDL-8205 - Layout of quiz editing screen not right
2007-01-18 17:38:51 +00:00
vyshane
0927589412
Xhtml fixes for MDL-7861.
2007-01-09 09:07:16 +00:00
tjhunt
ee6c93555f
MDL-5811 - Quiz editing outputs nasty junk before print_header sometimes. Second attempt at fixing. I forgot to mention the bug number in the previous commit to mod/quiz/edit.php. Merged from MOODLE_17_STABLE.
2006-10-31 12:06:52 +00:00
tjhunt
d84d379e97
Fix junk being output before print_header, which happened sometimes. Merged from MOODLE_17_STABLE.
2006-10-31 10:47:34 +00:00
tjhunt
5cae120596
Get the contexts without referring to undefined variables.
2006-08-23 15:12:52 +00:00
tjhunt
212b7b8cd9
MDL-5270 - give students a feeback comment for their performance in the entire quiz.
...
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
2006-08-22 17:31:26 +00:00
toyomoyo
5cf38a57cd
some quiz capabilities
2006-08-22 09:04:23 +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
0d8b8f1777
Quiz module sometimes left the user staring at a blank page. Now there is an error message. Merged from MOODLE_16_STABLE.
2006-06-13 18:59:41 +00:00
gustav_delius
4377c290c0
Updated comments and made sure teacher preview gets restarted when changes are saved, fixing bug 5478
2006-05-13 10:39:15 +00:00
gustav_delius
6037288eeb
Fixed code that relied on globals hack. Fixed bug 5261
2006-04-20 23:10:45 +00:00
gustav_delius
ffa6ed53e4
Fixed display of information about existing attempts.
2006-04-12 23:24:58 +00:00
gustav_delius
32a189d636
More renamings to separate questions from quiz. Some other small fixes.
2006-03-12 21:17:42 +00:00
skodak
0c0849cf5f
lots of incorrect required_param()'s - there MUST be only two parameters not three!!
2006-03-08 00:08:51 +00:00
gustav_delius
70c01adb91
Improvement to tabbed interface
2006-03-01 09:30:21 +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
f02c6f017e
Renamed QUIZ_QTYPES to QTYPES
2006-02-24 13:48:43 +00:00
gustav_delius
80a5e194ff
Updated quiz scripts to work with the separate question scripts in moodle/question
2006-02-24 10:43:06 +00:00
gustav_delius
14afbbf034
Added the much-requested question reordering tool
2006-02-19 16:34:06 +00:00
gustav_delius
6551bb8969
Changing headers to decoupling the question editing page from the quiz module.
2006-02-17 17:15:17 +00:00
gustav_delius
c4adc2c493
Added a second row of tabs to the Edit tab: Questions, Categories, Import, Export, Settings
...
Added phpdoc header to some files
Improved language string and help file for decimal digits on grades
2006-02-09 13:57:22 +00:00
mindforge
f8180ec8d8
Merged from 1.5.
2005-09-14 11:17:24 +00:00
gustav_delius
39e3c1f1c3
Merged from STABLE
2005-07-06 07:53:17 +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