Commit graph

3425 commits

Author SHA1 Message Date
gustav_delius
7d0fdfd794 Moved constants into constants.php so that they can be loaded where needed. 2005-07-06 06:44:18 +00:00
defacer
fdc36b2f98 Merging from STABLE:
Fixed the annoying "...and the 1 Journals you had..." message when you have
no Journals at all, because I was tired of seeing it.

count(false) is 1 and not 0.
2005-07-06 00:47:08 +00:00
defacer
e623c7f740 Merging from STABLE:
Fix for bug 3616:

layout-table wasn't closed correctly for teachers and guests.
2005-07-06 00:36:36 +00:00
mindforge
2dde39c1c2 Update to attempt.html, minor modifications to databasetables.html 2005-07-05 16:35:09 +00:00
thepurpleblob
5a90586d36 Changed _variabl() functions to _param() functions. 2005-07-05 15:00:34 +00:00
thepurpleblob
00592b8032 changed deprecated _variable() type functions to _param() type functions. 2005-07-05 11:02:46 +00:00
thepurpleblob
218dc7532b data_submitted() replaced with appropriate _param() style functions,
HTML output tidied up and sesskey checking added.
2005-07-05 10:53:22 +00:00
thepurpleblob
c33fe7e79a Changed _variable() to _param throughout. Improved look of output HTML
and added sesskey checking.
2005-07-05 10:35:32 +00:00
skodak
dd5de88921 fixed comments - SC #61; merged from MOODLE_15_STABLE 2005-07-05 08:29:07 +00:00
skodak
4c2740fc5c fixed searching - SC #61; merged from MOODLE_15_STABLE 2005-07-05 08:18:38 +00:00
skodak
472639376f merged from MOODLE_15_STABLE 2005-07-05 06:30:07 +00:00
skodak
1e4343a06d megamerge from MOODLE_15_STABLE 2005-07-05 06:03:04 +00:00
stronk7
a9c80fec8e Now workshop are working under the new system to relink. Bug 3678.
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)

Merged from MOODLE_15_STABLE
2005-07-04 22:25:10 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
skodak
c6d67e76fc merged from MOODLE_15_STABLE 2005-07-04 07:20:53 +00:00
gustav_delius
a08e9552fa More steps towards the separation of questions from the quiz module. 2005-07-03 09:53:02 +00:00
bobopinna
79714e2af3 Fixed a bug in report counting 2005-07-03 07:15:13 +00:00
bobopinna
644b5629ff Fixed a problem with altered chars in UTF-8 2005-07-03 07:14:20 +00:00
skodak
a2a537db28 merged from MOODLE_15_STABLE 2005-07-02 20:35:43 +00:00
gustav_delius
d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
gustav_delius
ad7e7ba882 Two name changes:
1) in all module-indpendent code the variable $quiz has been renamed to $cmoptions (it holds the options set by the course module which does not necessarily have to be a quiz, it could be a lesson for example).
2) quiz_restore_question_sessions() has the simpler name quiz_get_states
Also got rid of the quizfile.php in favour of file.php
2005-07-02 16:07:05 +00:00
gustav_delius
0d156caaae I have started on the re-organisation to allow other modules to use the questiontypes.
Moved all code that is not specific to the quiz module out of locallib.php into questionlib.php.
The default questiontype class is now defined in quiz/questiontypes/questiontype.php.
See http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852
2005-07-02 11:42:42 +00:00
gustav_delius
be795125dd small changes to documentation 2005-07-02 11:38:42 +00:00
gustav_delius
85f066ab0d fixed the classification of tables into static and runtime in the documentation 2005-07-02 08:51:06 +00:00
gustav_delius
f17d13f5cc Some minor changes to the quiz module documentation. 2005-07-01 21:00:52 +00:00
michaelpenne
ee3f227560 New Feature: Lesson Dependency
In a lesson's settings one can now set the current lesson to be dependent on another lesson in the same course.  Then, the user can set the conditions for the dependency.  Currently the conditions are time spent, grade better than X, and completed (yes/no).
2005-06-30 21:11:02 +00:00
bobopinna
2ddb242f56 Fixed two typos 2005-06-30 19:46:19 +00:00
mindforge
d5711371ce Added attempt.php documentation, unfinished. 2005-06-30 15:41:25 +00:00
defacer
7f65461c36 Merging from STABLE:
Moving <i> to CSS and small CSS improvement.
2005-06-30 00:03:03 +00:00
michaelpenne
7bae3f486c Found 4 mdl_ in some sql statements. Changed it from mdl_ to $CFG->prefix 2005-06-29 23:56:07 +00:00
michaelpenne
dd192b2692 Numerical import was still looking at min/max arrays. I changed it so numerical will now subtract the tolerance from the answer to get the min and add the tolerance to the answer to get the max 2005-06-29 23:02:12 +00:00
michaelpenne
2ef7eeec9c FIXED: was calling an old quiz class name for importing. Updated it to call the new class name 2005-06-29 23:00:12 +00:00
michaelpenne
de8598a908 FIXED: at End of Lesson with review on produced two warnings. Now they are gone 2005-06-29 18:08:37 +00:00
bobopinna
28d32305f3 Fixed a typo in popup window management 2005-06-29 12:00:02 +00:00
mindforge
94c6290094 Database documentation finished. 2005-06-29 09:47:44 +00:00
bobopinna
f91f72167e Fixed some bugs in restore procedure, added backup and restore for field popup 2005-06-29 07:49:44 +00:00
bobopinna
96ca8c6cc6 Fixed some bugs in upgrade procedure, updated postgres upgrade 2005-06-29 07:48:11 +00:00
mindforge
f8e0e46a4d Standardised image namesfor documentation. 2005-06-28 10:01:24 +00:00
mindforge
d5b306eb6a Database documentation update. 2005-06-28 10:00:17 +00:00
bobopinna
62d923574f Fixed an upgrade bug with field timelimitaction 2005-06-28 07:02:25 +00:00
bobopinna
b5127f1e26 Added popup support 2005-06-27 07:26:49 +00:00
bobopinna
bc5a6319be Added support to SCORM course format 2005-06-27 07:24:52 +00:00
bobopinna
c4aca03c17 Fixed a problem lesson_status setting bug 2005-06-27 07:22:37 +00:00
danmarsden
af834f3e7c Bug #3623 - doesn't like when $value = 0 2005-06-27 00:58:24 +00:00
stronk7
339dd76670 Avoid some backslashes causing problems with some browsers. Bug 3463.
(http://moodle.org/bugs/bug.php?op=show&bugid=3463)

Merged from MOODLE_15_STABLE
2005-06-26 16:45:04 +00:00
gustav_delius
ed460c8e04 I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845. 2005-06-26 16:21:11 +00:00
stronk7
7d34f1adab Now the entry being commented is showed when
adding comments for non-approved entries. Bug 3638.
(http://moodle.org/bugs/bug.php?op=show&bugid=3638)

Merged from MOODLE_15_STABLE
2005-06-26 09:34:10 +00:00
thepurpleblob
e4f7cb77d8 merged from STABLE 2005-06-24 13:18:51 +00:00
fiedorow
e2c1dbe922 Bug fix for bug #3614 2005-06-23 15:29:43 +00:00
michaelpenne
af1cd0fe33 Made the shortanswer qtype grading much more reliable. Change to preg_match to speed things up. Also do a preg_quote on the teacher supplied answer to prevent confusion in the preg_match statements (before + signs and the like were causing the preg_match statements to fail). 2005-06-21 22:38:26 +00:00