moodler
8a58a8e17f
Starting the global COURSEID.
...
require_login seems to be the best place to capture this, however
I'm sure there are a few little places where it won't work.
We need to hunt these places down and fix them, because I would
like to rely on COURSEID and remove all the "global $course" hacks
that are floating around.
Probably later we need the full object $COURSE as well (to match $SITE)
2006-03-29 15:38:29 +00:00
moodler
ba6b47d3bf
Small fix to prevent a notice, seems to still work
2006-03-29 15:00:47 +00:00
stronk7
1d5a7c4b0a
Some changes to make proper UTF-8 encoding only if necesary.
...
We need to move all the **_tag functions to a central place ASAP
(backup are better to be used as central)
Also, I don't know why the author is now out from the feeds...
2006-03-28 18:46:07 +00:00
moodler
1ae655b17c
Support for $CFG->sessioncookiepath
2006-03-28 05:26:18 +00:00
gustav_delius
bc2feba364
Some preparation for manual grading
2006-03-27 17:38:30 +00:00
stronk7
7104d80dbc
Now setup.php detects is CFG->unicode is not set and examines
...
DB to detect such value dinamically. Useful for installations
not using the standard installer but manually edited config.php
files.
Little TODO: modify a bit the initial config tables insets to
insert this value, avoiding to call it for each request. Coming
soon (although not mandatory for 1.6beta). Tested against both
MySQL and PostgreSQL with unicode and non-unicode DBs.
2006-03-27 11:24:14 +00:00
moodler
95d6f2e47d
Added fpdf for use by modules
2006-03-27 08:42:07 +00:00
moodler
a05653a0b2
Improvements to print_date_selector, print_time_selector etc to allow them
...
to be returned as strings
2006-03-27 03:42:44 +00:00
gustav_delius
d23e3e11dd
Moved the code for basing new attempts on previous attempts from questions to quiz and fixed the bug reported at http://moodle.org/mod/forum/discuss.php?d=42029#194212 in the process
2006-03-26 07:59:43 +00:00
stronk7
6385df35bc
Fixed typo.
2006-03-25 23:43:14 +00:00
gustav_delius
5cb9076a58
Removed warning when deleting questions with no states
2006-03-25 21:07:11 +00:00
stronk7
11f7b25d18
Bump! Now we support Win32 locales. B-)
...
Anyway some "holes" remain. See:
http://docs.moodle.org/en/Table_of_locales
2006-03-25 12:26:33 +00:00
moodler
a33c4e5a84
Added support for Yahoo and MSN Search
2006-03-25 07:09:40 +00:00
gustav_delius
4eda4eecbd
Added question type that is used if a question of unknown type is encountered.
...
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
mjollnir_
9ec656750e
More time fixes for stats - under certain dst situations there could have been an infinite loop. Please someone who is clever about timezones & dst review this
2006-03-24 20:43:38 +00:00
gustav_delius
ca252edb1d
Setting title attribute on questiontype icons so that tooltips show the question type name
2006-03-24 20:02:42 +00:00
gustav_delius
aaae75b04f
Renaming question/questiontypes/ to question/types/ as requested by Martin
2006-03-24 19:54:13 +00:00
gustav_delius
643ec47d32
Renaming question/questiontypes/ to question/types/ as requested by Martin
2006-03-24 19:31:46 +00:00
stronk7
b8770bc0a5
Two new $CFG runtime variables created $CFG->ostype (WINDOWS, UNIX) and
...
$CFG->os (= PHP_OS) to handle it centrally. Also, although not critical,
it should be recommended to replace all the current uses of PHP_OS to the
new variables. See bug 4968.
(http://moodle.org/bugs/bug.php?op=show&bugid=4968 )
2006-03-23 17:54:33 +00:00
mjollnir_
60f4cbc13a
Fixing missing , in prefix_blog_instance postgres creation
2006-03-23 00:37:53 +00:00
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