Commit Graph

10 Commits

Author SHA1 Message Date
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 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
stronk7 ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
mjollnir_ 33a55a6d55 Merged from MOODLE_14_STABLE: Indexes for lesson and version bump (honoring partial freeze) 2004-11-19 03:13:05 +00:00
paca70 5b9ce58cdc Corrected typo in mysql.sql
Added support for postgresql.
BTW is it posible to use table_column() function also with mysql, that would make
mysql-code easily portable to other database-files.
2004-11-02 08:51:24 +00:00
paca70 f3133619f0 Upgrades for protgresql. 2004-10-22 14:56:49 +00:00
rkingdon 45c27c7e4b Optional use of the HTML editor. 2004-04-01 16:56:56 +00:00
rkingdon e2a9adcc57 Version 2 and 3 updates. 2004-03-27 05:01:22 +00:00
paca70 b92d1a68a5 First versions for postgres7. 2004-02-19 09:03:34 +00:00