27 Commits

Author SHA1 Message Date
dongsheng
0be2c85848 "MDL-14129, fix print_error call" 2008-05-21 07:53:23 +00:00
tjhunt
a56d98597e MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted. 2008-04-22 14:06:58 +00:00
tjhunt
767fac2902 MDL-14407
1. After deleting a question category, it redirects you back to a question bank URL. In some circumstances, this URL will contain a cat=nnn parameter of the category you have just deleted, which naturally leads to an error. This parameter needs to be removed.

2. When there are questions in the category that need to be moved, the category id we are moving to is not exploded on ','.
2008-04-17 15:59:49 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
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
7cb30aca20 Typo, should be $COURSE not $course 2007-08-13 13:19:42 +00:00
jamiesensei
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +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
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
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
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
jamiesensei
dac786f300 MDL-9437 lib/listlib.php for displaying and editing a nested list of items. And changes to question\category.php to use the new lists. 2007-04-19 08:57:54 +00:00
tjhunt
4323d02959 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 17:22:46 +00:00
tjhunt
bc649d80d5 MDL-7054 - Prevent creation of question categories with blank names. Merged from MOODLE_16_STABLE. 2006-10-17 21:45:19 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +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
68d07f8b01 6030 - Can't move question categories back to the top level. Merged from MOODLE_16_STABLE. 2006-07-06 10:07:26 +00:00
thepurpleblob
4fbfd9711c Bunch of category functions moved from lib/questionlib.php 2006-05-02 12:26:03 +00:00
gustav_delius
a60a7b0d21 Fixing filtering of category names, now using PARAM_NOTAGS. Fixing bug 5349 2006-04-27 06:55:38 +00:00
thepurpleblob
2c49e71073 Paramater cleaning for category name too restrictive for non-ascii
language encodings. Bug #5224
2006-04-18 14:20:02 +00:00
gustav_delius
2662cf46fc Some improvements to how the tabs and links behave. 2006-03-01 21:16:28 +00:00
gustav_delius
567709c4e0 Tabs on question bank editing pages 2006-03-01 08:43:41 +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
e586cfb4b0 Updated question scripts to work in their new location 2006-02-24 10:35:28 +00:00
gustav_delius
516cf3eb59 Moving quiz-independent question scripts to their new location. In a following commit these files will be updated to actually work in their new location. 2006-02-24 10:21:40 +00:00