moodler
d118d06afc
Various tidy-ups
2006-03-23 10:01:21 +00:00
vyshane
fd96d5e2ec
Fixed bug data_print_template() from /mod/data/lib.php. Extra function
...
argument removed.
2006-03-23 08:34:22 +00:00
vyshane
a18f8e458f
Renamed $rid to $recordid in function call $field->update_content($rid,
...
$value, $name); This fixes a bug that was causing the data_content to be
stored wrongly.
2006-03-23 07:20:16 +00:00
vyshane
3a5a7928ea
Fixed extra function argument in call for display_add_field() from add.php.
2006-03-23 06:20:48 +00:00
moodler
59d28e0550
removed $content->content = $this->format_data_field_multimenu_content($value); bad cut and paste
2006-03-23 05:41:48 +00:00
moodler
2b1d7c8e82
Fixed some typos
2006-03-23 05:38:53 +00:00
vyshane
8921fdb762
Fixed typo in function define_field()
2006-03-23 03:48:58 +00:00
moodler
2ef2b3f19d
Fixed Fatal error: Call to undefined function get_course() in /data/www/html/server/dev/mod/data/field/file/field.class.php on line 133
2006-03-23 02:50:21 +00:00
gustav_delius
6dfc23760f
The obsolete table quiz_attemptonlast_datasets should no longer get created
2006-03-22 22:04:31 +00:00
gustav_delius
fe9b5cfd0b
Fixed the links to the question review script.
2006-03-22 21:30:00 +00:00
gustav_delius
0429cd86c3
Deleting attempts properly now
2006-03-22 18:27:28 +00:00
gustav_delius
4dca7e51ca
Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation
2006-03-22 17:22:36 +00:00
gustav_delius
609c7d517d
Fixed bug 4953
2006-03-22 17:18:55 +00:00
moodler
a835f1c343
Removed some debugging
2006-03-22 14:55:49 +00:00
moodler
f0497d6ff0
Various cleanups
2006-03-22 14:31:32 +00:00
moodler
26d93549f5
Fixed up some styles and pagepath for field-editing pages
2006-03-22 13:38:29 +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
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
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
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
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
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
gustav_delius
fe1106f0d1
Now the question backup code has been separated from the quiz backup code.
2006-03-21 16:50:42 +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
da077b9a7a
Change of function name, no actual change
2006-03-21 09:08:57 +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
moodler
ffd0fbb7ac
New feature: you can now reset a course simply and easily using the new
...
"Reset" item on the course admin menu.
This allows you to delete user data from the course without touching the
course itself.
2006-03-21 07:34:33 +00:00
vyshane
e1791b72e8
Added CSV import facility for the data module. Fixed notice for checkbox and
...
multimenu field types.
2006-03-21 04:36:36 +00:00
gustav_delius
90c3f31066
Some improvements to delete_question()
2006-03-20 23:04:22 +00:00
gustav_delius
75cd257be8
Moved the quiz constants into lib.php to keep things simple.
2006-03-20 20:59:46 +00:00
gustav_delius
6b11a0e863
Renaming constants QUIZ_ADAPTIVE and QUIZ_IGNORE_DUPRESP to QUESTION_..... and moved them to lib/questionlib.php because they are used for question-level options.
2006-03-20 20:45:55 +00:00
gustav_delius
c0749a1605
Fixed backup and restore for match questions
2006-03-19 09:50:43 +00:00
mark-nielsen
8bd7bacd14
[Fixed] this page was shooting of warnings for unset variable score. Now checks to make sure score is set before using it.
2006-03-19 02:16:00 +00:00
mark-nielsen
aeade7e227
cleaned up the left menu feature output by removing an unused form and several unnecessary string concatenations
2006-03-19 02:08:37 +00:00
mark-nielsen
289218844a
[Changed] The print_simple_box_start/stop changes conflicted greatly with the display of branch table buttons (the box printed above the buttons some how :( ) To fix this, the tables were taken out and divs were used instead to display and arrange the buttons. This turns out to be a good thing because now the user has more control over the buttons via style sheet. Also did some extra clean up in the section of code printing the branch table.
...
[Added] new styles to styles.php to help display the buttons correctly.
2006-03-19 01:53:50 +00:00
gbateson
d95bcfff8d
increase gap size for long answers in JCloze
2006-03-18 23:47:56 +00:00
gustav_delius
ccccf04f70
Multianswer restore now works.
...
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
danstowell
95a86f752b
Fixes to rsslib to ensure the output is valid RSS 2.0
2006-03-17 07:44:22 +00:00
vyshane
663b45a86d
Fixed php notice
2006-03-17 04:51:14 +00:00
mark-nielsen
0646963948
[Changed] function execute_teacherwarning to function lesson_display_teacher_warning because it was violating the function naming policy
2006-03-17 03:37:31 +00:00