martin
c679054a0a
Missing 'auto_increment' on assignment_submissions table, for 'id'
2002-08-07 08:46:48 +00:00
martin
989bfa9d7b
get_real_size() for translating text to byte sizes (eg 2M)
2002-08-07 08:26:48 +00:00
martin
6e40c33d32
Now properly sets and checks limits on file sizes
2002-08-07 08:24:38 +00:00
martin
6d6319c061
Upload works again ...
2002-08-07 03:45:22 +00:00
martin
1fee73fe6f
Whoops ... typo in save_session
2002-08-06 17:41:43 +00:00
martin
3d1329c99b
Updated requirements.
2002-08-06 17:29:22 +00:00
martin
79666c22ef
Changes
2002-08-06 17:24:51 +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
515b9f306e
Made it a bit clearer.
2002-08-06 12:58:21 +00:00
martin
ce15d1784c
Close wide-open hacking hole! This script wasn't checking for admin
...
user in the case where the site has been defined already. Oops. Fixed now.
2002-08-06 12:17:40 +00:00
martin
9c055aa5d2
Can now edit own firstname and lastname, and some tidying
2002-08-06 09:36:42 +00:00
martin
5d13db8aba
Better looking search boxes
2002-08-06 09:24:40 +00:00
martin
5e5c3119cb
Changed a variable name for clarity
2002-08-06 09:23:28 +00:00
martin
cd052f8ccc
Performance enhancement for user listing (caching of language strings)
2002-08-06 09:21:14 +00:00
martin
1ebede32c2
Bug in rated posts counting
2002-08-06 06:23:19 +00:00
martin
75d10a02db
Whoops ... make sure rated posts still show ratings! :-)
2002-08-06 06:17:59 +00:00
martin
9d1b97c5d4
forum_print_discussion now checks to see whether there are any
...
ratings that haven't been done yet on a discussion. If not, then
it won't print the ratings form. This avoids a slight confusion
about the interface that existed previously.
2002-08-06 06:09:44 +00:00
martin
f7fe342d6a
Better wording for eachuser forum
2002-08-06 04:21:45 +00:00
martin
46a8b35f44
Whoops ... more forum->assessed
2002-08-06 04:17:40 +00:00
martin
fe25fc9b38
Whoops ... using forum->assessed to determine whether discussions should
...
be assessable now
2002-08-06 04:04:40 +00:00
martin
0bb2c9f70c
Don't allow guest user to change or reset password
2002-08-05 16:12:36 +00:00
martin
64eacd6f76
A teacher can now delete any post (as long as it doesn't have replies).
2002-08-05 09:48:17 +00:00
martin
d0daec361a
Needed to delete forum_subscriptions as well.
2002-08-05 08:57:37 +00:00
martin
3d7a585834
More efficiency when deleting enrolments
2002-08-05 08:43:53 +00:00
martin
f282e6314c
Cron tidy-ups
2002-08-05 08:40:00 +00:00
martin
1f7227e1c2
New config variable longtimenosee
2002-08-05 07:59:37 +00:00
martin
6cb86b391d
Code to unenrol old students and delete unconfirmed users
2002-08-05 07:59:11 +00:00
martin
dcd3dc47ac
WHoops - typo on function call
2002-08-04 18:19:42 +00:00
martin
b0f01dff9e
More tweaks to feedback display (consistency with forum posts)
2002-08-04 17:24:46 +00:00
martin
77db7e4c49
Fixes in display of standard user_complete and user_outline functions
...
for journal, forum and assignments
2002-08-04 17:13:49 +00:00
martin
14ffed8b2b
Formatting tweak
2002-08-04 16:44:43 +00:00
martin
f9641a9d24
Updated version numbers
2002-08-04 16:42:27 +00:00
martin
6b1746806c
Misc small changes while I was working on assignments
2002-08-04 16:20:30 +00:00
martin
d699cd1e54
New assignment module finally complete!
2002-08-04 16:19:37 +00:00
martin
47ef879528
More monir tweaks
2002-08-04 13:27:20 +00:00
martin
a7ad3ea638
Minor formatting tweaks
2002-08-04 13:25:53 +00:00
martin
7c8a2faae7
Get a string from moodle.php instead of forum.php
2002-08-04 13:14:20 +00:00
martin
4d871a721b
Added FORUM_SHORT_POST
2002-08-04 13:13:59 +00:00
martin
b62f150b7c
Moved a function to lib.php
2002-08-04 07:06:45 +00:00
martin
5c0c615503
Admin link looks better at the bottom
2002-08-04 02:55:13 +00:00
martin
e84ef82411
In email_to_user, change AddBCC back to AddAddress ... this was a hangover
...
from the old bulk-email method, but now we just send one email at a time,
so it makes sense for the address to be visible again
2002-08-04 02:39:54 +00:00
martin
46b476c14c
Added a direct admin link
2002-08-04 02:13:40 +00:00
martin
e20217b3f3
MOre language updates
2002-08-04 02:10:00 +00:00
martin
565f7a9504
Fixes to two database fields log_display(table -> mtable) and
...
user_teachers(authority from varchar -> int)
2002-08-04 02:08:43 +00:00
martin
9368336bae
Tiny tweak to spacer image for IE browsers
2002-08-03 12:26:52 +00:00
martin
97898ac9c2
Customisable section 0 on social forum
2002-08-03 11:58:40 +00:00
martin
23d19b0add
Better spacing in case with admin-only
2002-08-03 11:45:31 +00:00
martin
d66615eb1b
put main menu up top
2002-08-03 08:40:25 +00:00
martin
5eec832460
Spacing again
2002-08-03 08:38:06 +00:00
martin
7493ca919d
Ugh fixing spacing
2002-08-03 08:37:13 +00:00