8888882af4
Merging fix for MDL-12605 from MOODLE_19_STABLE
2007-12-29 22:18:19 +00:00
c0fe568e2c
Merging fix for MDL-11900 from MOODLE_19_STABLE
2007-12-29 21:50:53 +00:00
6e378e8b77
Merging fix for MDL-12088 from MOODLE_19_STABLE
2007-11-11 01:26:46 +00:00
87b5691f00
Mergin fix for MDL-11636 from MOODLE_19_STABLE
2007-10-13 01:59:32 +00:00
0baafc173a
Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
...
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
362f2ce973
Merging in fixes for MDL-8414 and MDL-9250 from MOODLE_18_STABLE
2007-04-08 21:02:16 +00:00
c786e13547
Merging the removal of the "wtf"
2007-04-07 19:23:13 +00:00
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
e15cc97f0f
Merged in several display and bug fixes from MOODLE_18_STABLE
2007-02-23 20:20:50 +00:00
107470cb3a
Merged in fixes for MDL-8375 from MOODLE_17_STABLE
2007-02-02 02:27:03 +00:00
4085962ae9
xhtml fixes for MDL-7861.
2007-01-11 08:51:46 +00:00
d2ce367fb9
MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera)
2007-01-06 19:22:58 +00:00
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
e8e76f5a16
MDL-7861, fixing various xhtml strict issues and formatting
2007-01-03 07:29:51 +00:00
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
70f150bf0c
MDL-7861, fixing xhtml tags
2006-12-22 07:19:00 +00:00
7ac95a7181
MDL-7861, fixing tags
2006-12-22 06:31:34 +00:00
9d9aa95baf
fixing broken tags for MDL-7861
2006-12-22 05:20:20 +00:00
2ba9db3cd5
MDL-7861 fixng lesson xhtml tags
2006-12-20 02:17:13 +00:00
077f381461
accessiblity, associating <th> with respective row or col
2006-12-13 08:24:23 +00:00
7850588ab8
MDL-7909 add optional id parameter to choose_from_menu() and print_textarea() + minor quoting improvement in choose_from_menu()
2006-12-12 22:06:37 +00:00
15d2933a00
Merged in changes from MOODLE_17_STABLE for bug MDL-2006
2006-12-06 02:04:37 +00:00
0befbdfd8f
petr's patch to fix problem with htmlarea breaking clientside validation. Also using id's with same naming convention as formslib for htmlareas.
2006-12-05 13:21:40 +00:00
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
5491947aa1
NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files.
2006-09-30 19:49:40 +00:00
4bea0828a2
Got ahead of myself, fixed by bug fix
2006-09-19 04:49:45 +00:00
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
b14123498f
Saw several problems with lesson_choose_from_menu, so finally replaced its use with choose_from_menu in lib/weblib.php
2006-09-19 04:06:32 +00:00
f08769317f
Removed hard-coded strings and fixed labels
2006-09-19 03:47:49 +00:00
63d4c906c7
Removed a hard-coded string and added PHPdoc comments for the page
2006-09-19 02:54:57 +00:00
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
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
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
c94d37997d
Removed action set to navigation because view.php no longer uses action
2006-09-10 18:41:38 +00:00
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
15f3d44ae7
Moved teacherview (lesson editing) out of view.php into edit.php
...
No code improvements in edit.php as of now. Just works ;)
2006-09-10 02:09:14 +00:00
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
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
2163c22634
Forgot the lesson_ prefix
2006-09-09 22:23:50 +00:00
2cb24b647c
Improved clock output and works when javascript is disabled
2006-09-09 22:20:51 +00:00
259990d2c6
Lesson buttons should now work with javascript disabled
...
Also improved the layout of action/continue.html
2006-09-09 21:39:11 +00:00
3466ae4f14
Cleaned up output to user. Still needs a lot of work.
2006-09-09 02:10:40 +00:00
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
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
2fc13bc767
Merged differences from MOODLE_16_STABLE into HEAD
2006-08-25 18:33:50 +00:00
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
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
74e3524216
[Merged][BugFix] Bug 5485 - problem with regular expressions with simple analysis
2006-05-16 03:06:28 +00:00
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
8bd7bacd14
[Fixed] this page was shooting of warnings for unset variable score. Now checks to make sure score is set before using it.
2006-03-19 02:16:00 +00:00