20 Commits

Author SHA1 Message Date
michaelpenne
dd192b2692 Numerical import was still looking at min/max arrays. I changed it so numerical will now subtract the tolerance from the answer to get the min and add the tolerance to the answer to get the max 2005-06-29 23:02:12 +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
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
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
stronk7
68dfc4deb6 Now lesson_pages->title supports filterall 2005-04-26 22:30:40 +00:00
michaelpenne
93943f6570 on line 1030, there was a division by zero when a student has not viewed any pages. Now it checks to makes sure $nviewed != 0. This is for the ongoing score feature. 2005-03-29 22:04:06 +00:00
michaelpenne
1c97019eaf removed lesson_clean_data_submitted() function. Removed all instances of its use before I did this 2005-03-10 20:51:26 +00:00
moodler
832b9f8204 Removed filter and put badwords list in string files 2005-03-05 03:14:45 +00:00
stronk7
ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
michaelpenne
f7ffb898fa array/object initialization 2005-02-09 22:36:24 +00:00
michaelpenne
0733cc0062 made a change to lesson_clean_data_submitted and added some xhtml compliance fixes 2005-01-27 21:35:37 +00:00
michaelpenne
07fe38c02b added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function (forgot comments before) 2005-01-26 00:30:46 +00:00
michaelpenne
57bfe93dca added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function 2005-01-26 00:25:20 +00:00
michaelpenne
324da715f2 updated lesson_calculate_ongoing_score to match the grading algorithm used in view.php. Also suppressed a warning in lesson_print_tree_link_menu function. 2004-11-17 01:05:39 +00:00
moodler
2a488ba553 Some XHTML compatibility changes 2004-11-04 09:24:51 +00:00
michaelpenne
b986908256 changed lesson_calculate_ongoing_score function and added some comments 2004-11-01 20:18:26 +00:00
michaelpenne
c732188674 changed $pages[$count][0] to $pageid on line #617 2004-09-28 19:15:20 +00:00
michaelpenne
033c143250 put in Sebastien Michels change on line #911 2004-09-23 20:30:00 +00:00
michaelpenne
909e6c79d8 Fixed a bug regarding cluster jumps. Before, if end of cluster's jump was next page, it would throw an error. 2004-09-22 19:14:51 +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