56 Commits

Author SHA1 Message Date
nicolasconnault
3ab269ed44 MDL-19812 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:45:33 +00:00
nicolasconnault
d68ccdbaaa MDL-19812 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:15:52 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
f7e6b8624a MDL-19812 Converted all print_footer() calls 2009-08-06 14:14:24 +00:00
nicolasconnault
04a7ba52e9 MDL-19756 Removed explicit aligning CSS class from $OUTPUT->heading() calls 2009-08-06 08:55:02 +00:00
nicolasconnault
08ed955b35 MDL-19812 2009-08-06 08:22:47 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault
4854006b63 MDL-19812 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:32:44 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
dongsheng
1858ba0c67 "MDL-14129, fix print_error" 2008-06-12 11:52:15 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
318e374544 MDL-15112 converted some skipped dml stuff 2008-06-09 12:29:40 +00:00
jerome
646fc29036 MDL-15112 lesson dml conversion 2008-06-06 04:03:40 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
b64792f664 MDL-13736 Wrapped the link in a div and fixed the style. Merging from MOODLE_19_STABLE 2008-02-29 21:46:14 +00:00
nicolasconnault
fb739b77e0 MDL-13050 merging from 1.9 2008-02-04 13:57:36 +00:00
mark-nielsen
72c61e0996 Mergin fix for MDL-11684 from MOODLE_19_STABLE 2007-10-13 03:12:27 +00:00
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