Commit Graph

23 Commits

Author SHA1 Message Date
michaelpenne 66fbb3b10f FIXED: Bug with reporting numerical question types. 2005-08-29 19:45:23 +00:00
michaelpenne d031cf09b0 put in two !== instead of != to compare NULL values 2005-06-14 17:40:46 +00:00
michaelpenne 4226f24829 Bug: fixed a problem with the date completed value and a problem with processing shortanswer/numerical question types 2005-06-09 21:54:55 +00:00
michaelpenne ebe63af223 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:26:21 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
michaelpenne b8437c1cbc Removed filtering on page contents, answers and responses for lesson pages and their answers (this includes removing parameter cleaning and noclean in format_text).
Also, fixed some warning errors in action/updatepage.php.
2005-10-03 21:29:05 +00:00
michaelpenne da2a70fadd FIXED: Bug with reporting numerical question types. 2005-08-29 19:37:33 +00:00
michaelpenne 5805dddbb6 put in two !== instead of != to compare NULL values 2005-06-14 17:42:12 +00:00
michaelpenne 7629332ba4 Bug: fixed a problem with the date completed value and a problem with processing shortanswer/numerical question types 2005-06-09 21:55:53 +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
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
stronk7 0a2c2599b6 Now lesson->name supports filterall 2005-04-24 16:46:51 +00:00
michaelpenne f6e200cbce changed how data is passed from overview to detailed view and fixed the timeout issue 2005-03-14 22:18:29 +00:00
stronk7 ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
michaelpenne 5f3b3a084a updated report to find the times in timer table, now much more accurate. Also fixed a sesskey problem 2005-02-25 19:12:39 +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 0f4be3f608 initialized arrays and objects, fixed a few bugs 2005-02-09 22:29:29 +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
michaelpenne 9127f2494d fixed a clean param function call 2005-02-04 19:31:24 +00:00
michaelpenne bca6b842ca fix class stats for essay questions 2004-12-06 20:33:44 +00:00
michaelpenne 37eeba778f report displays statistics regarding users attempts for a particular lesson. If a student has attempted a lesson, a link will appear when you edit the lesson to view statistics. This feature works best with the newest version of lesson because lesson now retains more information regarding how the user answered a given question. Old lesson attempts will not display correctly. 2004-11-01 20:35:45 +00:00