Commit graph

55 commits

Author SHA1 Message Date
tjhunt
7f761c27eb MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language. 2008-02-28 12:53:05 +00:00
tjhunt
0920afeddc MDL-10824 - spaces in javascript URLs are not strictly valid. 2007-09-19 17:44:37 +00:00
tjhunt
6f304b3251 Switch a form from post to get, since that is more appropriate. 2007-05-22 13:24:47 +00:00
pichetp
339bb9b746 merging from head so that calculated questions can be imported and other improvments 2007-05-15 00:53:21 +00:00
tjhunt
c2baadf060 MDL-9565 - Fix error in previous commit. 2007-04-25 17:59:22 +00:00
tjhunt
443768b8aa 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:23 +00:00
tjhunt
b930d5a83b 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 2007-04-11 22:56:50 +00:00
tjhunt
7585949466 Use the right string processing functions when outputting question names. Backported from HEAD 2007-03-13 16:20:58 +00:00
tjhunt
196b6f3918 MDL-8764 - In menus, show question categories from this course first, then published categories from other courses. 2007-03-05 18:05:39 +00:00
toyomoyo
a2182b2420 replacing fieldsets with divs in small forms 2007-03-02 02:16:17 +00:00
tjhunt
7c1fb23156 MDL-6773 - eliminate duplicate code for getting a list of question categories. 2007-03-01 09:45:19 +00:00
tjhunt
7a201b247e 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.
2007-02-27 13:59:10 +00:00
tjhunt
56e1965f4f MDL-4793 - Option to show question text in the question bank. Also, fix layout problems on the quiz editing screen. 2007-02-20 01:46:01 +00:00
tjhunt
872964f140 MDL-8145 - Add more options to the add random questions dropdown. 2007-02-19 04:24:02 +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
vyshane
0fd5feef05 Xhtml fixes for MDL-7861. 2007-01-08 07:58:22 +00:00
skodak
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
toyomoyo
95947ac9b6 replacing missing << with theme left arrow 2006-12-22 00:54:03 +00:00
toyomoyo
9d4eb0632b fixing the last comit, removing addtional < 2006-12-21 01:37:33 +00:00
toyomoyo
9d00db504a fix for MDL-7861, removing doulbe << 2006-12-21 01:31:46 +00:00
vyshane
1577488f68 xhtml fixes for MDL-7861. 2006-12-20 05:55:22 +00:00
toyomoyo
077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
moodler
2d14e8a8fe Removed duplicate capability moodle/course:managequestions MDL-6610 2006-09-28 07:17:39 +00:00
tjhunt
f3fb11f378 And another typo in capability name. 2006-09-19 22:58:12 +00:00
tjhunt
8cd402f900 Typo in capability name. 2006-09-19 22:35:40 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
toyomoyo
3765fd5367 some capabilities for quiz and questions, need to load them in access.php 2006-08-21 08:40:06 +00:00
tjhunt
4abc23b2ae Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE. 2006-08-18 21:23:15 +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
tjhunt
f92cf442db Bug #5793: remember whether Show all has been clicked in the question bank. Merged from MOODLE_16_STABLE. 2006-06-12 13:54:01 +00:00
tjhunt
5bbca3a4cb Fix for Bug #5588 - Editing a question after sorting leads to an error. Merged from 1.6stable. 2006-05-22 15:43:53 +00:00
thepurpleblob
36e2232e27 Merged from STABLE. 2006-05-13 08:49:46 +00:00
thepurpleblob
6cb4910c58 Merged from STABLE 2006-05-08 10:39:14 +00:00
thepurpleblob
4fbfd9711c Bunch of category functions moved from lib/questionlib.php 2006-05-02 12:26:03 +00:00
gustav_delius
50530eb782 The information from question_rqp_types table should not be loaded every time questionlib.php is loaded but only when the questiontype menu is actually needed. 2006-04-26 20:29:32 +00:00
gustav_delius
54b3626b9f Moved all question deletion code to showbank.php. Fixed bug 5186 2006-04-17 05:31:21 +00:00
gustav_delius
cf156ab045 Taking out random question hack that is no longer needed. 2006-04-09 22:43:22 +00:00
gustav_delius
e49a8d099e Supply default values for more arguments of question_list() 2006-04-06 12:54:48 +00:00
gustav_delius
7347c60b52 Teacher-provided text is now printed without cleaning. 2006-03-19 19:49:37 +00:00
gustav_delius
3abfa3a013 Show All link below question list. 2006-03-19 19:23:07 +00:00
gustav_delius
ccccf04f70 Multianswer restore now works.
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
thepurpleblob
fd14913ed6 fixed yet another missing courseid parameter :-) 2006-03-14 09:57:54 +00:00
gustav_delius
32a189d636 More renamings to separate questions from quiz. Some other small fixes. 2006-03-12 21:17:42 +00:00
thepurpleblob
a0e512feac Fixed missing courseid param in paging bar 2006-03-08 14:27:26 +00:00
skodak
e92d8ccf4d fixed category switching bug 2006-03-07 23:59:33 +00:00
thepurpleblob
dcd51df25e Another bunch of missing courseid parameters.
Deleting questions was not working.
2006-03-03 15:20:48 +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