Commit graph

2226 commits

Author SHA1 Message Date
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
martin
2c309dc22a Definition and use of new isediting() function for checking whether a user
is not only in editing mode, but ALLOWED to be editing the current course.
Used to show editing buttons etc
2002-07-29 15:45:46 +00:00
martin
9690be38ff Much simpler date-setting using new moodlelib functions 2002-07-29 15:10:21 +00:00
martin
388f8911e3 Can now specify course by "short name" using name parameter. Useful for
integrating with external interfaces.  Thanks to dopey for the idea.
2002-07-29 13:10:25 +00:00
martin
58918d13db Slight fix for daily x-axis (nicer-looking numbers) 2002-07-29 01:38:31 +00:00
martin
394933864c Fixed up the graphs (one for userday and they are also now correct for timezones) 2002-07-27 13:33:50 +00:00
martin
2b8cef8038 Changes to improve the user activity reports 2002-07-27 09:44:01 +00:00
martin
cbc83a39f3 Fixed up graph pages 2002-07-27 08:35:13 +00:00
martin
c24d3070cc Improvements to user activity report - including graphs 2002-07-27 08:31:09 +00:00
martin
359b138b5d Changes to how functions are called from modules - much cleaner now 2002-07-25 13:47:11 +00:00
martin
56e234f204 cough 2002-07-23 18:26:58 +00:00
martin
6ee410e3c3 title tweaking 2002-07-23 18:26:01 +00:00
martin
49a6849ee5 Formatting outline tweaks 2002-07-23 18:24:11 +00:00
martin
5110affbb7 H3 -> H4 2002-07-23 18:20:24 +00:00