448 Commits

Author SHA1 Message Date
martin
74c6a7f983 parameter for print_admin_links 2002-08-08 17:30:00 +00:00
martin
adecd142a3 Tweaks and cleanups 2002-08-08 17:29:22 +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
a2ab3b0511 More tidy ups in displays 2002-08-08 16:22:44 +00:00
martin
0087d8a6d7 Tweaks to the headers 2002-08-08 16:02:39 +00:00
martin
2b25f2a09b Further excellent tidy-ups to the admin pages. They are actually starting
to look/work as slick as the rest of the site.  :-)
2002-08-08 15:51:23 +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
df8fa8f1ee Damn .. this bug was stopping the admin user being created properly.
(Checking for uploaded file)
2002-08-08 07:20:38 +00:00
martin
c8da3bf4fe Updated this page (because now bugs.moodle.org exists) 2002-08-08 05:06:26 +00:00
martin
48647134e3 Slightly clearer explanations ... 2002-08-08 02:11:16 +00:00
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