125 Commits

Author SHA1 Message Date
Petr Skoda
8d1a39637a MDL-23781 migrated old non-standard moddata lesson files and fixed media files migration 2010-08-12 16:05:41 +00:00
Sam Hemelryk
97b4ec5e20 mod lesson MDL-23753 Fixed use of $this outside object scope 2010-08-11 08:39:11 +00:00
Aparup Banerjee
ef4ba975f9 lesson MDL-23525 changed attempts retrieval from db to intuitional (code assumes it too) first->last attempt order 2010-08-04 02:26:46 +00:00
Petr Skoda
44cb7e6364 MDL-23541 missing define for fixed jump defaults 2010-07-28 13:45:01 +00:00
Petr Skoda
cb2c196306 MDL-23542 adding support for cols and rows in textarea editor, fixing lesson to use smaller text areas 2010-07-28 13:23:51 +00:00
Andrew Davis
6999d9cf75 lesson MDL-23456 in lesson module glossary autolinking was happening in question answers but not the questions themselves 2010-07-27 02:10:59 +00: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
52b2f0baae MDL-23193 editpage button works again 2010-07-25 10:10:49 +00:00
Petr Skoda
7b30b24ba6 MDL-23485 fixed branchtables regression 2010-07-25 09:45:16 +00:00
Petr Skoda
3fa2f030c3 MDL-23264 page title and content now required + fixed wrong cleaning - noclean must be used with PARAM_RAW 2010-07-25 09:11:17 +00:00
Petr Skoda
a675ada572 MDL-23499 fixed multiple regressions in multichoice lesson page + simplified code logic 2010-07-24 20:21:19 +00:00
Petr Skoda
ff85f9022c fixed comment typos 2010-07-24 19:03:37 +00:00
Petr Skoda
1e7f8ea232 MDL-23510 lib.php files have to be as small as possible, the actual implementation should be in locallib.php if possible === less used memory, fewer includes, ....; + coding style cleanup 2010-07-24 18:56:56 +00:00
Petr Skoda
d333dc2003 fixed file component regression 2010-07-20 07:14:02 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +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
Sam Hemelryk
6605ff8cda themes MDL-22358 Renamed sideblock class to block 2010-05-06 06:16:07 +00:00
Patrick Malley
a82fb0b629 Adding classes to lesson module 2010-05-03 17:35:21 +00:00
David Mudrak
4c80a990fa MDL-21695 Lesson module now uses new help strings
AMOS BEGIN
 HLP lesson/activitylink.html,[activitylink_help,mod_lesson]
 HLP lesson/custom.html,[customscoring_help,mod_lesson]
 HLP lesson/dependency.html,[dependencyon_help,mod_lesson]
 HLP lesson/displayleft.html,[displayleftmenu_help,mod_lesson]
 HLP lesson/displayleftif.html,[displayleftif_help,mod_lesson]
 HLP lesson/feedback.html,[displaydefaultfeedback_help,mod_lesson]
 HLP lesson/grade.html,[maxgrade_help,mod_lesson]
 HLP lesson/handlingofretakes.html,[handlingofretakes_help,mod_lesson]
 HLP lesson/import.html,[importquestions_help,mod_lesson]
 HLP lesson/importppt.html,[importppt_help,mod_lesson]
 HLP lesson/jumpto.html,[jumps_help,mod_lesson]
 HLP lesson/maxanswers.html,[maximumnumberofanswersbranches_help,mod_lesson]
 HLP lesson/maxattempts.html,[maximumnumberofattempts_help,mod_lesson]
 HLP lesson/maxpages.html,[numberofpagestoshow_help,mod_lesson]
 HLP lesson/mediafile.html,[mediafile_help,mod_lesson]
 HLP lesson/minquestions.html,[minimumnumberofquestions_help,mod_lesson]
 HLP lesson/modattempts.html,[modattempts_help,mod_lesson]
 HLP lesson/mods.html,[modulename_help,mod_lesson]
 HLP lesson/nextpageaction.html,[actionaftercorrectanswer_help,mod_lesson]
 HLP lesson/ongoing.html,[ongoing_help,mod_lesson]
 HLP lesson/overview.html,[overview_help,mod_lesson]
 HLP lesson/practice.html,[practice_help,mod_lesson]
 HLP lesson/progressbar.html,[progressbar_help,mod_lesson]
 HLP lesson/questionoption.html,[multianswer_help,mod_lesson]
 HLP lesson/questionoption.html,[casesensitive_help,mod_lesson]
 HLP lesson/retake.html,[retakesallowed_help,mod_lesson]
 HLP lesson/review.html,[displayreview_help,mod_lesson]
 HLP lesson/slideshow.html,[slideshow_help,mod_lesson]
 HLP lesson/timed.html,[maxtime_help,mod_lesson]
 HLP lesson/usepassword.html,[usepassword_help,mod_lesson]
AMOS END
2010-05-03 14:14:34 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
David Mudrak
0235e2477d MDL-20204 fixed calling of a dropped html_component method on block_contents 2010-03-18 16:49:03 +00:00
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda
227255b802 MDL-21402 new js_writer abstraction + otehr minor improvements 2010-01-20 20:01:24 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +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
Petr Skoda
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
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Sam Hemelryk
92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +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
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
350dc925f3 MDL-19812 Upgraded calls to link_to_popup_window() 2009-08-20 13:16:51 +00:00
nicolasconnault
d68ccdbaaa MDL-19812 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:15:52 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
d87b37c25c MDL-19812 Converted calls to popup_form() 2009-08-10 03:37:16 +00:00
nicolasconnault
08ed955b35 MDL-19812 2009-08-06 08:22:47 +00:00
tjhunt
4262a2f806 lesson: MDL-19890 Fix block-printing code in lesson (I hope)
This got broken by one of the commits for MDL-19077 & MDL-19010
2009-07-23 10:01:19 +00:00
tjhunt
4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
samhemelryk
ba458143e3 mod-lesson MDL-16706 Removed inline scripts and modified timer to take obj args 2009-06-25 06:29:41 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +00:00
skodak
a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
tjhunt
40d6de1af6 pagelib: MDL-12212 eliminate data_lesson 2009-05-06 09:31:08 +00:00
mark-nielsen
ab1e7c397f shortanswer grading: MDL-18347 shortanswer was not grading correctly with custom scoring set to No, merged from 19 2009-03-17 16:27:40 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
dongsheng
86f9334590 "MDL-14129, fix print_error" 2008-06-13 05:12:50 +00:00
skodak
318e374544 MDL-15112 converted some skipped dml stuff 2008-06-09 12:29:40 +00:00
jerome
e57bc529da MDL-15112 lesson dml conversion 2008-06-09 02:08:59 +00:00