Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Ankit Agarwal
d42bc7dc18
MDL-35226 lesson: Adding strings to page titles of lesson administrative pages to make it more accessible
2012-09-17 10:24:33 +08:00
Ankit Agarwal
5918e3715e
MDL-34467 lesson: Repalce all instances of get_context_instanc() with respective context_XXX::instance()
2012-07-27 13:26:35 +08:00
Rossiani Wijaya
4fd95658bb
MDL-29115 lesson mod: fixed the display of 'try again' button so it relates to lesson setting
2011-11-23 10:34:49 +08:00
Rossiani Wijaya
abd5c24e28
MDL-27955 lesson module: fixed error for reviewing lesson and update string to continue or finish reviewing
2011-06-29 18:18:52 +08:00
Rossiani Wijaya
57a4bd032b
MDL-27955 lesson module: fixed error for reviewing lesson and update string to continue or finish reviewing
2011-06-28 10:14:55 +08:00
Petr Skoda
ab6e79718c
Merge branch 'MDL-25632' of git://github.com/samhemelryk/moodle
2010-12-20 19:21:20 +01:00
Tim Hunt
d9c26e2174
blocklib MDL-25654 fix API inconsistency be renaming add_pretend_block to add_fake_block.
...
I added a deprecated method add_pretend_block that forwards to add_fake_block, so old code should be break. However, I aslo updated all the callers in core code.
2010-12-20 18:22:37 +01:00
Sam Hemelryk
1c510e2ee1
mod-lesson MDL-25632 Added support for displaying and progressing through a question page with no answers
2010-12-15 13:12:33 +08:00
Petr Skoda
39790bd805
MDL-24321 switching to stdClass in /mod/
2010-09-21 08:37:36 +00:00
Petr Skoda
64a3ce8c5b
improved coding style - mostly variable initialisation + some fixing and spelling
2010-09-18 13:27:21 +00:00
Aparup Banerjee
465a9b4f06
lesson MDL-23525 committing this fix after its passed the tests in the bug/QA.
...
- this fix allows the student to traverse the complete review paths. it only sets the continue button to go to the end of lesson when the page has no nextpage (last page).
2010-08-12 02:08:51 +00:00
Aparup Banerjee
8f639ad1bb
lesson MDL-23525 fixed unintialized variable.
2010-08-09 09:17:56 +00:00
Petr Skoda
f3b2189178
MDL-23598 fixed display problem related to review option - credit goes to Joseph RŽzeau
2010-08-03 10:32:27 +00:00
Petr Skoda
39f5b5c1ec
MDL-23463 found the redirection problem
2010-07-28 13:54:32 +00:00
Petr Skoda
cc3dbaaa30
MDL-21249 improved php docs package+subpackage info in mod/lesson
2010-07-25 10:54:39 +00:00
Petr Skoda
dc88d782a1
MDL-23463 fixed element name typo breaking form submissions
2010-07-25 10:02:42 +00:00
Petr Skoda
b3daa92632
fixed coding style to match other modules
2010-07-25 09:30:09 +00:00
Patrick Malley
a82fb0b629
Adding classes to lesson module
2010-05-03 17:35:21 +00:00
Petr Skoda
26acc814eb
MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api
2010-02-18 18:15:56 +00:00
Petr Skoda
916276fc0a
MDL-20204 more outputlib changes towards separate html_writer
2010-02-07 20:12:31 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
5c2ed7e215
MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements
2010-01-03 15:46:14 +00:00
Sam Hemelryk
448052a5fd
mod-lesson MDL-21006 Refactored renderer->header method, removed logic to function in locallib
2009-12-18 03:50:38 +00:00
Petr Skoda
649cf95d0b
MDL-21147 renamed find_renderer back to get_renderer() - there are no more collisions with those magic getters
2009-12-17 14:06:22 +00:00
Petr Skoda
56cbc53b76
MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements
2009-12-17 13:45:54 +00:00
Sam Hemelryk
0a4abb7306
mod-lesson MDL-21006 Huge refactoring of the lesson code
...
The following are notable changes made in this commit
* Lesson page type are now class based and extend an abstract class. This includes a class for the page type and a class for the creating/editing a instance of this page.
* Converted all forms to mforms
* Action script located in mod/action/* were worked into the above so far less switch statements and the action directory will be removed.
* Implements a custom renderer
* Converted everything to use page, output, and custom renderer methods
* Replaced all deprecated methods incl. print_textarea conversions
* Tried to cut down on excessive DB calls.
Things worth noting:
* The focus of this patch was on cleaning up the module not rewriting it, as such I have organized NOT rewritten. There are still many areas in the module where the code could be greatly improved however to do so would require a rethink/rewrite
2009-12-16 02:00:48 +00:00