skodak
622365d2e1
MDL-20169 fixed coding style, parameter type required
2009-08-27 18:37:53 +00:00
nicolasconnault
fe75e76b8f
MDL-19812 Converted print_box* to $OUTPUT->box*
2009-08-10 05:00:11 +00:00
tjhunt
4262a2f806
lesson: MDL-19890 Fix block-printing code in lesson (I hope)
...
This got broken by one of the commits for MDL-19077 & MDL-19010
2009-07-23 10:01:19 +00:00
skodak
fc29e51b2d
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:34:43 +00:00
skodak
a8f3a651c0
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:16:08 +00:00
skodak
a8c31db2a3
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:47:18 +00:00
tjhunt
40d6de1af6
pagelib: MDL-12212 eliminate data_lesson
2009-05-06 09:31:08 +00:00
tjhunt
93d4a373f9
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere
2009-05-06 09:13:16 +00:00
tjhunt
ad52c04f4c
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
...
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
mark-nielsen
ab1e7c397f
shortanswer grading: MDL-18347 shortanswer was not grading correctly with custom scoring set to No, merged from 19
2009-03-17 16:27:40 +00:00
thepurpleblob
79ae8789bb
MDL-17125
...
Fix as suggested by Jonathan Kemp.
Merged from STABLE_19
2008-11-26 15:15:58 +00:00
scyrma
2e7938bb9f
Lesson/MDL-13311: make it possible to have a short answer question using 0 has answer. (merge)
2008-10-07 05:20:05 +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
scyrma
73b36bca84
MDL-12860 - do input sanitization early, so as to not mess up display later (merge from 1.9)
2008-04-17 08:04:37 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
scyrma
542300b41e
MDL-12860 - Patch from Joseph Rézeau, to fix a problem in the display of lesson result when using regexp.
2008-03-06 08:24:40 +00:00
mark-nielsen
8888882af4
Merging fix for MDL-12605 from MOODLE_19_STABLE
2007-12-29 22:18:19 +00:00
mark-nielsen
c0fe568e2c
Merging fix for MDL-11900 from MOODLE_19_STABLE
2007-12-29 21:50:53 +00:00
mark-nielsen
6e378e8b77
Merging fix for MDL-12088 from MOODLE_19_STABLE
2007-11-11 01:26:46 +00:00
mark-nielsen
87b5691f00
Mergin fix for MDL-11636 from MOODLE_19_STABLE
2007-10-13 01:59:32 +00:00
mark-nielsen
888f0c5460
Adding blocks to lesson
...
* added pagelib.php with lesson_page class definition
* Lesson view now uses standard page layout classes
Other fixes:
* minor fix to mod settings form
* fixed function names (some were missing lesson_ prefix)
2007-03-24 23:07:59 +00:00
mark-nielsen
e15cc97f0f
Merged in several display and bug fixes from MOODLE_18_STABLE
2007-02-23 20:20:50 +00:00
mark-nielsen
107470cb3a
Merged in fixes for MDL-8375 from MOODLE_17_STABLE
2007-02-02 02:27:03 +00:00
mark-nielsen
f521f98a22
modified some strings to add more meaning to buttons and links
...
left menu, clock and media file all display like blocks
some general code cleanup eg: went through several of the todo's in the code
2006-12-30 17:29:44 +00:00
mark-nielsen
15d2933a00
Merged in changes from MOODLE_17_STABLE for bug MDL-2006
2006-12-06 02:04:37 +00:00
sam_marshall
82928b7954
[MDL-7287] Lesson - tweaked continue.php to include a file via filesystem not HTTP because I couldn't see any reason to do it the latter way and it breaks under our loadbalancing system
2006-10-30 11:02:08 +00:00
mark-nielsen
5491947aa1
NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files.
2006-09-30 19:49:40 +00:00
mark-nielsen
9ae4e9f5de
Fix in addpage.php when one deletes all pages in a lesson then adds a new one
...
Fix numerical questions were not displaying the student's answer in the feedback
2006-09-19 04:45:18 +00:00
mark-nielsen
62bb11d837
Added display default feedback in lesson settings
...
Led to reducing some redundant code in action/continue.php
Also, a bug fix in locallib.php for function lesson_print_submit_link (needed to add slashes or else js would break)
2006-09-18 01:31:35 +00:00
mark-nielsen
8f2f1d4761
Fixed display bug for branch tables and moved message setting to the bottom of continue.php to prevent double message setting when a redirect is called.
2006-09-10 18:50:59 +00:00
mark-nielsen
c94d37997d
Removed action set to navigation because view.php no longer uses action
2006-09-10 18:41:38 +00:00
mark-nielsen
5631925a26
Started to separate out logic and presentation in view.php. Decided to wrap the question printing with HTML templates (viewstart.html and viewend.html)
...
Still needs a lot of work
2006-09-10 18:19:29 +00:00
mark-nielsen
d1b025d013
Moved high scores logic out of view.php into highscores.php
...
Changed: now need to enter password on password protected lessons before being able to view high scores
Added logs to high scores and reworked logic
2006-09-10 01:20:00 +00:00
mark-nielsen
09e3b9d7eb
Fixed some formatting when clock is not displayed
...
Messages are now printed out on continue.php
2006-09-09 22:33:34 +00:00
mark-nielsen
3466ae4f14
Cleaned up output to user. Still needs a lot of work.
2006-09-09 02:10:40 +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
mark-nielsen
c5a2e12f08
Added $Id$ to files
...
Header is not printed for all actions. Related to MDL-5403
Some redundant code removed
First attempt at separating logic and presentation in action continue (continue.html)
2006-09-06 04:04:42 +00:00
skodak
de5f96195c
Bug #5566 - wrong display of student's answers in MATCHING question type; merged from MOODLE_16_STABLE
2006-05-25 08:13:41 +00:00
mark-nielsen
88427c077b
[Merged][BugFix] Bug #5405 - made a new function that grades a lesson for a specific user's attempt. This is then used for grading lessons at the end of a lesson, for ongoing score feature and for updating the grade for essay question grading.
...
This new grading algorithm now enforces the lesson setting Max attempts when custom scoring is turned Off
Changed the reporting of minquestions setting to match the help file. Now it is question based instead of attempt based.
Changed the reporting of ongoing score to use the new grade function.
2006-05-19 01:05:13 +00:00
mark-nielsen
74e3524216
[Merged][BugFix] Bug 5485 - problem with regular expressions with simple analysis
2006-05-16 03:06:28 +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
mark-nielsen
aeade7e227
cleaned up the left menu feature output by removing an unused form and several unnecessary string concatenations
2006-03-19 02:08:37 +00:00
mark-nielsen
0646963948
[Changed] function execute_teacherwarning to function lesson_display_teacher_warning because it was violating the function naming policy
2006-03-17 03:37:31 +00:00
michaelpenne
6094f43dd5
[Fix] Removed htmlentities on student answer.
2006-02-24 21:31:23 +00:00
michaelpenne
d643cbfb73
[Added] Added Regular Expression support for short answers by Joseph Rézeau. Discussion: http://moodle.org/mod/forum/discuss.php?d=38544
...
[Changed] Some display information has been changed, now prints page contents, user answer, and response
2006-02-23 00:41:28 +00:00
michaelpenne
de1547bf6c
[Fixed] A problem with storing the answerid for numerical questions. Discussion here: http://moodle.org/mod/forum/discuss.php?d=37537
2006-01-24 00:47:11 +00:00
michaelpenne
acab90991a
BUG FIX: progress bar now does not break when student reviews the lesson.
...
BUG FIX: matching question type upgrade script now supports quotes.
CHANGED: Improved labels for form elements to improve accessibility.
NEW: added a skip navigation link for left menu.
2005-11-16 22:35:46 +00:00
michaelpenne
0017b962e6
BUG FIX: essay response was still hard coded in. Replaced it with a get_string call
2005-10-26 23:11:26 +00:00