michaelpenne
8b87bbde6c
BIG FIX: "Edit Page Contents" button for when $pageid is empty (first page)
2005-10-03 19:46:44 +00:00
michaelpenne
544121b12d
Switched buttons in lesson navigation to stylized links similar (well, the same rather for default) to the home button in the footer. This will allow for easy (hopefully) personalized customization of the buttons in lesson (ex: background images, colors, etc).
...
styles.php: added new styles, added comments and cleaned it up
view.php: converted the buttons for each question type to the new button standard. Also recoded branch table button layout generation.
action/continue.php: updated the buttons there as well.
2005-09-28 21:55:05 +00:00
michaelpenne
b46d9213ba
Added styles to the next and previous buttons on branch tables to allow customization
2005-09-21 21:00:36 +00:00
michaelpenne
e83348c6f0
FIXED: Removed Notice Warning. Sometimes an attempt's answerid field is not set because the answer that the student entered does not match any of the answers for the question. This error comes up for Numerical and Short answer question types.
2005-08-29 22:04:13 +00:00
michaelpenne
2be4ee62c1
Bug 3531 fixed
2005-07-12 23:07:31 +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
de8598a908
FIXED: at End of Lesson with review on produced two warnings. Now they are gone
2005-06-29 18:08:37 +00:00
michaelpenne
7250297f1b
changed the name for the popups, IE was failing with long names
2005-06-16 21:18:37 +00:00
michaelpenne
3f46783677
took out the 80%, not sure if it should be there or not ;)
2005-06-16 17:41:12 +00:00
michaelpenne
a972bb821f
with slideshow off: set the width for print_simple_box to 80% for the page content
2005-06-16 17:38:37 +00:00
michaelpenne
f26cef7c22
Minor changes to support the new media file feature.
2005-06-15 23:35:11 +00:00
michaelpenne
71ba4dce3c
Discovered a bug with lesson grades. While calculating the grade, intval was used to truncate the decimals from the grade. intavl is now replaced with round. round will now round the grade to 5 decimal places. The database only holds int(3). So, this has been changed to float to hold decimal numbers. We have found this to be much more accurate when converting the stored percentage in the database back to a point value (before this fix, users were getting numbers like 46.5 points instead of their original 47 points due to an inaccurate percent value). Files changed for this fix include:
...
locallib.php
report.php
version.php
view.php
db/mysql.php
db/mysql.sql
db/postgres7.php
db/postgres7.sql
2005-06-09 21:24:17 +00:00
michaelpenne
fff91cc994
updated the link to the grade book
2005-06-06 17:23:35 +00:00
michaelpenne
cfcdb4b56e
added a > to a table tag
2005-05-24 21:21:21 +00:00
michaelpenne
be154395e8
when editing a lesson for the first time, added a link to importppt.php in the list of options
2005-05-24 20:28:20 +00:00
stronk7
271fea974f
Tabs are out.
...
(all the module was using them, please change your editor settings to 4 spaces)
2005-05-16 22:41:19 +00:00
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