420 Commits

Author SHA1 Message Date
moodler
7209909ec9 On second thoughts, don't apply locale to numbers because it may
affect some calculations.   Just strings and times.
2002-10-29 15:33:09 +00:00
moodler
fa0c7d6d91 Use the locale to set everything (eg string conversions, comparisons,
money numbers etc instead of just the time)
2002-10-29 15:25:22 +00:00
moodler
0ee8d9203e Added some commented-out code that MIGHT help people with string slash problems. 2002-10-26 02:31:49 +00:00
martin
ae7aafeb53 Got rid of errorlevel configuration - more trouble than it's worth!
Hardcoded it into setup.php now - people who are that keen can change
it there.
2002-09-19 14:07:24 +00:00
martin
74944b734d Most of the configuration variables have been moved out of the config.php
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
7c6addde73 Cleaned up a bit 2002-09-06 14:05:43 +00:00
martin
ca4f8eb868 Moved uploaded assignment files into a subdirectory called moddata,
where data from other modules can also live later on.

Also added a README for that directory to warn teachers not to mess
with it, version code to perform the upgrade, tweaks to assignment/lib.php
and a tweak to reading module so that assignment files aren't listed
in the list of possible readings (could get messy).
2002-08-28 13:07:10 +00:00
martin
b0cb5e2297 Check that PHP is a recent enough version (ie 4.1.0 or later) 2002-08-23 02:14:19 +00:00
martin
1e3e716f1d Changes related to new way of setting and recalling themes.
The CFG->theme variable is now obsolete in config.php - use the
admin page to set themes interactively.
2002-08-17 13:01:06 +00:00
martin
11c6da5972 Accidentally checked in a test version of setup.php - reverting 2002-08-15 04:17:25 +00:00
martin
8697022530 Fixes to finding list of subscribers to a forum for site-level forums
which affected both the displayed list and the mailouts.
2002-08-15 04:16:39 +00:00
martin
8223d27193 Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).

In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables.  Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.

So, for every request I now make a copy of these two session variables
into $USER and $SESSION.  Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable.  This seems to be working well now.

Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
0a786cab75 Removed version (replaced by /version.php 2002-07-30 10:45:36 +00:00
martin
6df680ca6a Use lang if locale not defined 2002-07-04 07:56:19 +00:00
martin
fa0626c6f4 Language-related fixes 2002-07-04 07:52:06 +00:00
martin
7a302afc5f Slight changes to userdate() function. It now uses gmstrftime() instead of
gmdate to format times, thus allowing it to take advantage of locale, if set,
to print dates in the appropriate language.  Several userdate invocations
had to be changed, though, to use the different formatting specs.
2002-07-02 07:02:28 +00:00
martin
14be161501 WHoops .... time should be 1800 seconds 2002-06-06 02:59:44 +00:00
martin
5fa51a394b Fixes to convert mail to individual mailing ...
so that we can use the new preferences for mail (plain or html).
2002-06-05 14:05:59 +00:00
martin
9c438a5bc3 Added version number for Moodle 2002-05-24 06:35:03 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00