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
5918e3715e
MDL-34467 lesson: Repalce all instances of get_context_instanc() with respective context_XXX::instance()
2012-07-27 13:26:35 +08:00
Petr Skoda
3d1b745283
MDL-22639 fixed meadiafile support - unfortunately all old media files are lost, upgrade again from 1.9.....
2010-07-25 12:39: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
b3daa92632
fixed coding style to match other modules
2010-07-25 09:30:09 +00:00
Petr Skoda
9b56a34f7d
MDL-16089 some resource lib and lang pack cleanup
...
AMOS START
MOV [displayauto,mod_resource],[resourcedisplayauto,core]
MOV [displaydownload,mod_resource],[resourcedisplaydownload,core]
MOV [displayembed,mod_resource],[resourcedisplayembed,core]
MOV [displayframe,mod_resource],[resourcedisplayframe,core]
MOV [displaynew,mod_resource],[resourcedisplaynew,core]
MOV [displayopen,mod_resource],[resourcedisplayopen,core]
MOV [displaypopup,mod_resource],[resourcedisplaypopup,core]
AMOS END
2010-05-22 13:54:41 +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
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
Petr Skoda
86342d631f
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 15:03:10 +00:00
samhemelryk
87f83794a4
mod-lesson MDL-19812 Added set_url calls, replaced deprecated functions
2009-09-24 08:05:55 +00:00
samhemelryk
2458610a27
lesson MDL-19812 Updated print_header and build_navigation to OUTPUT and PAGE equivalents
2009-09-07 06:28:37 +00:00
nicolasconnault
d68ccdbaaa
MDL-19812 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:15:52 +00:00
nicolasconnault
f7e6b8624a
MDL-19812 Converted all print_footer() calls
2009-08-06 14:14:24 +00:00
nicolasconnault
84477c82d4
MDL-19812 Migrated calls to close_window_button()
2009-08-06 02:53:37 +00:00
scyrma
5a254a2938
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9)
2008-07-10 09:55:11 +00:00
dongsheng
b3c4db7c1a
"MDL-14129, fix print_error"
2008-06-15 08:34:35 +00:00
jerome
646fc29036
MDL-15112 lesson dml conversion
2008-06-06 04:03:40 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
mark-nielsen
16a7ab9826
Merged in changes for MDL-9923 from MOODLE_18_STABLE
2007-07-24 07:04:33 +00:00
mark-nielsen
e72be0548e
Merging in changes for MDL-9947 and MDL-9923 from MOODLE_18_STABLE
2007-05-28 18:55:15 +00:00
toyomoyo
76d4ec0095
replacing fieldsets in small forms to divs
2007-03-01 05:29:50 +00:00
vyshane
f6830d4cb1
xhtml fixes related to MDL-7861.
2007-01-12 06:57:11 +00:00
mark-nielsen
eb302b1914
Merged in fix for MDL-7418
2006-12-08 18:48:01 +00:00
mark-nielsen
5491947aa1
NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files.
2006-09-30 19:49:40 +00:00
vyshane
94bcea7983
Removed mod/lesson:view
2006-09-22 02:58:39 +00:00
mark-nielsen
6e1ff5c8fb
MDL-6477: Added roles support.
...
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +00:00
moodler
dabfd0ed85
Removed tabs
2006-08-09 13:45:49 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
michaelpenne
3eca6cf1bf
NEW FEATURE: Media file now works with web pages and with text and html files. Also, the pop-up
...
window size is configurable as well as an optional close button at the bottom of the window.
2005-10-28 22:45:47 +00:00
michaelpenne
804456766e
now passes the media files name to the print header function
2005-06-16 17:17:58 +00:00
michaelpenne
dbda1da801
This file is used as a popup to play a media file defined in the lesson settings.
...
This file still needs some testing before it is ready for prime time.
2005-06-15 23:29:50 +00:00