689 Commits

Author SHA1 Message Date
martin
57fa46e2a2 Nicer display of earth plot now contains user's name as well 2002-08-26 09:25:24 +00:00
martin
ebea4e27cc Added popup links for IP addresses in logs (display IP location on world map) 2002-08-26 09:00:57 +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
882408f3be Handy link to course page, after assigning teachers 2002-08-22 02:23:41 +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
3c7331da30 Make the Help link in the course look like a seamless part of the course. 2002-08-18 16:31:23 +00:00
martin
44dad7350b Added help link to course pages (for teachers) and tidied up the
course admin links in general (new fucntion and reorder)
2002-08-18 16:16:24 +00:00
martin
cbfd6d191c Added more popup help for course settings page 2002-08-17 14:44:45 +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
f58d18bc83 Log formatting 2002-08-15 13:05:14 +00:00
martin
2ff66427bc Make the IP more visible in logs 2002-08-15 13:03:42 +00:00
martin
5657e2df50 Bit more checking while creating new section 2002-08-15 02:59:57 +00:00
martin
ad14a10e4b Fixed bug with creation of new weeks in weekly view 2002-08-15 02:58:06 +00:00
martin
963301c57d More translating ... 2002-08-12 14:59:37 +00:00
martin
a049e1d361 Some courses may not have a teacher - in this case, make the enrolment
welcome email "from" the admin
2002-08-12 03:22:03 +00:00
martin
97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +00:00
martin
db6395b25a Don't show news at all if 0 newsitems was selected in course settings 2002-08-11 14:05:27 +00:00
martin
27038d9fe0 Changes to strings in print_recent_activity (added, updated, deleted activities) 2002-08-11 05:24:25 +00:00
martin
4b1371a74c Various small changes (mostly to language strings) 2002-08-11 05:11:50 +00:00
martin
4c654ee30b More tweaks to recent activity box 2002-08-10 14:27:14 +00:00
martin
87ffed0d98 Tweak teacher colour 2002-08-10 13:50:38 +00:00
martin
2c0411e2ed Tweaks and tidy-ups for course home pages (weekly and topics) 2002-08-10 13:42:12 +00:00
martin
adecd142a3 Tweaks and cleanups 2002-08-08 17:29:22 +00:00
martin
a2ab3b0511 More tidy ups in displays 2002-08-08 16:22:44 +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
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
5d13db8aba Better looking search boxes 2002-08-06 09:24:40 +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
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
97898ac9c2 Customisable section 0 on social forum 2002-08-03 11:58:40 +00:00
martin
94361e021e Lots of work on site display, over many files. Improved front page
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
a15278543a Cleaned up the admin pages (and moved some files) and added ability to completely delete courses 2002-08-03 04:44:35 +00:00
martin
04eba58f57 Moved all mod.php functions from modules into lib.php, and
updated course/mod.php to use them there.  No longer need module/mod.php
2002-08-03 02:29:21 +00:00
martin
9084509828 Lots of changes related to module info used in course listings and
activity reports.  Module names are now from lang files, not from
the modules table.  Cleanups.
2002-08-02 17:38:18 +00:00
martin
7a12aab48b Fixed up some forum functions and constants (consistency) 2002-08-02 09:50:53 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
14147859ce Make sure we still log the fact that the teacher logged in as someone though.
Also, make the "realuser" the teacher's id, in case we want to use it later
2002-08-01 07:09:39 +00:00
martin
bae3097095 Added "realuser" to USER variable to identify imposters 2002-08-01 07:04:31 +00:00
martin
7ad5e3ad7d removed TABS and changed wording (your -> this) 2002-08-01 06:16:43 +00:00
martin
07e1f18900 Fixed use of reading functions (it had changed name) 2002-08-01 05:55:23 +00:00
martin
11b0c46971 A big clean up of all the forum functions (including renaming them all
to start with forum_ ) and all the follow-on effects that caused
Some miscellaneous bug fixes and code clean-ups along the way
2002-08-01 03:50:27 +00:00
martin
fbc797635e Better logging for guest when enrolling 2002-07-31 17:11:46 +00:00
martin
36d4a9a193 A fix to recent log display 2002-07-31 16:24:40 +00:00
martin
59578f49d3 Tweak on readings display on social course 2002-07-31 15:52:44 +00:00
martin
37f5ff0960 is_subscribed => forum_is_subscribed 2002-07-31 15:39:03 +00:00
martin
501cdbd8bb OK, some massive changes with many files removed or changed.
Basically the changes are:

 - I've merged the 'discuss' module into the forum module
   which makes the interface MUCH clearer for everyone
 - I've added a new 'single' forum type that replicates
   what the old discuss course modules used to look like.
 - I've got rid of the "discussion" forum type - it will
   still exist in upgraded courses but as a normal forum.
 - the 'discuss' module is completely deleted - gone.
 - the 'chat' module is completely deleted - gone.
 - The upgrading system has been improved, and all code
   is stored in version.php.
 - I've put in upgrading commands to do the best I can
   (right now) to upgrade courses that used the discuss
   module.  It should mostly work, just leaving some
   "orphan" coursemodules on you course front page.  You
   can easily delete these using the little 'x'.
   I may have forgotten something  - I've only tested on
   my testing server and I'm about to test on my production
   server to see how it goes.
 - Forums have a lot of little new features and fixes.  The
   main one is the subscription process.  Teachers can 'force'
   subscriptions on any forum.  This disallows everyone from
   choosing their own mail subscription - it's just on.
 - The assignment module is half-finished and not working yet

I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
9dc79114c2 Fixed bug in subscribe link 2002-07-30 03:35:53 +00:00