51 Commits

Author SHA1 Message Date
jamiesensei
0de94538ee fixed links on edit icons so that they return to question bank page. 2007-05-07 15:38:02 +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
tjhunt
7d87171ba9 MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle. 2007-04-24 16:59:32 +00:00
tjhunt
dcc2ffde63 MDL-9082 - moodle/question:manage does not let you create questions. Also: * remove useless option from print_question_icon * use the right module context in question_list * a bit of XHTML strrrict in question_list Merged from MOODLE_18_STABLE. 2007-04-11 22:57:46 +00:00
tjhunt
7d0763a008 Missing format_string. Merged from MOODLE_18_STABLE. 2007-04-02 15:26:31 +00:00
tjhunt
779d35f143 Fix notice. 2007-03-15 12:52:50 +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
624cbc9c26 MDL-4793 - Option to show question text in the question bank. Also, fix layout problems on the quiz editing screen. Merged from MOODLE_18_STABLE. 2007-02-20 01:48:09 +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
skodak
ff8889d8cf MDL-7861 still some icons left ;grr previous commid had wrong MDL id 2007-01-08 20:38:03 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
toyomoyo
83e09b629a MDL-7861, fixing broken xhtml 2006-12-21 02:12:44 +00:00
toyomoyo
3f5abcb20a accessibility fixes 2006-12-14 07:48:40 +00:00
tjhunt
2962ad61e4 Put back spaces in code that Martin Dougiamass stripped out of the lang strings without thinking about the consequences. Merged from MOODLE_17_STABLE. 2006-11-28 18:42:18 +00:00
tjhunt
3a3771d2b9 MDL-6650 - Previewing individual random questions from the quiz editing screen was not working, and anyway, I'm not sure it makes any sense, so I removed that preview link. Merged from MOODLE_17_STABLE. 2006-10-16 11:05:45 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +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
gustav_delius
6037288eeb Fixed code that relied on globals hack. Fixed bug 5261 2006-04-20 23:10:45 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
moodler
ba76a8f5cf Fixing some Javascript errors on IE 2006-04-05 02:40:34 +00:00
gustav_delius
4eda4eecbd Added question type that is used if a question of unknown type is encountered.
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +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
4546212ce3 Keep the action icons in the category questions list from wrapping. Eventually this editing page needs to be styled properly with css. 2006-02-22 19:19:42 +00:00
gustav_delius
14afbbf034 Added the much-requested question reordering tool 2006-02-19 16:34:06 +00:00
gustav_delius
c54da50b29 An additional sorting order for category question list 2006-02-18 15:09:08 +00:00
gustav_delius
786187cdfd Removed unnecessary code: questions are only deleted if they have no attempts. 2006-02-15 08:13:14 +00:00
gustav_delius
7c4127efad Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767 2006-02-11 21:07:08 +00:00
skodak
baf4b75fe5 quoting typo; merged from MOODLE_15_STABLE 2005-11-16 16:35:21 +00:00
gustav_delius
c3f806312f Fix for bug 4052 2005-09-17 12:10:35 +00:00
mindforge
f8180ec8d8 Merged from 1.5. 2005-09-14 11:17:24 +00:00
gustav_delius
537daa79be Merged from STABLE. 2005-08-31 16:32:49 +00:00
thepurpleblob
cc93459372 Export now saves file in correct course file area (ie, the current one).
Export now works for published courses where the teacher is not
a teacher on the 'remote' course.
See bug #3996 and bug #3985
2005-08-30 15:13:37 +00:00
gustav_delius
39e3c1f1c3 Merged from STABLE 2005-07-06 07:53:17 +00:00
gustav_delius
d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
gustav_delius
ed460c8e04 I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845. 2005-06-26 16:21:11 +00:00
mjollnir_
adf19ef5b4 Merged from MOODLE_15_STABLE: Fixing bug 3502 - 2 postgres problems - one in db creation (my fault) and one in '' instead of 0 for int in sql query 2005-06-15 22:49:02 +00:00
gustav_delius
7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
gustav_delius
ee68029a88 merged fix for bug 3329 2005-05-24 16:11:55 +00:00
stronk7
87dddc1445 Replaced some (not all) tabs to spaces.
I've leave unmodified formats and nusoap library
2005-05-16 22:51:16 +00:00
gustav_delius
9402459460 improved display of paging bar on edit page 2005-05-15 08:02:45 +00:00
gustav_delius
8f015ea595 my stupid editor has been eating whitespace 2005-05-14 20:16:31 +00:00
gustav_delius
815bb0cf32 There can now be an arbitrary number of rqp servers of each type.
The remote question types do show up on the editing drop-down like any other question type.
I have disabled rqp on php < 5 for the time being.
2005-05-14 16:21:11 +00:00
gustav_delius
c4aff6543c Fixed bug reported at http://moodle.org/mod/forum/discuss.php?d=23526 2005-05-10 15:00:27 +00:00
gustav_delius
978f438893 "Go" buttons are now enclosed in <noscript> tags. 2005-05-06 07:03:14 +00:00