martin
7c6addde73
Cleaned up a bit
2002-09-06 14:05:43 +00:00
martin
e2d8972553
BUG FIX! - fixes error that could allow ANY file on the system to be read!
2002-09-05 11:53:17 +00:00
martin
a3cbb7539d
Using different logo file to avoid caching problems on changeover
2002-09-04 09:39:03 +00:00
martin
1903dd11d8
Tweaked the new icon
2002-09-04 06:32:50 +00:00
martin
5e391d346d
New logo that should work on more themes
2002-09-03 16:58:49 +00:00
martin
31410e9a16
Added a new administration page that can check the current language
...
pack against the English language pack. It prints any missing strings
or files. This should help language pack developers.
2002-09-03 14:29:39 +00:00
martin
0eae8049a0
Fixed over-zealous removal of returns from text ...
2002-09-02 07:41:39 +00:00
martin
cffbaff2dc
Print the user's stated city/country as well
2002-09-02 07:18:13 +00:00
martin
d3fcd70b3d
Add Moodle support for proxies
2002-09-02 06:30:57 +00:00
martin
44e2d2bb42
Functions moved here from files/index.php (related to file handling)
2002-09-01 14:29:17 +00:00
martin
7b1c0ce35c
Increased size of section summaries from 255 chars to 65000 chars.
2002-09-01 14:24:16 +00:00
martin
f06c1d62dc
Added slash after login link ... some servers have problems without it
2002-08-28 15:28:30 +00:00
martin
c21c671d74
Security fix for:
...
Internet Explorer bug that allows sends cookies to different sites if
they have the same ending. eg moodle.com cookie is sent to smec.moodle.com!!
Also fixes case where multiple moodle installations may be in different
directories on the same server. When you go from one to the other the
first session will be destroyed now (you can't be logged in the two
at the same time). It's just a lot safer this way, for now.
Basically this works by storing the wwwroot variable in the session
and checking it for every page.
2002-08-28 15:07:46 +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
9ab327d6f7
Doesn't matter if user isn't provided
2002-08-26 11:04:01 +00:00
martin
3f8247c2ea
Changes to use a new configuration variable: CFG->slasharguments
...
If true, then display of user pictures or filenames will use the
method of providing arguments as "slash" arguments - this is much
better for caching, proxies, search engines etc. Unfortunately
it doesn't seem to work on some PHP installations.
If false (the default), then a more compatible method is used
(ie usual way of passing parameters to scripts)
2002-08-26 09:48:00 +00:00
martin
57fa46e2a2
Nicer display of earth plot now contains user's name as well
2002-08-26 09:25:24 +00:00
martin
9268aa19ec
Fixes to use Moodle background colour
2002-08-26 09:16:52 +00:00
martin
1864143c38
Adding IP-Atlas 1.0 to this distribution. I use it to provide maps
...
for IP addresses (in the logs).
2002-08-26 08:59:36 +00:00
martin
19a55d6776
Changes to improve layout and formatting on old Netscape (eg version 4)
2002-08-23 03:55:49 +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
7b3be1b12d
New space-removal works better if done before adding link tags :-)
2002-08-22 08:31:29 +00:00
martin
729be1ab37
Experimental filters to remove returns from before and after tags, which
...
should mean neater formatting of lists and so on. Needs testing.
2002-08-22 07:53:41 +00:00
martin
bd2ad32fba
Added recent upgrades (course->guest, and user->maildisplay)
2002-08-22 06:40:48 +00:00
martin
28b1e3ecec
Just some comments about not removing the Moodle logo from the front page.
2002-08-21 14:08:40 +00:00
martin
ab24749566
Fixed dates when no-one is logged in (uses server time now, not GMT)
2002-08-21 13:55:49 +00:00
martin
7363ff911f
Fixed up guest access PROPERLY - it's now more obvious and simple for teachers
...
to set it how they want. Guest access now has THREE states (off, on, on with key).
2002-08-21 12:54:27 +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
4efeb8c3e3
Changes to add login/logout button to the right-hand top corner of every page
...
... this is to help encourage people to log out after a session, especially
on shared or public terminals.
2002-08-17 07:02:35 +00:00
martin
d82c85456b
Cleanups for footer on home page
2002-08-15 04:37:35 +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
4c26ac16d3
Orange
2002-08-14 05:58:36 +00:00
martin
fb8418d9bc
Added some new colours
2002-08-14 05:27:35 +00:00
martin
909f539dad
Minor tweaking and cleaning up
2002-08-12 13:45:41 +00:00
martin
23feeabf00
Slightly bigger wordlist
2002-08-12 07:44:53 +00:00
martin
618b22c57c
Language changes to weblib
2002-08-12 07:40:53 +00:00
martin
ae350059b3
Language changes for main library
2002-08-12 07:37:47 +00:00
martin
6ee4579665
Moved the help files into their own directory in lang/en/help
2002-08-11 14:12:15 +00:00
martin
3ce2f1e08a
Moved code from footer.html into print_footer()
...
Don't update user on login check if it isn't a real user.
2002-08-11 05:07:15 +00:00
martin
2c0411e2ed
Tweaks and tidy-ups for course home pages (weekly and topics)
2002-08-10 13:42:12 +00:00
martin
b0ccbd923b
Further little fixes to user image displaying
2002-08-09 09:25:17 +00:00
martin
2447921f18
Changes to make uploaded user pictures work properly on Windows :-(
2002-08-09 09:09:36 +00:00
martin
53bfe78cd4
New functions get_list_of_modules() and moodle_needs_upgrading().
...
Used on the home page when admin is logged in, to check for any
upgrading of the databases that might need to be done.
2002-08-09 02:45:15 +00:00
martin
4606d9bb9f
Fixed a tricky little bug with usergetmidnight() when no timezone was defined.
2002-08-08 17:28:30 +00:00
martin
a3447e1053
Cleanup of the admin interface - especially the user management
...
Bugs fixed, duplicate code removed, plus you can now add new users.
Aaah much better. :-)
2002-08-08 14:17:55 +00:00
martin
e5a57e853a
Fixed tiny buglet on insert_record which made it ignore NULL values
2002-08-08 12:41:21 +00:00
martin
989bfa9d7b
get_real_size() for translating text to byte sizes (eg 2M)
2002-08-07 08:26:48 +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
6b1746806c
Misc small changes while I was working on assignments
2002-08-04 16:20:30 +00:00