2607 Commits

Author SHA1 Message Date
gustav_delius
0429cd86c3 Deleting attempts properly now 2006-03-22 18:27:28 +00:00
nfreear
6575bfd4d1 Accessibility: fix bug 4963 in function, print_header. Added 'lang' attribute to $direction, used by standard and other themes. 2006-03-22 17:48:53 +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
thepurpleblob
8511669cb9 Added function for matching/checking question grades on quiz import. 2006-03-22 16:27:46 +00:00
thepurpleblob
e9de436630 Split out grade option list generation, so it can be used in import/export too. 2006-03-22 14:43:55 +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
vyshane
53c988a403 Fix for Bug #4954
Patch submitted by jun at catalyst dot net dot nz
2006-03-22 07:07:57 +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
dhawes
6b263129c0 fix listed in bug 3834 applied 2006-03-21 20:54:50 +00:00
moodler
42431d7a30 Fixed bug in make_mod_upload_directory() vecause of new lang packs 2006-03-21 16:57:32 +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
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
moodler
ba6602f8da Old change, just removing a comment 2006-03-21 09:08:16 +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
gustav_delius
90c3f31066 Some improvements to delete_question() 2006-03-20 23:04:22 +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
moodler
5889c1bb64 Small fix for admin menu layout and also print_table 2006-03-20 15:33:18 +00:00
moodler
952d8dc87c Speedup! get_timezone_record wasn't caching! :-) 2006-03-20 09:36:47 +00:00
moodler
9a8091a9ab Put some default times in for people who were tracking dev 2006-03-20 07:47:41 +00:00
moodler
6a30c073d4 Added timemodified to blog_tag_instance table and some indexes 2006-03-20 07:40:55 +00:00
moodler
112d0ebf82 Added a new field "module" to the post table to indicate what type of module
each entry is
2006-03-20 07:13:21 +00:00
moodler
a9743837bf SLightly more efficiency to help keep the cached_text table smaller see bug 4677 2006-03-20 02:33:41 +00:00
gustav_delius
f30bbcaf5b Improved handling of event types so that now graded states can always be distinguished from ungraded ones. 2006-03-19 18:28:29 +00:00
gustav_delius
43a602a7a6 Small correction to comment 2006-03-19 12:19:49 +00:00
stronk7
8abebd1e5b Notice killing... ;-) 2006-03-19 11:13:16 +00:00
stronk7
a848411a3b Notice killing... ;-) 2006-03-19 11:10:25 +00:00
stronk7
c539d6224b Now encode_mimeheader() only encodes the header if it isn't 100% ASCII. 2006-03-19 02:38:21 +00:00
stronk7
56a2b987e6 Starting NOW we are using our own encode_mimeheader() function to
generate all Moodle emails. Only applied if we are running under
$CFG->unicodedb. Tested with postfix and sendmail servers and
Thunderbird, Mail and Entourage mail clients...

Test, test, test....!
2006-03-19 02:35:50 +00:00
stronk7
fbf7e289a9 Updating phpmailer to 1.73. Some bugs solved. 2006-03-19 02:07:51 +00:00
stronk7
b4750d4d7f Updating phpmailer to 1.73. DOS linefeeds are now out. 2006-03-19 02:06:06 +00:00
stronk7
376508306e Updating phpmailer to 1.73. Language files. 2006-03-19 02:03:02 +00:00
stronk7
3ec5ec15bc Function encode_mimeheader() added. Finally, it seems that we have to
use our own function because phpmailer one doesn't handle multi-byte
characters, breaking them.
2006-03-19 01:09:15 +00:00
stronk7
b212c114ce First cut of email working with any encoding. Works practically ok but
I've to check something that seems to be a bug in the build of the
subject. Sendind it to CVS to check the code under Win32 and Linux.
2006-03-18 17:48:52 +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
nfreear
5288e4a5ff Accessibility: tidied, removed commented code functions, print_simple_box_start, _end (followup to OU-Bugz: 737) 2006-03-17 12:27:18 +00:00
danstowell
95a86f752b Fixes to rsslib to ensure the output is valid RSS 2.0 2006-03-17 07:44:22 +00:00
mjollnir_
aa898e41c1 Stickyblocks: fool pagelib into thinking it is course-view when it needs to be, rather than admin-stickyblocks 2006-03-17 03:17:44 +00:00
jgraham909
53f6a21e5e Fixed grade_category table definitions to handle change in MySQL versions 5.0.3 and greater
see http://moodle.org/mod/forum/discuss.php?d=41501 for more details.
2006-03-16 19:50:28 +00:00
nfreear
eab1f9aebd Accessibility: do NOT change, fixed call to trim in function, helpbutton (OU-Bugz: 752) 2006-03-16 11:13:21 +00:00
nfreear
97f76a1aa3 weblib.php: replaced <table> in print_simple_box_start _end with <div>s (OU-Bugz: 737) 2006-03-16 11:03:02 +00:00
toyomoyo
ae8a5ff023 added blog link to print_user 2006-03-16 08:16:08 +00:00
vyshane
a2c28054b8 Added $CFG->pagepath to the blocks_execute_action() function for the config
action. This is used to generate the Moodle Docs URL for configuration of an
instance of a block.
2006-03-16 04:55:43 +00:00
vyshane
a0fd7c1df8 Updated print_textarea() 2006-03-16 03:56:19 +00:00
skodak
f89f924e03 fixed debug warning 2006-03-15 20:50:05 +00:00
moodler
e7fea10028 Don't use isteacher() 2006-03-15 10:05:19 +00:00
vyshane
540f964d92 Fixed undefined var notice 2006-03-15 08:40:56 +00:00
vyshane
80743e2a5b Fixed bug in use_html_editor() that prevented HTMLArea display if $name is not
provided.
2006-03-15 08:30:03 +00:00