mattc-catalyst
0ffa2c950e
MDL-10888: groupings - mod/lesson - updated to support groupings
2007-08-27 23:05:42 +00:00
skodak
bb5b72244a
MDL-10890 all require_login() in modules reviewed and fixed use of $cm
2007-08-17 12:49:28 +00:00
skodak
76317c73a2
MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon
2007-08-10 15:00:35 +00:00
skodak
92bcca38cd
MDL-9550 Implement calls of grade_update() function in Lesson
2007-06-11 11:25:24 +00:00
mark-nielsen
107470cb3a
Merged in fixes for MDL-8375 from MOODLE_17_STABLE
2007-02-02 02:27:03 +00:00
skodak
b7dc225654
MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead
2007-01-04 21:32:36 +00:00
mark-nielsen
15d2933a00
Merged in changes from MOODLE_17_STABLE for bug MDL-2006
2006-12-06 02:04:37 +00:00
toyomoyo
5169310847
merged fix for MDL-7112 select distinct on text field
2006-11-02 02:17:39 +00:00
martinlanghoff
ea9a729f80
mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters
2006-09-26 05:11:29 +00:00
mark-nielsen
7c03355aab
Fix for the instance mentioned in MDL-3058
2006-09-19 05:11:57 +00:00
mark-nielsen
51c870d253
Notice fix in report for numerical question types
2006-09-19 04:48:13 +00:00
mark-nielsen
260a56b114
Added some more stats to reports, added more actions to collapsed view and increased speed of lesson by using lesson_set_message() and redirects with 0 second delays.
2006-09-13 03:42:16 +00:00
mark-nielsen
9695a91e2f
Fixed sesskey problem
2006-09-10 01:43:24 +00:00
mark-nielsen
8d1b4ee7b5
Added proper page comments and inform user when attempts have been deleted
2006-09-10 01:40:38 +00:00
mark-nielsen
35b179fa73
Updated to use new handy library functions
2006-09-10 01:30:57 +00:00
mark-nielsen
6e1ff5c8fb
MDL-6477: Added roles support.
...
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
mark-nielsen
be1af5b770
Moved the require login and isteacher checks to infront of the form data processing
2006-04-29 07:37:52 +00:00
mark-nielsen
31eb5b5335
[Removed] the Delete user attempts option in the Lesson settings (changes to mod and lib)
...
[Added] new functionality to report.php to delete individual student attempts
[Fixed] High scores text in view.php when no high scores were recorded needed to be centered
2006-04-29 01:37:50 +00:00
mark-nielsen
718dbada67
[Fix] Notices were being printed in PHP5 for NULL objects. Checking for NULL now before using in multichoice and truefalse questions
2006-04-27 16:48:38 +00:00
mark-nielsen
97d2756c65
[New Feature] Tabbed navigation added to lesson (similar to quiz)
...
[Added] Graceful fails added to view.php, essay grading, and reports
[Changed] got rid of a lot of references to $_POST/GET/REQUEST
[Fixed] In reports, it required teacheredit, should only be teacher
[Changed] High scores - teachers can actually see them! Also, improved output by using print_table and print_heading
[Changed] Grade essays now uses fullname() to print user names
2006-03-25 21:38:57 +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