1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-11 03:15:24 +01:00

33 Commits

Author SHA1 Message Date
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
ad14a10e4b Fixed bug with creation of new weeks in weekly view 2002-08-15 02:58:06 +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
4c654ee30b More tweaks to recent activity box 2002-08-10 14:27:14 +00:00
martin
2c0411e2ed Tweaks and tidy-ups for course home pages (weekly and topics) 2002-08-10 13:42:12 +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
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
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
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
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
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
7468bf014f Part of "contributions" overhaul in course/user.php 2002-07-23 16:24:12 +00:00
martin
c31ebf26c7 Doesn't display discussions AND forums in the Activities 2002-07-20 18:50:23 +00:00
martin
37b155148d Slight formatting tweaks (forum index) 2002-07-20 18:20:19 +00:00
martin
72e62a9ec7 Fixed week zooming 2002-07-10 15:17:43 +00:00
martin
82aa0e8de6 Added new teacher forum. TABLE CHANGED: forum 2002-07-04 08:30:36 +00:00
martin
e3f0a6a737 Minor changes 2002-06-25 12:08:38 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
e07635f4d0 Changes related to new forum type: eachuser and some general forum-related tweaking 2002-06-25 06:47:34 +00:00
martin
6d9541bddf Slight formatting improvement (list module name in link title) 2002-06-25 03:30:31 +00:00
martin
f93f848ab3 Mass change related to separating forum from discuss and making it a
separate module (again).  This frees up forums for some interesting
developments.  Note that database tables have moved around.
2002-06-20 15:15:22 +00:00
martin
c629ec1b1d Tweaks to course format (search box) 2002-06-11 07:27:31 +00:00
martin
d3e2c35ad5 Display tweaks 2002-06-10 06:56:01 +00:00
martin
b5460e6013 Layout tweak 2002-06-10 04:41:08 +00:00
martin
5e69314dca Added per-course config and use of a word for "student" 2002-06-02 08:10:50 +00:00
martin
13c7e2719a Modified weekly course format with "People" section and sorted activity modules 2002-06-01 09:44:06 +00:00
martin
600149be34 New logging format
Improved "Recent Activity" on home page
Better formatting.
Many other small fixes.
2002-05-31 09:34:50 +00:00
martin
9580f574d7 Added ALT="" tags to spacer.gif so they don't show in text browsers 2002-04-03 11:44:01 +00:00
martin
0d97d1e35f Fixed up use of isteacher (removed isadmin check because it's done in isteacher now) 2002-04-03 06:36:04 +00:00
martin
f51ab26b94 Changed weekly format ... makes more sense now I think 2001-12-04 16:13:36 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00