165 Commits

Author SHA1 Message Date
moodler
9c9f7d7790 Various little fixes to remove warnings (usually about empty variables)
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +00:00
moodler
cae7436602 Use session-specified language if possible 2002-12-29 16:26:44 +00:00
moodler
9bd2c8741c New function document_file() for fetching documentation from language
packs, and a few cleanups to reduce warnings
2002-12-29 14:41:03 +00:00
moodler
92a4b0f180 Fixes to allow the GD detection to work on PHP 4.3.0 (with bundled GD) 2002-12-28 14:45:54 +00:00
moodler
4fe04be0bd Er... on the cookies I meant. 2002-12-24 10:08:24 +00:00
moodler
7185e073ed Use table prefixes on database too :-) 2002-12-24 10:07:45 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
1d881d926b More moving functions around and removal of hardcoded SQL 2002-12-23 03:07:01 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
gregb_cc
8caf7e0430 Since the reimplementation of check_php_version will probably never be used, I
have removed it.
2002-12-17 03:04:07 +00:00
gregb_cc
709c0cb359 added in a commented out reimplementation of check_php_version, that will most
likely never be used.
2002-12-17 03:02:53 +00:00
moodler
a3e175eea5 performance improvement when checking gd version 2002-12-15 02:40:25 +00:00
moodler
7be475f601 New consistent help buttons for textarea fields throughout all modules 2002-12-13 09:06:30 +00:00
moodler
8ab95b7186 Style hooks for print_simple_box 2002-12-13 03:14:49 +00:00
moodler
d7facad81e Modifications from Greg Barnett at Crown College to add more admins.
See http://bugs.moodle.org/bug.php?op=show&bugid=202
2002-12-11 14:59:37 +00:00
moodler
2338465770 Tweak to etxt in box 2002-12-09 13:48:31 +00:00
moodler
7541bc3e87 More styles 2002-12-09 13:36:55 +00:00
moodler
21ba1d796b testing wrong thing 2002-12-09 12:12:42 +00:00
moodler
469e5eb18e More style and layout tweaking 2002-12-09 12:09:33 +00:00
moodler
86400f05f5 Small changes to help display of Japanese and on Netscape 2002-12-07 08:44:21 +00:00
moodler
035cdbff1a Improved removal of leading zeroes, but with some efficiency lost 2002-12-02 01:35:18 +00:00
moodler
bea7a51e3c Slight change to get rid of leading zeroes in dates 2002-12-02 01:13:14 +00:00
moodler
64efda84b5 Fixes to increase the number of options available to limit assignment
upload size, and also to limit the list based on PHP limits
2002-11-28 02:41:56 +00:00
moodler
fc05fccb64 Strip slashes from filenames 2002-11-26 02:11:05 +00:00
moodler
92710226a5 Tidy up some of the dox 2002-11-22 09:38:15 +00:00
moodler
466558e349 Changes to allow admin to control the "forgot password" function
and a bug fix for set_config
2002-11-22 08:43:35 +00:00
moodler
89b5432563 Allow admin user to always get in, no matter what the authentication method 2002-11-21 12:39:33 +00:00
moodler
6ae24de0e1 No longer need the getuserinfo parameter 2002-11-21 11:28:46 +00:00
moodler
34daec9b3b Tweaks to authentication system. Database method now allows other
fields to be specified so that things like email, names etc can be
pulled in from external database when new Moodle accounts are created
2002-11-21 07:37:21 +00:00
moodler
15e4b2ecd9 User pictures no longer are links on main view page 2002-11-20 14:58:24 +00:00
moodler
62c13a2f3e Changed all references of %e to %d to fix strftime on Windows 2002-11-19 14:27:57 +00:00
moodler
0431bd7c73 Extend the range of allowable timezones up to 13 hours ... (NZ Daylight savings) 2002-11-15 02:46:48 +00:00
moodler
d483bcd35d Typo in variable 2002-11-14 11:48:01 +00:00
moodler
98c4eae3ac Set the character set of email to be the same as the default language 2002-11-14 11:45:14 +00:00
moodler
a15803d3d8 Argh ... fix for Netscape fix - was causing problems on other browsers 2002-11-14 06:22:13 +00:00
moodler
7bee16d404 More sensible varible names 2002-11-10 08:55:39 +00:00
moodler
dfc9ba9bbe Added navmenu in more places 2002-11-10 08:43:44 +00:00
moodler
4359e8f715 Typo in navmenu 2002-11-10 07:59:01 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
f426a62eff Header "login" link now breaks out of possible frame 2002-11-07 11:18:18 +00:00
moodler
6f3ba7c93d Make a $homepage flag for use in footers 2002-11-06 15:46:12 +00:00
moodler
65ccdd8cc8 When using loginas to be a student, you can now return to being
yourself using a link in the footer.  Improvements to footer display
2002-11-06 07:54:44 +00:00
moodler
5ebe27e22c Fixed notices a bit 2002-11-05 16:47:30 +00:00
moodler
cb909d74ca Fixes to prevent teachers using loginas to enter other courses as that student 2002-11-05 16:38:02 +00:00
moodler
9f58537a53 Added SMTP authentication for email delivery 2002-11-05 06:06:18 +00:00
moodler
87a2fa0338 Tweaks 2002-10-25 07:17:23 +00:00
moodler
72c578ca4d Mail now contains Moodle version 2002-10-23 12:12:01 +00:00
moodler
377f3c9ee4 new function print_heading_with_help() to print a heading with a helpbutton 2002-10-22 09:54:36 +00:00
moodler
be025399d8 Table header aligns to top 2002-10-21 06:51:56 +00:00
moodler
e5dfd0f31f Improvements to help, and addition of new "Activity modules" help
for teachers adding new modules.
2002-10-21 03:00:40 +00:00