Commit Graph

78 Commits

Author SHA1 Message Date
a18fbcfb50 MDL-13298 "Question bank displays always page 1 after adding new question" this was caused because the question creation page was redirecting back to the question back edit page and telling it to change to the category of the question that was just saved. This was causing the edit page to go back to page 0 of the new category. Now we only go back to page 0 if the category has actually changed. Merged from MOODLE_19_STABLE 2008-02-05 12:14:46 +00:00
987c5893ac MDL-12280 - Question bank forgets sort order when adding multiple questions to a quiz. Merged from MOODLE_19_STABLE. 2007-11-20 15:54:34 +00:00
ea16c547ee Remove a developer debug notice and save a database query. Merged from MOODLE_19_STABLE. 2007-11-20 14:46:50 +00:00
be801b8b3a MDL-11139 "Need to pass courseid or cmid to this script when moving questions between categories " added COURSE to globals in function that redirects browser to contextmoveq page. 2007-10-03 04:42:57 +00:00
314fc083d9 MDL-10824 - spaces in javascript URLs are not strictly valid. Merged from MOODLE_18_STABLE. 2007-09-19 17:44:52 +00:00
8f0f605ddf moved question_make_default_categories function to questionlib.php since it is needed by other modules outside the question bank editing interface. 2007-09-18 11:23:29 +00:00
e7e62d45be Fix for MDL-10823 Access to question edit page denied from quiz preview screen. 2007-08-14 04:22:05 +00:00
871ab9a3e2 Removed usage of table aliases with "as" as per MDL-10808 2007-08-11 14:28:36 +00:00
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
d0e88092e9 MDL-10130 - Thanks to Adriane Boyd. 2007-06-15 10:25:09 +00:00
da1cc34073 MDL-10089 - Cannot delete questions from question bank - Thanks to Adriane Boyd for the fix. 2007-06-12 11:13:49 +00:00
335768f419 Removed some RQP code no longer needed MDL-9600 2007-05-24 07:10:22 +00:00
214f6330f9 MDL-9881 - Attempting to delete large number of questions fails due to long URL - Merged from MOODLE_18_STABLE. 2007-05-22 14:04:06 +00:00
d1f2b9e130 Switch a form from post to get, since that is more appropriate. 2007-05-22 13:24:51 +00:00
85c375c3f8 added function callbacks for module specific controls to question bank. 2007-05-07 16:57:23 +00:00
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
561fe61df3 return to the proper page after editing a question in the question bank. 2007-05-07 06:35:33 +00:00
986effb653 pass the category list page param from page to page in question bank editing pages. 2007-05-07 05:53:20 +00:00
7bc26c8f6d changes to pass category id from page to page in question bank editing. 2007-05-07 04:55:55 +00:00
36e298bc58 removed more session stuff from question list and category form in question bank display code 2007-05-04 10:46:33 +00:00
9ab3847595 tightening up reg expressions used for submitted data a bit 2007-05-04 08:33:28 +00:00
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
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
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
efe839dc12 Removed 'edit category' redundant button 2007-04-27 11:27:57 +00:00
e3aea79afe MDL-9565 - Fix error in previous commit. Merged from MOODLE_18_STABLE. 2007-04-25 17:59:53 +00:00
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
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
5fd8f999d3 A couple of changes to Pierre's calculated question import/export
export_process and import_process flags now apply to all questions
and what looked like a development print_r has been commented out.
2007-03-28 11:58:44 +00:00
4323d02959 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 17:22:46 +00:00
70ed76670e Use the right string processing functions when outputting question names. 2007-03-13 16:20:41 +00:00
b030a630c0 MDL-8764 - In menus, show question categories from this course first, then published categories from other courses. Merged from MOODLE_18_STABLE. 2007-03-05 18:05:51 +00:00
5bff81aba6 replacing fieldsets with divs in small forms 2007-03-02 02:16:27 +00:00
3ed998f343 MDL-6773 - eliminate duplicate code for getting a list of question categories. Merged from MOODLE_18_STABLE. 2007-03-01 09:45:53 +00:00
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
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
b28e2577d7 MDL-8145 - Add more options to the add random questions dropdown. 2007-02-19 04:24:14 +00:00
901011fd4d MDL-8205 - Layout of quiz editing screen not right 2007-01-18 17:38:51 +00:00
0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +00:00
0fd5feef05 Xhtml fixes for MDL-7861. 2007-01-08 07:58:22 +00:00
d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
95947ac9b6 replacing missing << with theme left arrow 2006-12-22 00:54:03 +00:00
9d4eb0632b fixing the last comit, removing addtional < 2006-12-21 01:37:33 +00:00
9d00db504a fix for MDL-7861, removing doulbe << 2006-12-21 01:31:46 +00:00
1577488f68 xhtml fixes for MDL-7861. 2006-12-20 05:55:22 +00:00
077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
2d14e8a8fe Removed duplicate capability moodle/course:managequestions MDL-6610 2006-09-28 07:17:39 +00:00
f3fb11f378 And another typo in capability name. 2006-09-19 22:58:12 +00:00
8cd402f900 Typo in capability name. 2006-09-19 22:35:40 +00:00
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00