19244 Commits

Author SHA1 Message Date
gustav_delius
e08eba6a66 These are no longer needed because the restore functions are part of the questiontype classes now. 2006-03-22 11:56:04 +00:00
gustav_delius
18cbc9683d rqp questions set the type to rqp_nn where nn is the rqp_type id 2006-03-22 11:19:26 +00:00
gustav_delius
ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +00:00
gustav_delius
ea889e7744 Recode qtypes during restore of old backups. 2006-03-22 10:32:29 +00:00
gustav_delius
9b908126b9 Bumped the backup version because I need this version in the question restore code. 2006-03-22 10:28:42 +00:00
ikawhero
f918fce272 Some styles for block blog tags 2006-03-22 10:14:52 +00:00
ikawhero
eaa319b355 Added colours (correct Aust English spelling) for block blog tags 2006-03-22 10:14:08 +00:00
moodler
b6ffdddaa5 Tweaky tweaky tweak 2006-03-22 09:53:13 +00:00
moodler
bf4de5b583 Cleanups 2006-03-22 09:49:29 +00:00
moodler
aa34425f43 Fixed up hardcoded tables with notice_yesno 2006-03-22 09:43:10 +00:00
moodler
9a169d1dc7 Cleaned up table of fields 2006-03-22 09:33:29 +00:00
ikawhero
976982d3e2 Corrected variable reference - was causing problems with SQL inserts/updates. 2006-03-22 09:16:08 +00:00
moodler
c9095ae670 The menu to add fields is now more accessible 2006-03-22 09:14:44 +00:00
moodler
1b0d9dca18 Fixing more typos 2006-03-22 08:56:47 +00:00
moodler
423bd918b5 Fixing silly stuff 2006-03-22 08:44:26 +00:00
gustav_delius
3be86ca6b3 In preparation of the qtype plugin-mechanism give set version information for all questiontypes that already have database tables. 2006-03-22 08:41:56 +00:00
ikawhero
78d932b793 Initialise variable usedtags. 2006-03-22 08:38:47 +00:00
moodler
ed69c72326 Fixes 2006-03-22 08:32:54 +00:00
moodler
0997e51afe Lots and lots and lots of cleanup for the data module code, mostly
to do with how the field classes worked.  Now it should be even easier
for developers.

No changes for users.  :-P

The changes are not well tested yet!
2006-03-22 08:07:26 +00:00
vyshane
53c988a403 Fix for Bug #4954
Patch submitted by jun at catalyst dot net dot nz
2006-03-22 07:07:57 +00:00
vyshane
1e9f3edb56 Added $CFG->pagepath for Moodle Doc link. 2006-03-22 04:15:00 +00:00
vyshane
c05181937a Added $forcelang optional parameter. This is useful if we want to get help.php
to display the help content in a language irrespective of the site language
settings. This is needed for /admin/helpdoc.php script. This view requires
previews for:

1) en_utf8
2) the current language the site is set to

Without the change to /help.php, 1) is not possible.
2006-03-22 03:16:27 +00:00
vyshane
3b26532171 Fixed preview link bug (Bug #4942). Made the preview popup use /help.php for a
real preview of what the help content will look like.
2006-03-22 03:13:31 +00:00
gustav_delius
6040798269 Abolished the qtype integers. The question types are now indexed by their name as specified by their directory name. This will avoid a lot of confusion in future when we have plugable question types. 2006-03-21 23:08:36 +00:00
danstowell
069b6daf76 Minor changes to RSSlib - main change is augnmented PHPdoc for the issues in RSS enclosures 2006-03-21 22:35:23 +00:00
gustav_delius
ba8f7ff02a Restore works again, except for random questions. 2006-03-21 22:35:03 +00:00
gustav_delius
315559d354 Moving question restore code into questiontype classes. The restore is now temporarily broken but I will fix it as soon as I get home. 2006-03-21 20:59:32 +00:00
gustav_delius
6af1e0b2c2 Fix bug 4952 2006-03-21 20:55:23 +00:00
dhawes
6b263129c0 fix listed in bug 3834 applied 2006-03-21 20:54:50 +00:00
stronk7
b51551e794 Some excess of security was causing Bug 4713.
(http://moodle.org/bugs/bug.php?op=show&bugid=4713)

Merged from MOODLE_15_STABLE
2006-03-21 20:08:51 +00:00
gustav_delius
c5d94c4150 Moved questiontype specific backup functions into questiontype classes 2006-03-21 18:15:09 +00:00
moodler
42431d7a30 Fixed bug in make_mod_upload_directory() vecause of new lang packs 2006-03-21 16:57:32 +00:00
gustav_delius
fe1106f0d1 Now the question backup code has been separated from the quiz backup code. 2006-03-21 16:50:42 +00:00
nfreear
8ceb3e67d5 Part fix, bug 4943: print_simple_box behaviour changed. Now aligns box, and shrinks to fit for left/right-alignment. 2006-03-21 16:29:50 +00:00
gustav_delius
924ff16a07 Moving question backup from mod/quiz/ to question/. In a first step I am making a duplicate copy of the whole backuplib.php. Next I will go in and delete the question backupcode from mod/quiz/backuplib.php and the quiz backup code from question/backuplib.php 2006-03-21 15:38:35 +00:00
gustav_delius
cf60a28a0b Fixed small problem in delete_question() 2006-03-21 15:33:30 +00:00
tjhunt
f76648809e Clarify doc comment. 2006-03-21 14:09:55 +00:00
thepurpleblob
bc12bfea4f Removed unused global (see bug #4948) 2006-03-21 13:38:36 +00:00
anthonyforth
88629fc419 Rename backup_ids_uk constraint to include prefix to allow easy installation of multiple instances from one database. 2006-03-21 10:31:28 +00:00
moodler
581d27ff58 FIxes for some question styles that were getting confused by the new /question
directory
2006-03-21 09:39:15 +00:00
moodler
92b6d775b2 No reports or grading when there are no questions 2006-03-21 09:28:08 +00:00
moodler
c88369b8e3 Christian's code to support time delays 2006-03-21 09:24:47 +00:00
moodler
07679347f4 Removing language files we don't need 2006-03-21 09:23:20 +00:00
moodler
133081306d Just another warning 2006-03-21 09:21:00 +00:00
moodler
cc9708572b Removed errant help file 2006-03-21 09:16:22 +00:00
moodler
26c829d7ed Improve the English 2006-03-21 09:12:38 +00:00
moodler
da077b9a7a Change of function name, no actual change 2006-03-21 09:08:57 +00:00
moodler
ba6602f8da Old change, just removing a comment 2006-03-21 09:08:16 +00:00
moodler
d27a5b2581 Christian's changes to update Resources when files are moved
I've not checked this closely but it seems to work
2006-03-21 09:07:19 +00:00
gustav_delius
f67172b64b Moved code to delete questions and question categories to lib/questionlib.php
Also fixed bug 4949
2006-03-21 09:06:34 +00:00