Commit Graph

19 Commits

Author SHA1 Message Date
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
5491947aa1 NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files. 2006-09-30 19:49:40 +00:00
62bb11d837 Added display default feedback in lesson settings
Led to reducing some redundant code in action/continue.php
Also, a bug fix in locallib.php for function lesson_print_submit_link (needed to add slashes or else js would break)
2006-09-18 01:31:35 +00:00
02f071d147 lesson_default table had become out of synch with the lesson table. Needed to add new columns.
Updated backup and restore to include the new values

Fixed a bug in restore where it would restore 1 lesson_default per lesson.  Now only stores one per course.

Went through all the backuplib.php, restorelib.php, mysql.sql and postgres7.sql to make sure everything was in synch and being backed up and restored.
2006-05-01 19:02:38 +00:00
97d2756c65 [New Feature] Tabbed navigation added to lesson (similar to quiz)
[Added] Graceful fails added to view.php, essay grading, and reports
[Changed] got rid of a lot of references to $_POST/GET/REQUEST
[Fixed] In reports, it required teacheredit, should only be teacher
[Changed] High scores - teachers can actually see them!  Also, improved output by using print_table and print_heading
[Changed] Grade essays now uses fullname() to print user names
2006-03-25 21:38:57 +00:00
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
ee3f227560 New Feature: Lesson Dependency
In a lesson's settings one can now set the current lesson to be dependent on another lesson in the same course.  Then, the user can set the conditions for the dependency.  Currently the conditions are time spent, grade better than X, and completed (yes/no).
2005-06-30 21:11:02 +00:00
f26cef7c22 Minor changes to support the new media file feature. 2005-06-15 23:35:11 +00:00
bbab80d1fc Some minor XML indentation, some changes in the XML structure and
some important bugs. Now everything seems to work properly with
lessons and backup/restore.

Only 1 pending change: Should the answer->grade field in old backups
  go to the new score field??????
2005-03-07 01:32:05 +00:00
8032acc64c Simple replace of tabs to spaces!! 2005-03-04 00:30:02 +00:00
493c24e5a8 backup now actually backs up. Includes all of our database changes 2004-11-01 19:53:06 +00:00
5e7856af58 Added a lot of new features to lesson mod. Check them out :)
MarkNielsen
2004-09-15 20:32:24 +00:00
41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
45c27c7e4b Optional use of the HTML editor. 2004-04-01 16:56:56 +00:00
9e93d4d03f Version 3 update 2004-03-27 04:15:29 +00:00
394c97c88b Support for extra question types added; Flash Card style lessons now an
option.
2004-02-26 16:54:47 +00:00
6e773096a5 Added the lesson_get_participants() function
to properly detect all the needed users with data
in the activity in order to be able to backup them.
2004-02-22 18:15:45 +00:00
bbcbc0fecc Adding the Lesson module to the main CVS. Nice job Ray!
Still needs PostgreSQL support and wider testing
2004-02-16 05:41:13 +00:00