Commit Graph

38 Commits

Author SHA1 Message Date
mark-nielsen 5491947aa1 NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files. 2006-09-30 19:49:40 +00:00
mark-nielsen eefa69ce5c Bug Fix: The dependency drop-down was displaying incorrectly. Fixed up code to use API to gather Lessons correctly. 2006-09-30 19:24:22 +00:00
mark-nielsen c7c404b964 Fixed alignment issue in IE 2006-09-23 18:51:49 +00:00
mark-nielsen 9b5274b96d Fixed a label 2006-09-23 01:01:14 +00:00
mark-nielsen 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
moodler dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
mark-nielsen 31eb5b5335 [Removed] the Delete user attempts option in the Lesson settings (changes to mod and lib)
[Added] new functionality to report.php to delete individual student attempts
[Fixed] High scores text in view.php when no high scores were recorded needed to be centered
2006-04-29 01:37:50 +00:00
mark-nielsen 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
michaelpenne 8e7cf8d4c9 [Fixed] Activity linking was not useing the course module id correctly. 2006-02-06 20:49:03 +00:00
michaelpenne b4f4f09ca8 [Fixed] Fails gracefully when no course modules are found.
[Fixed] Does not remove other modules from the activity link options due to same ids.
2006-01-13 21:57:42 +00:00
defacer 018881d4a9 Fixing invalind value for cellpadding ("5px") 2005-11-23 22:14:57 +00:00
defacer 3d6fc45229 Fixing defaults (copy/paste error) -- this printed notices with debug=on and
actually mangled the "create lesson instance" query so badly that you could
not add lessons!
2005-11-23 22:11:50 +00:00
michaelpenne 114f47a79e NEW FEATURE: Activity Link allows the teacher to display a link to another activity, which is in the same course,
at the end of the Lesson.
2005-11-07 19:56:08 +00:00
michaelpenne 16fa48c83e The Lesson dependency help button was pointing to the wrong help file. 2005-11-02 21:22:16 +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 62eda6ea18 NEW: Progress bar option. Now a progress bar can be optionally displayed at the bottom of the lesson page.
NEW: Display Left Menu IF.  The left menu will only display if the student has a grade better than the one set in the lesson settings.  This is nice to allow only students who are reviewing the lesson to have access to the left menu.

BUG FIX: In Windows IE, the content was being aligned center.  Now, the content is explicitly aligned to left as default.
BUG FIX: High Scores variable was not spelled correctly at the End of Lesson.

ADDED: Div tags around branch tables.  This will allow users to choose to display them or not or move them around

CHANGED: converted more of the links to the stylized button.  Also, removed a lot of forms and javascript and replaced it with links with the variables in the href.
CHANGED: the slide show styles have been moved to the style sheet.
CHANGED: removed the CDC comments

Other minor changes have been made to the code as well.
2005-10-24 23:06:43 +00:00
michaelpenne 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
michaelpenne f26cef7c22 Minor changes to support the new media file feature. 2005-06-15 23:35:11 +00:00
michaelpenne 1bbce48a7e added div with class mod-lesson around the form to hide a label 2005-05-03 22:22:56 +00:00
moodler 6656bf0af1 Security fixes
Fixed up styles handling to be more standard (the themes include them
already so no need for modules to do it)
2005-03-30 03:07:39 +00:00
stronk7 ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
stronk7 d698fea233 Some $ME are now out!
Merged from MOODLE_14_STABLE
2005-02-27 00:12:25 +00:00
michaelpenne 0741a56672 woops, took out gustavs change, yah cvs 2005-02-23 00:56:28 +00:00
michaelpenne 49584784ac fixed up leftmenu some more 2005-02-23 00:52:29 +00:00
gustav_delius 48e535bc35 Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.

If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.

If deleting a coursemodule its events are deleted from the calendar.

The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.

For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
michaelpenne f7ffb898fa array/object initialization 2005-02-09 22:36:24 +00:00
michaelpenne d6847e5d95 uncommented the require style sheet (was there a problem?), also rearranged lesson settings into categories. 2005-01-27 21:33:35 +00:00
stronk7 1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
moodler 2a488ba553 Some XHTML compatibility changes 2004-11-04 09:24:51 +00:00
michaelpenne d01e2b0ba2 added a new setting which is modattempts 2004-11-01 20:27:28 +00:00
michaelpenne 3de88244c4 added option to delete a users attempt records. Sends an email if delete was seccessful or not. 2004-09-21 22:13:08 +00:00
michaelpenne 5e7856af58 Added a lot of new features to lesson mod. Check them out :)
MarkNielsen
2004-09-15 20:32:24 +00:00
gustav_delius 41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
gustav_delius a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
moodler 7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
rkingdon 9e93d4d03f Version 3 update 2004-03-27 04:15:29 +00:00
rkingdon 394c97c88b Support for extra question types added; Flash Card style lessons now an
option.
2004-02-26 16:54:47 +00:00
moodler 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