Commit Graph

63 Commits

Author SHA1 Message Date
Dongsheng Cai a1eb90c0eb MDL-22574, fixed question import button 2010-06-08 03:04:39 +00:00
Rossiani Wijaya 0f56fde284 MDL-20447 - bulk upload: add page heading 2010-06-02 06:13:27 +00:00
Sam Hemelryk 56ed242b51 navigation MDL-20276 Fixed up the navigation for the quiz module and question section as per Tim's recommendation.
* Routine navigation through the quiz and question modules
* Fixed navbar through quiz and questions
* Pages headers added throughout
* Added method to turn a navigation node into a tabs array suitable for use with print tabs
2010-05-21 03:15:48 +00:00
Tim Hunt 453b28d818 Fix $PAGE->set_url initialisation order. 2010-04-12 13:31:42 +00:00
Petr Skoda 8afba50b84 MDL-21233 get_query_string() is definitely not recommended in new code, instead use moodle_url constructors with proper parameters; removed some more legacy url concatenation operations; realized out_action is not needed often, because we shoudl pass arounf moodle_url instances instead of old url strings 2010-01-17 10:54:13 +00:00
Petr Skoda 4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Sam Hemelryk d8ae33a95c question MDL-21169 removed update_module_button calls from question these are now added by the module extending the navigation if there is a module specified for question pages.
Also fixed bug in moodle_url object coding_error to coding_exception
2009-12-23 02:45:22 +00:00
Petr Skoda aeb15530b8 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:57:52 +00:00
samhemelryk 5c0daafc3d question MDL-19820 Added set_url calls with pre-generated var 2009-10-16 03:22:20 +00:00
samhemelryk 1d58b567be question MDL-19820 Replaced deprecated functions 2009-09-25 04:16:27 +00:00
samhemelryk d412354cc6 question MDL-19820 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 02:36:39 +00:00
nicolasconnault fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
nicolasconnault 9b59580b36 MDL-19820 Converted all print_footer() calls 2009-08-06 14:19:16 +00:00
thepurpleblob 73b7b195ed MDL-16198
Blackboard V6+ can now handle the .dat file directly as an option to the .zip file
Some changes needed to recover the original filename.

Merged from STABLE_19
2008-08-28 13:49:25 +00:00
dongsheng bd8ee7c1c4 "MDL-14129, fix print_error" 2008-06-15 12:02:43 +00:00
dongsheng fd9f6cd330 "MDL-14129, fix print_error" 2008-06-15 12:02:43 +00:00
nicolasconnault f34488b2e6 MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing. 2008-06-06 14:43:15 +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 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