Commit Graph

45 Commits

Author SHA1 Message Date
jamiesensei 0cbddd850b MDL-10857 broken link in navlinks for question bank pointing to mod/modname/view.php with cmid param instead of id param 2007-08-15 11:36:01 +00:00
thepurpleblob 83601351d7 Should be $COURSE not $course 2007-08-13 13:26:16 +00:00
jamiesensei 271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
thepurpleblob 7d43178bf2 This new moodle_url thing (which is really confusing by the way)
had broken the page. The selected category was being ignored.
Fixed, but possibly not in the most elegant way!!
2007-07-26 13:43:25 +00:00
thepurpleblob a783cec297 Possible error passing course id from page to page resolved 2007-07-26 12:38:28 +00:00
thepurpleblob 301317e987 Whoops - parameters need to match category check and display of course. 2007-07-26 11:04:28 +00:00
thepurpleblob 9782846235 MDL-9123:
Check that the selected category is allowed.

Merged from STABLE_18
2007-07-26 10:56:13 +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 f86c2c84b1 fixed error in import.php category object fetching logic 2007-05-07 07:08:41 +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
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 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 d187f66046 MDL-8946 - Fix a regression that broke question export. Also, partially clean up the way that question bank navigation tabs are printed, so the code is not duplicated in the quiz. Some other miscellaneous code cleaning too. Merged from MOODLE_18_STABLE. 2007-03-21 10:41:28 +00:00
tjhunt 4323d02959 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 17:22:46 +00:00
thepurpleblob f37015613c MDL-8898
Improvements to error handling in question bank import/export.
2007-03-14 13:03:57 +00:00
tjhunt 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
tjhunt 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
vyshane 0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +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 63d6266282 fixing broken xhtml MDL-7861 2006-12-21 01:12:05 +00:00
thepurpleblob 08892d5be5 Fixed a notice. Tidied up format class call a bit. Added provision
for categories to be specified within import files - MDL-4163.
2006-11-29 13:32:00 +00:00
moodler 2d14e8a8fe Removed duplicate capability moodle/course:managequestions MDL-6610 2006-09-28 07:17:39 +00:00
tjhunt 1da5a36294 More capability name typos. 2006-09-20 08:01:59 +00:00
toyomoyo d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +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
thepurpleblob 4fbfd9711c Bunch of category functions moved from lib/questionlib.php 2006-05-02 12:26:03 +00:00
gustav_delius 0c1e3a145f Changing the category on the import or export page also changes it on the question edit page, closing bug 5348 again 2006-05-01 22:26:06 +00:00
gustav_delius dc454ef428 question category is not remembered correctly by import and export pages, fixing bug 5348 2006-04-27 06:42:10 +00:00
thepurpleblob 296cb5b57b More logical wording on button to import from local file 2006-04-13 12:10:28 +00:00
thepurpleblob 76f0a33403 Grades in imported questions must match grades option list.
Added option to either generate error or match to nearest valid value if they don't
2006-03-22 16:30:14 +00:00
thepurpleblob ced7916cee More coding style improvements. 2006-03-14 16:01:40 +00:00
thepurpleblob cbc87100f7 Added ability to import files already in the course files area. (Bug #3896)
Also started tidying up the code, more to do.
2006-03-13 19:32:42 +00:00
thepurpleblob 1e3d6fd804 Fixed up some more links.
Fixed up a bunch of hardcoded text.
Added test for exporting category with no questions.
2006-03-09 16:17:45 +00:00
thepurpleblob 07663430ac Fixed some urls (mod/quiz to question). 2006-03-08 13:58:55 +00:00
thepurpleblob 5a4bcbc37c changed filename cleaning from PARAM_CLEANFILE to PARAM_FILE 2006-03-08 13:12:46 +00:00
thepurpleblob c4c06b6713 Fixed continue button. Link now requires courseid parameter. 2006-03-03 10:37:55 +00:00
gustav_delius 2662cf46fc Some improvements to how the tabs and links behave. 2006-03-01 21:16:28 +00:00
gustav_delius 70c01adb91 Improvement to tabbed interface 2006-03-01 09:30:21 +00:00
gustav_delius 567709c4e0 Tabs on question bank editing pages 2006-03-01 08:43:41 +00:00
gustav_delius f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +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 062f1125cc *** empty log message *** 2006-02-28 09:36:31 +00:00
thepurpleblob 72c8c699be Removed links to locallib.php 2006-02-24 15:46:26 +00:00
thepurpleblob aca318e17e Moving import/export to new question area.
This will need some more work/testing though!
2006-02-24 15:17:40 +00:00