moodler
30c9e6947d
Reverting changes to print_simple_box for now until the new div can be
...
rolled out without problems. See bug 4943
2006-04-10 01:39:38 +00:00
gustav_delius
848d886edb
Small change to question_print_comment_box() to allow multiple boxes on one page
2006-04-09 22:48:58 +00:00
gustav_delius
1d7e093418
Small fix so that unattempted questions would never be marked
2006-04-09 21:35:44 +00:00
gustav_delius
7c404f9b2b
Fixed some small xhtml problems and removed a warning
2006-04-08 14:20:52 +00:00
gustav_delius
2a2aba273f
submit button for teacher comment is now included in question_print_comment_box
2006-04-08 08:22:18 +00:00
stronk7
6ed15ea50a
Now get_config() is executed after "set names", so textual data retrieved
...
from the config table has the proper encoding. Bug 5043.
(http://moodle.org/bugs/bug.php?op=show&bugid=5043 )
2006-04-07 23:57:38 +00:00
stronk7
820743c5b1
Moving $CFG->ostype and $CFG->os setting, because
...
report_session_error() was being executed before setting
such variables and moodle_setlocale() need them.
(http://moodle.org/mod/forum/discuss.php?d=43466 )
2006-04-07 22:58:07 +00:00
gustav_delius
b6e907a245
Manual grading
2006-04-07 16:00:29 +00:00
nfreear
a2e2bf643a
Fix MB 5099, "Make CSS requests expire in IE", fix 'max-age=' as per http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html , override $lastmodified parameter (OU-Bugz: 851)
2006-04-07 10:18:03 +00:00
gustav_delius
755bddf118
Improvements to response history. Three small bug fixes.
2006-04-06 19:59:02 +00:00
nfreear
408b65dd44
Fix 2, bug 4943: "print_simple_box behaviour changed". Centred is now default alignment; for centred no-width specified, width=30em.
2006-04-06 17:21:04 +00:00
gustav_delius
3a5a6f59a3
Introduce field for teacher comments, in preparation for manual grading
2006-04-06 16:42:00 +00:00
moodler
d9d282e493
Fixing some documentation.
...
get_records etc are not inefficient if used correctly, and result in MUCH
more readable code that get_recordset does.
I'm already starting to see code being submitted that takes these
instructions literally and it looks like Java. :-(
2006-04-06 15:26:44 +00:00
moodler
7e73ff00cf
Some info about the PHP license and PEAR (we are going to keep it in Moodle)
2006-04-06 06:31:38 +00:00
stronk7
391f527040
Hehe, setup itself was using register_globals hack! ;-)
...
Now the lang menu is working again.
Note: I've used the PARAM_SAFEDIR flag because it's the
only one supporting alpha+digits+underscore. Its name
doesn't seem to be perfect for this. Perhaps we should
create some alias?
2006-04-05 23:29:46 +00:00
stronk7
768cf7d5d1
Now graphlib also works with ttf fonts installed under
...
moodledata/lang dir. Rest of functionality not modified.
2006-04-05 23:03:18 +00:00
stronk7
c829776d34
Default TrueType font updated from ( http://www.nongnu.org/freefont/ )
...
It seems to support all the European character sets (latin + cyrillic +
greek). The rest will need to add their custom font to the langpack.
2006-04-05 22:48:14 +00:00
moodler
60f92a4330
Added a missing index for some sites (bug 5100)
2006-04-05 13:45:14 +00:00
gustav_delius
0a5b58af89
Many bugfixes accummulated during CVS outage, more to come.
2006-04-05 05:53:18 +00:00
vyshane
edc13d625b
Fixed Bug #5080 - admin/environment.php use a new and different class for the
...
list table
2006-04-05 05:43:19 +00:00
moodler
d2fa35a80d
FIxed a typo from long time ago in popup windows from logs
2006-04-05 02:45:13 +00:00
moodler
cb342045ec
The globals hack is history!
2006-04-05 02:44:33 +00:00
moodler
a9924bb134
Fix for sites not using proxies
2006-04-05 02:43:41 +00:00
moodler
02024106fa
more years in the list
2006-03-30 03:55:24 +00:00
stronk7
475e9de86f
SITE and SITEID were calculated *before* 'set names' so they weren't
...
fetched properly from DB. Moving such block of code from datalib.php
to setup.php to execute it *after* 'set names'. Credit goes to Skodak B-)
2006-03-29 23:38:46 +00:00
moodler
f07fa64418
Of $COURSE you can't redefine constants :)
2006-03-29 17:56:35 +00:00
stronk7
063716bad9
Now new lang packs won't be available until UTF-8
...
migration was performed. Until then, only "en" and
old lang packs will be available.
The opposite is also true: only new lang packs will be available
once the UTF-8 migration was performed.
2006-03-29 16:18:46 +00:00
moodler
00a67d879c
Just removing a space
2006-03-29 15:39:21 +00:00
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