37 Commits

Author SHA1 Message Date
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
moodler
d1465c3d12 Naming, people, naming ... keep it clear but minim 2005-03-30 02:59:41 +00:00
michaelpenne
845a17e6f0 all the actions in lesson.php are now defined in mod/lesson/lessonactions/ 2005-03-30 00:49:18 +00:00
michaelpenne
c32bc595bd on multichoice questions with multianswer, the code was not cleaning the variables correctly. Now sends the array through a foreach and then clean_param on each element in the array. Fix is around line 855. 2005-03-29 22:38:27 +00:00
michaelpenne
801697d170 insertpage and updatepage now clean params correctly (i hope) 2005-03-10 20:34:32 +00:00
stronk7
ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
michaelpenne
ff2978cea0 updated the time code to refect the new view 2005-02-25 19:11:12 +00:00
michaelpenne
6899d8973f removed an echo and a comment 2005-02-23 22:24:46 +00:00
michaelpenne
49584784ac fixed up leftmenu some more 2005-02-23 00:52:29 +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
michaelpenne
078ab023be array/object initialization and made essay question type work with unanswered lesson flow 2005-02-09 22:34:14 +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
moodler
a710d8c616 Improved feedback after an action (on redirect) and also put a
navigation check link up the top.
2005-02-09 15:21:56 +00:00
michaelpenne
b7daa75d08 most changes in continue section. Took it out of slideshow. Made some display changes with display left (not style sheet dependent now) 2005-02-04 19:30:19 +00:00
michaelpenne
f862f00d54 variable cleaning and sesskey updates 2005-01-27 21:36:12 +00:00
michaelpenne
eb65aeb7fd security updates: parameter cleaning 2005-01-26 00:22:51 +00:00
michaelpenne
8061400e0f updated essay and short answer code to work with quotes (single and double) 2004-12-01 21:02:07 +00:00
michaelpenne
db22702089 endofcluster pages are not displayed anymore, shortanswer wrong answers are interpreted correctly, added user answer tracking to attempts so it can be used later by report.php, essays are no longer insterted into an essay table... now kept in the useranswer field in attempts, fixed a problem with grading numerical questions, modified to work with modattempts option, fixed a problem with grading matching questions and fixed addpage so that it displays multichoice with the multianswer option 2004-11-01 20:15:11 +00:00
michaelpenne
d19d9ef16d Fixed some problems with matching 2004-09-21 22:11:00 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +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
rkingdon
8544774f37 Slightly improved version for checking short answers. 2004-09-10 21:38:15 +00:00
rkingdon
c02f173799 Correction to Short answers, now checks the answers in order (first to
last) and stops checking if a match is found.
2004-09-10 20:58:50 +00:00
rkingdon
ac969b2b22 Fixed bug #1615. 2004-08-09 17:04:07 +00:00
rkingdon
6705518545 Addition of * wild card to Short Answers. 2004-06-16 17:18:08 +00:00
rkingdon
45c27c7e4b Optional use of the HTML editor. 2004-04-01 16:56:56 +00:00
rkingdon
9e93d4d03f Version 3 update 2004-03-27 04:15:29 +00:00
moodler
9d996871bb Use the data_submitted() function to get POST data ... allows checking etc 2004-03-25 08:14:24 +00:00
rkingdon
f3162d71a2 Fixed Bug 1132. 2004-03-12 15:32:41 +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
rkingdon
9aba486423 Added sanity check before calculating grade. 2004-02-17 11:11:00 +00:00
rkingdon
667c5e9199 Only teacher's with edit privileges see the edit links; Navigation now
uses POSTS rather than GETS.
2004-02-17 00:54:10 +00:00
rkingdon
9be2bd0c39 Moveit action: Removed debug messages; added redirect. 2004-02-16 16:08:40 +00:00
moodler
97e4129b73 Removed the debugging statement 2004-02-16 06:06:26 +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