799 Commits

Author SHA1 Message Date
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
1c418003d7 FIxed logic problem when checking has_default variable in the database
when inserting new data
2003-01-14 15:36:20 +00:00
moodler
2c104c0152 Fixed redirection when user not completed yet in some instances when
using external authentication
2003-01-14 14:54:45 +00:00
moodler
1063d08854 Add info that may help solve a bug on some old servers 2003-01-13 12:06:33 +00:00
moodler
94e3411897 Slightly more robust function 2003-01-13 02:42:57 +00:00
moodler
03c17ddfec Fix for dates (the last?) 2003-01-13 02:37:47 +00:00
moodler
6ed3da1da4 Cleaned up file argument processing a bit 2003-01-12 06:53:25 +00:00
moodler
1685298e60 Removed a line from config.php 2003-01-12 06:31:07 +00:00
moodler
353439a354 Slight cleanup 2003-01-11 14:01:39 +00:00
moodler
6b72b9a911 A small standalone test program to test session support 2003-01-11 13:58:17 +00:00
moodler
3db75c62fc Fix when making timestamps from web selector 2003-01-10 05:41:20 +00:00
moodler
39e018b338 Fix for display of date selector, and also for finding server name from
environment
2003-01-10 05:40:35 +00:00
moodler
1079c8a872 More robust when dealing with a plugin module that isn't readable 2003-01-08 09:07:07 +00:00
moodler
ce78926df0 Small robustness fixes 2003-01-06 13:55:37 +00:00
moodler
8af3e37948 Slight increase in log field size 2003-01-06 13:40:05 +00:00
moodler
6a738db7b5 Added 4.3.0 bug compatibility 2003-01-06 01:44:49 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
607809b3ba OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
70d4cf8267 Ah!! At last, the dreaded off-by-one date bug, squashed. 2003-01-03 16:58:37 +00:00
moodler
a3fb1c450a New function table_column() to add or alter a column in any database. 2003-01-03 15:31:30 +00:00
moodler
e53b0823ab More robust checking of returned $rs 2003-01-03 06:44:35 +00:00
moodler
8663bfdb08 Display months in local language for date_selector 2003-01-03 06:43:12 +00:00
moodler
14217044a5 Some little fixes 2003-01-02 15:25:51 +00:00
moodler
5422d75fcb Hmmm database name causing some problems ... 2003-01-02 15:12:34 +00:00
moodler
e1bf736ffa Fixed that damn www linking problem with words like wwwroot :-) 2003-01-02 14:54:33 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
fa3ba0f6c1 Slightly more efficient way to open the database connections 2003-01-02 11:34:00 +00:00
moodler
7adcd58f82 Prepend database name to all table names to avoid ADOdb bug when there
is multiple database connections at once.
2003-01-02 11:09:03 +00:00
moodler
61e96406df Robustness fixes 2003-01-02 10:35:11 +00:00
moodler
ac5d88ebe9 Ignore guest when checking imcomplete users 2003-01-02 10:32:51 +00:00
moodler
b79f41cd42 Robust fix 2003-01-01 15:13:21 +00:00
moodler
0c106cd3ab Don't try to display docs files if they don't exist. 2003-01-01 12:03:15 +00:00
moodler
b6bae251a1 If prefix isn't defined in config.php then define it as "" to avoid
problems with upgraders who don't edit config.php
2003-01-01 09:29:05 +00:00
moodler
6fbf8d8fe8 Default debugging 2003-01-01 08:48:15 +00:00
moodler
e29fa0c8e2 Add default prefix (for tables) of "" for upgraders 2003-01-01 08:33:22 +00:00
moodler
db70b54b62 Better log_display fixes 2003-01-01 08:15:55 +00:00
moodler
14e4a496b4 Updates for log_display stuff 2003-01-01 08:08:44 +00:00
moodler
346b1a2483 Tweaks 2003-01-01 06:40:31 +00:00
moodler
f53af9410c Better checks during membership checks 2002-12-31 07:16:52 +00:00
moodler
814ada432c Fixes to XLS routines that were causing some problems 2002-12-30 15:46:15 +00:00
moodler
808a3baaf8 If a user has authenticated via external authentication, then FORCE them
to fill out the user profile form (is they can't do anything else until
this is done)
2002-12-30 15:30:05 +00:00
moodler
6dd38d4656 Allow STRIKE tag 2002-12-30 13:02:21 +00:00
moodler
47f1da80d0 More little fixups for robustness 2002-12-30 05:13:43 +00:00
moodler
b9b8ab696f Fixed p() and s() to deal with zero better 2002-12-30 03:39:42 +00:00
moodler
b3fa6684ea Fixes to insert_record (from Petri) to explicitly use field default
values if we know them from ADOdb, to avoid some problems with PostgreSQL 7.2 onwards
2002-12-30 03:25:48 +00:00
moodler
4fd7ccc0fe New "debug" variable to turn debugging on and off 2002-12-30 03:24:07 +00:00
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
18496c590b New get_record_select function (for completeness) and a completely
revamped update_user_in_db() function
2002-12-29 16:28:09 +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