Commit Graph

23 Commits

Author SHA1 Message Date
toyomoyo 220dcd583c MDL-7861 fixing broken xhtml in lesson 2006-12-20 01:49:58 +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
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
mark-nielsen ab8e5428b5 Merged bug fix for MDL-6325 2006-08-28 20:02: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
mark-nielsen 90455bb3ab [Fixed] Import. Updated code to work with /question instead of /mod/quiz. Lead to a few interal bug fixes. Also moved two hard coded strings to the lang file. 2006-03-26 00:10:39 +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
skodak 1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
michaelpenne 2ef7eeec9c FIXED: was calling an old quiz class name for importing. Updated it to call the new class name 2005-06-29 23:00:12 +00:00
stronk7 0a2c2599b6 Now lesson->name supports filterall 2005-04-24 16:46:51 +00:00
gustav_delius ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
moodler fafd89a0f1 Removed $THEMEs and stuff.
I'm a little worried about this spaghetti code ... it's a mess!
2005-02-09 15:36:29 +00:00
michaelpenne 62d5291318 this is Petrs security fix for import 2005-02-04 19:33:33 +00:00
michaelpenne f862f00d54 variable cleaning and sesskey updates 2005-01-27 21:36:12 +00:00
moodler 1e448f63f4 Merged fix from stable 2004-09-29 06:58:21 +00:00
mjollnir_ 6e30064b5d Integration of upload code with lesson - html form
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-69
    2004-09-16 04:31:47 GMT
    Penny Leach <penny@catalyst.net.nz>
    added the upload class stuff for the upload form for lesson

Full logs:

Revision: moodle--eduforge--1.3.3--patch-69
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 16:31:47 NZST 2004
Standard-date: 2004-09-16 04:31:47 GMT
Modified-files: mod/lesson/import.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-69
Summary: added the upload class stuff for the upload form for lesson
Keywords:
2004-09-16 04:33:29 +00:00
mjollnir_ 3dc2cd2dee Integration of upload code with lesson.
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-68
    2004-09-16 04:22:37 GMT
    Penny Leach <penny@catalyst.net.nz>
    upload class integration with lesson

Full logs:

Revision: moodle--eduforge--1.3.3--patch-68
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 16:22:37 NZST 2004
Standard-date: 2004-09-16 04:22:37 GMT
Modified-files: mod/lesson/import.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-68
Summary: upload class integration with lesson
Keywords:
2004-09-16 04:25:55 +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
gustav_delius f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +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