12 Commits

Author SHA1 Message Date
Paul Holden
a7425a2255 MDL-75872 mod_lesson: allow unlimited attempts default value.
Related change in 252e85be added a similar value per activity, we
should also allow it to be chosen as a default for the site.
2022-11-09 18:53:54 +00:00
Luca Bösch
aee27d0a9b MDL-71118 core: Add grade (verb) string.
AMOS BEGIN
 CPY [grade,core],[gradenoun,core]
 CPY [grade,core],[gradeverb,core]
AMOS END
2021-04-17 11:46:09 +02:00
Stephen Bourget
e6e5d0104f MDL-52414 Lesson: Fix lesson defaults 2016-02-15 23:05:37 -05:00
Stephen Bourget
a36eba45dc MDL-52414 Lesson: Apply defaults to lesson creation 2016-02-10 14:07:22 -05:00
Stephen Bourget
bb685cf3fa MDL-49581 Lesson: Remove broken high score function 2015-07-20 20:06:44 -04:00
Andrew Hancox
6398ff5387 MDL-49101 core: Add a global admin setting config->requiremodintro
Removed requiremodintro setting from all core activity plugins and replace
with a single global setting.
Deprecated moodleform_mod::add_intro_editor and replaced with
moodleform_mod::standard_intro_elements
2015-04-07 10:11:53 +01:00
Tim Hunt
a6099a7a13 MDL-49006 admin: activity descriptions shouldn't be required by default 2015-01-28 21:52:58 +00:00
Daniel Neis Araujo
d83891729a MDL-38106 mod_lesson: Add introduction field 2014-10-03 14:38:03 +01:00
Sam Hemelryk
9b24f68bde MDL-41177 mod_lesson: unified @package use 2014-02-16 11:51:23 +13: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
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +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