1
0
mirror of https://github.com/moodle/moodle.git synced 2025-06-27 18:45:14 +02:00
Commit Graph

15 Commits

Author SHA1 Message Date
a1acc00177 MDL-48962 mod-lesson: maxtime should use a duration form element 2015-02-26 10:28:42 +01:00
50d70c5caf MDL-27930 Lesson: the count-down timer does not work 2014-11-04 15:12:42 +01:00
92bfad6b1b MDL-42663 mod_lesson: Move definitions to show_clock()
Seems that the required data is not always set
before timer.js is included.
2013-11-01 16:37:45 +08:00
fd876e1bb6 unterminated JS statement 2010-09-18 12:57:23 +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
86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
ba458143e3 mod-lesson MDL-16706 Removed inline scripts and modified timer to take obj args 2009-06-25 06:29:41 +00:00
32f0b38a4a MDL-8049 Remove all language=Javascript from javascript includes 2007-01-03 19:33:44 +00:00
2cb24b647c Improved clock output and works when javascript is disabled 2006-09-09 22:20:51 +00:00
271fea974f Tabs are out.
(all the module was using them, please change your editor settings to 4 spaces)
2005-05-16 22:41:19 +00:00
7f2ad6c2d3 changed the math for calculating the time left in a lesson to be more compatible with browsers 2005-03-11 23:15:18 +00:00
ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
9d1bd908f5 fixed the clock formating. 2005-02-04 19:34:22 +00:00
eb73cd47e0 moved output from inside this file, to lesson.php and view.php. Also now uses lang file. 2004-11-01 20:39:30 +00:00
5e7856af58 Added a lot of new features to lesson mod. Check them out :)
MarkNielsen
2004-09-15 20:32:24 +00:00