Commit graph

981 commits

Author SHA1 Message Date
David Mudrak
ffdf7f8a24 MDL-25899 Lesson: fixed page content rendering
Form element 'header' used to be used for rendering the page contents.
This led to layout problems in non-gecko browsers. This patch fixes the
issue by using raw 'html' element to render the page contents.
2011-02-18 11:43:24 +01:00
Joseph Rezeau
c76cd2ede1 MDL-26113 Lesson: temporary fix of page content alignment
That rendering method should not use cell style attribute at all.
Instead, the alignment should be controlled by CSS. However, this will
require more massive changes in the Lesson code to be done by the module
maintainer. As a temporary fix, left alignment is set as it usually
matches the layout that students see.
2011-02-18 10:43:25 +01:00
Petr Skoda
cbbc272542 Merge branch 'MDL-26371_distinct_text' of git://github.com/stronk7/moodle 2011-02-14 21:19:35 +01:00
Petr Skoda
995b6ff605 Merge branch 'MDL-26229_restore_attempts_wip' of git://github.com/stronk7/moodle 2011-02-14 21:02:49 +01:00
Eloy Lafuente (stronk7)
e07c51c481 MDL-26371 sql - avoid distinct + text in lesson essay & report 2011-02-12 17:34:03 +01:00
Eloy Lafuente (stronk7)
bd9e662953 MDL-25553 lesson restore - add missing jumpto remapping. Credit goes to Mike Churchward 2011-02-12 04:02:10 +01:00
Eloy Lafuente (stronk7)
7cff4927be MDL-26229 backup & restore - fix quiz & lesson conflicts 2011-02-12 03:03:26 +01:00
Sam Hemelryk
1ca95a13f3 Merge branch 'MDL-25874' of git://git.luns.net.uk/moodle 2011-02-07 14:01:00 +08:00
Eloy Lafuente (stronk7)
a8307c22c2 MDL-25708 recordsets - imscp and lesson modules 2011-01-25 19:59:01 +01:00
Sam Hemelryk
912d099cc9 Merge branch 'MDL-25637' 2011-01-24 16:20:51 +08:00
Aparup Banerjee
2b9ce62e23 performance MDL-25637 converted tabs to spaces 2011-01-24 15:49:18 +08:00
Aparup Banerjee
f179cdb73e performance MDL-25637 some of more similar performance tweaks to come 2011-01-24 14:51:21 +08:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Daren Chandisingh
fe4457ae29 [MDL-25874] Handle 'Cancel' action when editing lessons 2011-01-20 11:07:14 +00:00
Petr Skoda
1310964bb3 Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle
Conflicts:
	mod/lesson/version.php
2010-12-27 13:39:20 +01:00
andyjdavis
54672f15b4 lesson MDL-24860 added mod/lesson/db/messages.php 2010-12-22 12:12:35 +08:00
andyjdavis
d8f1412819 message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email 2010-12-22 12:05:49 +08:00
Petr Skoda
ab6e79718c Merge branch 'MDL-25632' of git://github.com/samhemelryk/moodle 2010-12-20 19:21:20 +01:00
Tim Hunt
d9c26e2174 blocklib MDL-25654 fix API inconsistency be renaming add_pretend_block to add_fake_block.
I added a deprecated method add_pretend_block that forwards to add_fake_block, so old code should be break. However, I aslo updated all the callers in core code.
2010-12-20 18:22:37 +01:00
Sam Hemelryk
86d99db3a0 mod-lesson MDL-25632 Fixed incorrect comment in matching question code. 2010-12-15 13:12:33 +08:00
Sam Hemelryk
26063f4b55 mod-lesson MDL-25632 Fixed bug where the number of attempts on a question for the current lesson attempt was being wrongly calculated. 2010-12-15 13:12:33 +08:00
Sam Hemelryk
981debb706 mod-lesson MDL-25632 Fixed bug whereby excess answers were being created when creating a page and then when updating it 2010-12-15 13:12:33 +08:00
Sam Hemelryk
1c510e2ee1 mod-lesson MDL-25632 Added support for displaying and progressing through a question page with no answers 2010-12-15 13:12:33 +08:00
Sam Hemelryk
36a60f0ff6 mod-lesson MDL-25632 Added upgrade code to correct page jumps for matching questions after Moodle 1.9 upgrade. 2010-12-15 13:12:33 +08:00
Sam Hemelryk
9170dea7d6 mod-lesson MDL-25632 Set a default jump to display when a question has no answers (after 1.9 upgrade) 2010-12-15 13:12:33 +08:00
Sam Hemelryk
2a03a824c4 mod-lesson MDL-25632 Fixed undefined var notice for responseformat in the lesson report. 2010-12-15 13:12:33 +08:00
Helen Foster
ae1790109d MDL-21250 capital letters removal 2010-12-02 16:18:41 +00:00
Helen Foster
2a1a268136 MDL-25426 typo fix 2010-11-29 15:39:10 +00:00
Helen Foster
ca6dd3edc5 MDL-24405 reverting lang strings thanks to Chris Collman for review 2010-11-15 12:19:37 +00:00
Helen Foster
7796f9b56e MDL-24405 lang string rewording and removing capitalization 2010-11-12 20:40:37 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Petr Skoda
510f8b0e5c MDL-22290 stadnardised the cancel button on lesson password page 2010-10-26 15:16:11 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Andrew Davis
2248b994ae activities MDL-24180 realtered available to/from strings in activities and conditional completion to try and make the unclear clear 2010-09-21 03:34:36 +00:00
Sam Hemelryk
9bd3e94ab1 mod-lesson MDL-24270 Fixed undefined variables in page types 2010-09-20 01:44:13 +00:00
Sam Hemelryk
b0ee180239 mod-lesson MDL-24270 Fixed undefined variable $nretakes. 2010-09-20 01:39:39 +00:00
Petr Skoda
64a3ce8c5b improved coding style - mostly variable initialisation + some fixing and spelling 2010-09-18 13:27:21 +00:00
Petr Skoda
3f3d7692cb fixed answer checking prevpage typo 2010-09-18 13:23:46 +00:00
Petr Skoda
b02558f04a fixed end of cluster scoring 2010-09-18 13:20:31 +00:00
Petr Skoda
1af24b0fc4 fixed typo preventing score update 2010-09-18 13:16:12 +00:00
Petr Skoda
7ef692b103 hopefully fixed undefined $t 2010-09-18 13:14:43 +00:00
Petr Skoda
18ac654eab fixed incorrect page id 2010-09-18 13:11:19 +00:00
Petr Skoda
df0442c67e more globals fixed 2010-09-18 13:07:45 +00:00
Petr Skoda
4f96fe55af another missing global 2010-09-18 13:06:03 +00:00
Petr Skoda
cc83b88002 fixed missing global 2010-09-18 13:05:42 +00:00
Petr Skoda
3983f2dcef added missing globals, strange this seemed to work.... 2010-09-18 13:04:10 +00:00
Petr Skoda
fd876e1bb6 unterminated JS statement 2010-09-18 12:57:23 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
Petr Skoda
72d2982eb1 hmm, it is reset course not courses 2010-09-18 12:08:16 +00:00