Commit Graph

23 Commits

Author SHA1 Message Date
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
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
ab6e79718c Merge branch 'MDL-25632' of git://github.com/samhemelryk/moodle 2010-12-20 19:21:20 +01:00
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
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
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
64a3ce8c5b improved coding style - mostly variable initialisation + some fixing and spelling 2010-09-18 13:27:21 +00:00
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
8f639ad1bb lesson MDL-23525 fixed unintialized variable. 2010-08-09 09:17:56 +00:00
f3b2189178 MDL-23598 fixed display problem related to review option - credit goes to Joseph RŽzeau 2010-08-03 10:32:27 +00:00
39f5b5c1ec MDL-23463 found the redirection problem 2010-07-28 13:54:32 +00:00
cc3dbaaa30 MDL-21249 improved php docs package+subpackage info in mod/lesson 2010-07-25 10:54:39 +00:00
dc88d782a1 MDL-23463 fixed element name typo breaking form submissions 2010-07-25 10:02:42 +00:00
b3daa92632 fixed coding style to match other modules 2010-07-25 09:30:09 +00:00
a82fb0b629 Adding classes to lesson module 2010-05-03 17:35:21 +00:00
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
916276fc0a MDL-20204 more outputlib changes towards separate html_writer 2010-02-07 20:12:31 +00:00
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
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
448052a5fd mod-lesson MDL-21006 Refactored renderer->header method, removed logic to function in locallib 2009-12-18 03:50:38 +00:00
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
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
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