d8a3787567
MDL-64968 mod_lesson: Style "Yes, I'd like to try again" button.
2019-05-04 11:03:21 +02:00
dab563f5a6
MDL-59081 mod_lesson: Remove continue button if not needed.
...
This checks to see if the continue button goes to the same
page as the try again button and removes it if it does.
2019-03-29 14:14:01 +08:00
a25863a3c0
MDL-63512 mod_lesson: Fix video links provided in feedback
2018-12-14 10:26:00 +08:00
79189e975c
MDL-51745 mod_lesson: Use format_text in response feedback
2017-08-07 15:53:11 +09:30
18f3d7667b
MDL-59068 lesson: Revert MDL-54849
...
MDL-54859 made the 'wrong jump' setting useless, since clicking 'No' always sends the user to the next page.
2017-07-04 10:33:17 +02:00
ff8a1930ad
MDL-54849 lesson: Move on to next question
...
Move on to next question button takes you to the same question again.
2017-04-24 14:06:57 +08:00
8d6748380c
MDL-57696 mod_lesson: Remove redirects from API
...
In this commit I removed redirects that potentially could break the Web
Services layer.
Instead doing redirect inside APIs I return a special flag that is
properly checked.
2017-03-21 15:51:51 +01:00
61b51764b8
MDL-57696 mod_lesson: Move code to lesson methods
...
Small refactor to avoid duplication in the Web Service
2017-03-21 15:51:50 +01:00
dbba944e32
MDL-57688 mod_lesson: Move duplicated code to methods
...
Some code that will be used by Web Services was moved, we created new
methods to avoid code duplication:
- To generate the lesson messages on page view
- To check the time restrictions in a current attempt
2017-03-21 15:18:44 +01:00
37029e468f
MDL-57643 mod_lesson: Refactor, move php code to locallib
2017-03-15 11:35:25 +01:00
0dea8ed76a
MDL-50516 mod_lesson: prevented user from repeating question
...
It was possible in the lesson module for a user to
answer a question, get the result, then click back
in the browser and re-answer it, even if they exceeded
the number of attempts allowed per question.
2015-09-09 15:27:23 +08:00
e0e1a83e2c
MDL-49642 mod_lesson: Group/user overrides
2015-04-02 13:56:52 +02:00
a1acc00177
MDL-48962 mod-lesson: maxtime should use a duration form element
2015-02-26 10:28:42 +01:00
ed9b45ecf1
MDL-43898 lesson: Fix for positioning of blocks on continue.php
2014-12-31 09:09:05 +00:00
0a6a254351
MDL-41155 Lesson: Fixed multiple question attempts logic
...
Thanks to Rajneel Totaram for providing this patch.
2014-11-20 14:43:12 +08:00
0aec842e58
MDL-45127 mod_lesson: Fixed reviewing lesson answers changing the lesson grade.
2014-05-02 16:09:06 +08:00
9b24f68bde
MDL-41177 mod_lesson: unified @package use
2014-02-16 11:51:23 +13:00
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c
.
2013-08-21 13:42:30 +08:00
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
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
5918e3715e
MDL-34467 lesson: Repalce all instances of get_context_instanc() with respective context_XXX::instance()
2012-07-27 13:26:35 +08:00
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
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 Rzeau
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