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
31b50f6442
Fix for MDL-6628: the lesson object was not being cloned correctly.
2006-09-23 19:57:35 +00:00
mark-nielsen
6707a280a9
Moved endofbranch redirect up to avoid double printing of messages.
2006-09-23 19:32:25 +00:00
mark-nielsen
c7c404b964
Fixed alignment issue in IE
2006-09-23 18:51:49 +00:00
mark-nielsen
563106f0a8
Fixed branch table buttons to work with JavaScript turned off. This fix lead to some minor changes to the button output, but hopefully simplified things.
...
Also, removed .hidden-label class because it was no longer in use due to label fixes earlier.
2006-09-23 18:45:59 +00:00
mark-nielsen
9b5274b96d
Fixed a label
2006-09-23 01:01:14 +00:00
vyshane
94bcea7983
Removed mod/lesson:view
2006-09-22 02:58:39 +00:00
skodak
eef868d17d
major whitespace cleanup - fixed trailng whitespace in new files and admin area
2006-09-20 21:00:45 +00:00
mark-nielsen
096a664c01
Attempted to improve the display of the table in collapsed view
2006-09-19 05:57:57 +00:00
mark-nielsen
7c03355aab
Fix for the instance mentioned in MDL-3058
2006-09-19 05:11:57 +00:00
mark-nielsen
4bea0828a2
Got ahead of myself, fixed by bug fix
2006-09-19 04:49:45 +00:00
mark-nielsen
51c870d253
Notice fix in report for numerical question types
2006-09-19 04:48:13 +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
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
mark-nielsen
f08769317f
Removed hard-coded strings and fixed labels
2006-09-19 03:47:49 +00:00
mark-nielsen
63d4c906c7
Removed a hard-coded string and added PHPdoc comments for the page
2006-09-19 02:54:57 +00:00
mark-nielsen
7adb975062
removed some unecessary comments
2006-09-19 02:48:29 +00:00
mark-nielsen
2817bc1aed
Fixed a bug when detecting a user as eligible for posting their name for high scores
2006-09-19 02:41:10 +00:00
mark-nielsen
8271e5cec8
Fixed alignment problem with the buttons for password protected lessons
2006-09-19 02:29:42 +00:00
skodak
21b6db6eff
added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum
2006-09-18 21:32:49 +00:00
moodler
fdb1cf2cc1
FIxed to use the new debugging function
2006-09-18 09:13:04 +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
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +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
moodler
0f9602085b
Small bump for guest role fix
2006-09-12 08:22:14 +00:00
moodler
8d158ed44f
Reload the guest role using new defaults
2006-09-12 07:10:49 +00:00
moodler
00adf177ad
Changed some default permissions for the guest role
2006-09-12 05:58:42 +00:00
mark-nielsen
831f6613a8
Very minor changes
2006-09-10 22:50:43 +00:00
mark-nielsen
68a1e8fbba
Started to rework the overall page editing interface for teachers.
2006-09-10 22:47:57 +00:00
mark-nielsen
07642aef3e
Minor changes
2006-09-10 19:09:25 +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
fb992d716a
Started to reorganize view.php
2006-09-10 02:38:09 +00:00
mark-nielsen
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
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
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
2163c22634
Forgot the lesson_ prefix
2006-09-09 22:23:50 +00:00
mark-nielsen
2cb24b647c
Improved clock output and works when javascript is disabled
2006-09-09 22:20:51 +00:00
mark-nielsen
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
mark-nielsen
3466ae4f14
Cleaned up output to user. Still needs a lot of work.
2006-09-09 02:10:40 +00:00
mark-nielsen
f15eb92c2c
Removed essay grading code from view.php into essay.php.
2006-09-09 01:58:48 +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
mark-nielsen
9fcf51d9bf
Added function for printing a standard header for lesson
...
Added function for fetching course module, course and lesson based on course module id or lesson id
2006-09-06 04:02:02 +00:00
mark-nielsen
ab8e5428b5
Merged bug fix for MDL-6325
2006-08-28 20:02:49 +00:00
mark-nielsen
c87a341cb9
Merged bug fix for bug MDL-6323
2006-08-25 22:53:17 +00:00