michaelpenne
1db0647ccd
highscores will not display with practice lesson on because no grade records are entered. Also, on teacher view, when the question content is printed it uses FORMAT_HTML now
2005-05-06 23:57:20 +00:00
michaelpenne
9638a1f496
tried to make editing a lesson look nicer. Added generalbox class to tables and used tabs for selecting question types
2005-05-03 23:30:40 +00:00
michaelpenne
f5c864efff
moved View Lesson Statistics and Grade Essay Questions links in teacher view to top right corner. Also, lesson stats link displays how many users have taken the lesson and grade essay link displays how many essays need to be graded and how many essays that need to be sent out still
2005-05-03 22:26:01 +00:00
stronk7
378b613d8e
Some changes to add format_text() to answers
...
and feedback across all the module.
Note: Essay questions and their teacher's feedback. I'm not
pretty sure it they should support the format_text() too. And
currently, they are cleaned at input, so it is impossible
to write <lang> or <span> tags with them!
2005-04-29 18:32:13 +00:00
stronk7
68dfc4deb6
Now lesson_pages->title supports filterall
2005-04-26 22:30:40 +00:00
michaelpenne
e5ee4adfd4
FIX: removed the unsetting of a SESSION variable that kept track of logins for lesson (password protected). This allows for reviewing of lessons that have passwords. Only downside, once logged in to a lesson, dont need to reenter password for that login session. Prolly not a problem
2005-04-26 21:24:06 +00:00
michaelpenne
544a4b8a4d
FIX: quotes in matching questions were not grading correctly. Used htmlspecialchars on the values in the select box in view.php and then use stripslashes on the answers in continue.php
2005-04-26 20:37:34 +00:00
stronk7
0a2c2599b6
Now lesson->name supports filterall
2005-04-24 16:46:51 +00:00
michaelpenne
86b7a42880
now if you leave the lesson the the middle of a bunch of branch tables, you will return to the last one you answered. Also, if show grades is off in course settings, the lesson will process and store the grade for the student but then redirect the student to the course page immediatly.
2005-04-05 22:42:34 +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
28b09d7057
Now hidden lessons cannot be viewed.
...
Thanks to Javier Gil detecting it. Bug 2733.
(http://moodle.org/bugs/bug.php?op=show&bugid=2733 )
2005-03-12 18:00:05 +00:00
michaelpenne
d0b8bcdc8b
updategrade now cleans params correctly now (i hope)
2005-03-10 20:42:09 +00:00
stronk7
ac8e16be13
Bye. Now all those tabs are out
2005-03-05 00:09:39 +00:00
michaelpenne
c022b4964f
changed the time code, now the timer table keeps track of time spent per attempt per lesson for each student. It is also used for timed tests. Also, moved check navigation link so it wont show up when there are no lesson pages.
2005-02-25 19:10:17 +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
d72b5b56dc
I think just array/object initialization
2005-02-09 22:31:36 +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
5aeebbc894
re-arranged a lot of code. Only branch tables appear in slide show mode. Display left and slideshow works with tables now instead of stylesheets (helps with browser compatibility). Some XHTML fixes. Fixed grading essay questions for non-custom scoreing. Reformated a lot of output
2005-02-04 19:39:18 +00:00
moodler
3ce16d70d7
Removed unmatched closing tag
2005-01-29 10:17:59 +00:00
michaelpenne
f862f00d54
variable cleaning and sesskey updates
2005-01-27 21:36:12 +00:00
michaelpenne
29a014c05a
corrected the sesskey code
2005-01-21 23:13:53 +00:00
michaelpenne
4ea3ce2fcb
added sesskey code to remove the sesskey error from updating the lesson from view.php
2005-01-21 19:02:57 +00:00
michaelpenne
611e79fd75
updated essay code to work with quotes being used in user answer and teacher response
2004-12-01 21:00:49 +00:00
michaelpenne
8bca120ff0
Changed the grading algorithm. Now it divides points earned by total points possible. Before was dividing points earned by max grade. Also updated essay grading to work much more reliably and fixed some formatting problems with essay emails.
2004-11-17 01:02:14 +00:00
moodler
2a488ba553
Some XHTML compatibility changes
2004-11-04 09:24:51 +00:00
michaelpenne
2e75518667
added a link to report, changed conditions for displaying essay link, modified the essay functions to reflect the new view of an essay question, and updated view.php to work with modattempts option
2004-11-01 20:41:55 +00:00
michaelpenne
800abfe61d
fixed a wrong lang call on line #1176
2004-09-28 19:22:30 +00:00
dhawes
5620acd80a
Some double quote strings converted to single quote literals and conversion of many tabs to spaces - inspired by error in associative array dereferencing found by ottenhoff and noted in comment to bug 1981
2004-09-24 23:10:49 +00:00
michaelpenne
7143a2841e
added an include for lib.php
...
changed the display of page titles
changed matching such that if two matching items match to the same answer, that answer only apprears once in the drop down menu.
Changed how the grade essay question link apprears. Only appears if there is an essay to grade.
2004-09-21 22:15:30 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & 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
gustav_delius
90fcc576ea
Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.
2004-08-21 20:20:58 +00:00
julmis
bcaba84417
Move use_html_editor() outside of <form> area.
...
Gives IE more time to load the page. (body missing problem).
2004-08-04 18:13:09 +00:00
rkingdon
8193b23549
Fixed bug #1568 .
2004-06-16 19:29:20 +00:00
rkingdon
4c8479f705
Fix bug when the last page of a lesson has no question.
2004-04-02 15:54:07 +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
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
stronk7
e8ba6e6028
Some minor changes because the:
...
/mod/lesson/view.php?id=XXX&action=navigation&pageid=ZZZZZ
was not working fine.
I'm not really sure if the modifications I've done (basically removing
POST['pageid'] use has other implications.
So, Ray, if you can check it....
Ciao :-)
2004-02-22 19:10:23 +00:00
rkingdon
c7901feb99
Fixed restart bug - continue now handle through POST not GET.
2004-02-18 12:12:12 +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
moodler
9232405d8a
SOme improvements to logging
2004-02-16 12:20:40 +00:00
moodler
c872bfb7b9
Fixed logs
2004-02-16 08:43:33 +00:00
moodler
7b608def7e
Add some formatting to the answers
2004-02-16 05:59:20 +00:00