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
stronk7
87dddc1445
Replaced some (not all) tabs to spaces.
...
I've leave unmodified formats and nusoap library
2005-05-16 22:51:16 +00:00
gustav_delius
b8897e49a8
fixed bug 3191
2005-05-10 10:12:24 +00:00
gustav_delius
9f9265f302
fixed bug 3190
2005-05-10 09:59:51 +00:00
gustav_delius
ab4f562bb2
Make it impossible to create a category in one course as the child of a category in another course, fixing bug 2940
2005-05-06 17:07:27 +00:00
gustav_delius
ee1fb969c8
Merging in from the MOODLE_15_QUIZREFACTOR branch.
...
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
gustav_delius
983a7390df
Random questions should be hidden
2005-04-13 16:02:20 +00:00
gustav_delius
c3a69c9233
Closed some <input> tags for xhtml compliance
2005-04-13 09:07:53 +00:00
gustav_delius
fdf49de1ca
Fixed the problem reported in bug 2900 that the question count on the category page also counted old questions.
2005-04-13 08:48:23 +00:00
gustav_delius
4f764fc4d3
Thanks to a suggestion by Martin published categories are printed with class="published" and unpublished ones with class="unpublished".
2005-04-12 08:15:47 +00:00
gustav_delius
ad8394a6c5
Ordinary unpublished categories were greyed out. That was confusing and I have now removed it.
2005-04-12 06:50:47 +00:00
moodler
fb94189268
Fixes for bug 2591 - wrong strings being used
2005-03-03 06:24:44 +00:00
moodler
5528a7f0e0
FIxed up the display of this page significantly
2005-03-03 06:18:48 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
thepurpleblob
84bbe7f9d3
fixed some incorrect xhtml in the delete bit - missing quotes
2005-01-27 16:40:40 +00:00
gustav_delius
fc1bc87bb0
better parameter validation and some code cleanup for category.php
2005-01-22 19:03:05 +00:00
gustav_delius
0befd376af
fixed missing courseid in breadcrumbs
2005-01-19 08:11:49 +00:00
gustav_delius
76cacec819
split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle.
2005-01-08 20:06:00 +00:00
gustav_delius
1da1f5a890
It is now possible to have also questions in all subcategories listed on edit.php. Because there can be a large number of questions the list of questions is now paged.
...
The random questions have another option specifying whether they can choose their questions also from subcategories or not. This option is stored in the unused questiontext field.
2005-01-05 17:27:23 +00:00
gustav_delius
ac27e47dc4
Hierarchical question categories from mediagonal, see http://moodle.org/bugs/bug.php?op=show&bugid=1947
2005-01-02 15:10:50 +00:00
moodler
7c6c30ed2b
Changes for XHTML and accessibility compliance
2004-11-11 12:07:08 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
1c5d9bbbec
closed some br tags
2004-09-12 22:29:44 +00:00
gustav_delius
d1290cec39
fixed capitalization and quoting of attribute values
2004-09-12 17:34:35 +00:00
gustav_delius
a9ef4a630a
closed <input /> <br /> <hr />
2004-09-12 14:41:49 +00:00
gustav_delius
f950af3c43
All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
...
All the page headers work correctly also on the site course.
On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
moodler
00d727e387
FIxed (old?) bug that sometimes prevented new categories
2004-02-12 03:48:13 +00:00
kaipe
1e085edc43
The Quizzes page is given an "Edit questions" button that links to a possibility to edit questions without opening a quiz.
2003-12-10 20:03:59 +00:00
moodler
23b4848794
Quiz categories now also have a unique stamp in them.
...
This is to make it easier when restoring backups,
especially when the questions are in a published
category from another course that still exists.
2003-08-27 12:53:21 +00:00
moodler
b0e3a92523
Clean sweep through all the important changing all include(), include_once()
...
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
36b4f9852e
buggy_referer is dead! Long live buggy_referer!
...
Should be fixed now. As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.
All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).
Much nicer.
2003-01-02 14:49:23 +00:00
moodler
c04c41c7d2
Many little fixes and cleanups for robustness
2002-12-30 05:10:01 +00:00
moodler
bdc23be0ff
CHanges for new database table commands
2002-12-22 13:55:30 +00:00
moodler
467aaec630
Small changes to tables to make them display better with Japanese
2002-12-07 08:39:24 +00:00
moodler
cd63d77e08
Added help pages to quiz module.
...
A few little cleanups, such as trim() on shortanswers
2002-10-22 10:38:00 +00:00
moodler
c74a0ca5c2
Category editing in quizzes is now supported. Some other little
...
cleanups along the way ...
2002-10-20 17:15:39 +00:00
moodler
6a952ce7a0
Many new additions - code not quite usable yet, but getting close
2002-10-14 09:07:13 +00:00
moodler
f3632647e7
Empty file
2002-10-06 17:31:46 +00:00