535 Commits

Author SHA1 Message Date
pichetp
6e8f63c6d4 removing $qo->generalfeedback = ''; line 640 as generalfeedback is already set in
import_headers().
2007-05-13 15:07:07 +00:00
pichetp
093414d200 Setting import_process =true in defaultquestion() function used on imports 2007-05-11 13:00:34 +00:00
pichetp
d1c432e207 adding more validation and a dummy subquestion in MATCH if there is only 2 subquestions. 2007-05-08 19:19:09 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
thepurpleblob
460135234c MDL-9700:
Added more comprehensive checks for missing fields not exported in
previous versions.
More could be done, but this covers the basics and works for 1.6 (and
probably 1.5) exports.
2007-05-08 14:24:13 +00:00
jamiesensei
85c375c3f8 added function callbacks for module specific controls to question bank. 2007-05-07 16:57:23 +00:00
jamiesensei
7cd4fda6e7 changing param type for returnurl to PARAM_LOCALURL 2007-05-07 15:16:07 +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
f86c2c84b1 fixed error in import.php category object fetching logic 2007-05-07 07:08:41 +00:00
jamiesensei
561fe61df3 return to the proper page after editing a question in the question bank. 2007-05-07 06:35:33 +00:00
jamiesensei
d340fde6c4 oops. Accidentally committed a change in default no of category items displayed which I'd changed for debug purposes. Reverting change. 2007-05-07 05:57:49 +00:00
jamiesensei
986effb653 pass the category list page param from page to page in question bank editing pages. 2007-05-07 05:53:20 +00:00
jamiesensei
a4758a8632 require_login is in 'question_edit_setup' we don't need to call it again here. 2007-05-07 05:12:09 +00:00
jamiesensei
7bc26c8f6d changes to pass category id from page to page in question bank editing. 2007-05-07 04:55:55 +00:00
pichetp
eeea21878d adding calculated question import MDL-5650 2007-05-07 04:01:20 +00:00
thepurpleblob
5931ea94a1 MDL-9675:
Default value added for 'answernumbering'. Default is 'abc'
2007-05-05 14:44:12 +00:00
thepurpleblob
cdeabc0638 Fixed hard coded string 2007-05-04 14:31:56 +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
tjhunt
2c89cfb533 Matching qestion type was failing to correctly determine wheterh the student had changed their answer - further improvements. Merged from MOODLE_18_STABLE. 2007-05-04 10:04:20 +00:00
jamiesensei
9ab3847595 tightening up reg expressions used for submitted data a bit 2007-05-04 08:33:28 +00:00
jamiesensei
1d88985787 removing TODO comment as the question.php script no longer treats quiz as special. 2007-05-04 06:09:37 +00:00
jamiesensei
c65b63deb6 removed global var declaration for var that wasn't used in function 2007-05-04 05:51:59 +00:00
jamiesensei
9ab75b2bcc passing cmid to question.php and removed use of session modform var. Question.php now independent of quiz module. Small improvement to displayed breadcrumbs. 2007-05-04 05:47:59 +00:00
jamiesensei
e22618dd73 deleted redundant method which was just calling the parent method. 2007-05-04 05:30:03 +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
jamiesensei
86909ce047 small fix to get question code to return to correct place after creating a new question. 2007-05-03 05:17:07 +00:00
jamiesensei
71e0eda8f7 standardizing params for edit question page. All pages now use courseid instead of course or id. 2007-04-30 06:48:57 +00:00
tjhunt
bac40536f4 MDL-9616 - Custom checks in environment.xml 2007-04-27 17:15:24 +00:00
jamiesensei
efe839dc12 Removed 'edit category' redundant button 2007-04-27 11:27:57 +00:00
tjhunt
8e652f025b Insufficient error checking was causing problems. 2007-04-27 11:05:57 +00:00
jamiesensei
f3ba642c5c forget to pass page parameter during redirects. 2007-04-27 05:48:12 +00:00
tjhunt
27987cbb78 Eliminate support for old-style question editing forms. 2007-04-25 18:20:04 +00:00
tjhunt
e3aea79afe MDL-9565 - Fix error in previous commit. Merged from MOODLE_18_STABLE. 2007-04-25 17:59:53 +00:00
pichetp
56e248a086 MDL-9657 cleaning abstractype code. 2007-04-25 16:48:33 +00:00
jamiesensei
a982d582c4 Added redirects after all actions.
Added methods to category class to generate a url from an array of parameters stored in the object.
Cleaned up some old redundant code for actions now processed in list class.
2007-04-25 14:06:37 +00:00
thepurpleblob
fa5cb18b74 MDL-9577:
Fixing change of name (answer => correctanswer) for true/false questions.
2007-04-25 09:43:37 +00:00
pichetp
d77def3e74 MDL-9657 cleaning abstractype code. 2007-04-25 09:06:35 +00:00
pichetp
81c6503ec4 removing comments and print_r 2007-04-25 08:52:47 +00:00
pichetp
a6d46515f1 MDL-9496 Adding multianswer to calculated and MDL-9657 cleaning abstractype code. 2007-04-25 08:15:50 +00:00
tjhunt
7375c542cf Clean up whitespace. 2007-04-24 23:39:22 +00:00
tjhunt
ed0ba6da04 Occasional unique-key violations were caused by some really weird code to do with units in numerical questions. This cleans it up. 2007-04-24 23:37:32 +00:00
tjhunt
295043c21c Base class methods preparitory to deleting a lot of essentially duplicated code from the various question types. 2007-04-24 23:31:41 +00:00
tjhunt
53a4d39f1c Clean up whitespace. 2007-04-24 23:26:48 +00:00
tjhunt
06d20c2429 Clean up trailing whitespace. 2007-04-24 23:25:33 +00:00
tjhunt
cb354a653c Fix comedy require_once. Merged from MOODLE_16_STABLE. 2007-04-24 21:16:14 +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
fe76ab5006 MDL-9389 - True / False penalty factor field redundant. Merged from MOODLE_18_STABLE. 2007-04-23 16:23:17 +00:00
tjhunt
fe6480283c MDL-9447 - Default grade field is redundant in embeded answer (Cloze) question. Merged from MOODLE_18_STABLE. 2007-04-23 13:55:22 +00:00
pichetp
1d9bc9a60d add string of Update the category button 2007-04-20 02:43:28 +00:00
tjhunt
e3b2eb60e1 MDL-9432 - Forgot to return success/failure in two places. 2007-04-19 17:37:14 +00:00