45 Commits

Author SHA1 Message Date
moodler
95abee03e6 Fixed user images 2003-04-28 04:55:31 +00:00
moodler
dc0dc7d5dd Tidying up the way pix images are used.
It's now also possible to override the standard pix with a set of new ones
in a theme.
2003-04-28 04:32:55 +00:00
moodler
583a7283e9 Edit my profile link goes straight to the edit screen 2003-04-25 08:59:10 +00:00
moodler
32dcc87484 Fixed new bug that was preventing news being shown on course page 2003-04-18 07:25:58 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
13469b820d Introduce links to personal grade page 2003-01-01 07:03:23 +00:00
moodler
e545445874 More fixes for course formats 2002-12-09 14:07:52 +00:00
moodler
5e367a2d56 Various little tweaks to improve the display of course home
pages and front page ... still have some work to do though
2002-12-09 07:35:40 +00:00
moodler
6e07f68039 Fixed background colours of recent activity and news 2002-11-20 15:24:34 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
9a22359743 Fixes to course display, tidy up of some code (could do with more)
and mainly - addition of section 0 display.
2002-11-07 09:30:41 +00:00
moodler
e5dfd0f31f Improvements to help, and addition of new "Activity modules" help
for teachers adding new modules.
2002-10-21 03:00:40 +00:00
moodler
2a439ba7f6 ***NOTE NOTE NOTE **********************************************************
THIS IS A BIG CHANGE!

I've renamed the "reading" module to "resource".

This meant changing quite a few references throughout Moodle.

The automatic upgrade process should work OK (it worked OK on my
development server) and there shouldn't be any problems.

BUT PLEASE PROCEED WITH CAUTION AND KEEP BACKUPS OF EVERYTHING
UNTIL I HAVE A FEW MORE TESTS!   If you upgrade please let me know.

One thing that will break are any hard-coded links within forum messages.

What I will be doing to fix this on my apache server is to add this to
httpd.conf:

Redirect /mod/reading/ http://moodle.com/mod/resource/

Sorry about any inconvenience, but it's better this is done sooner than later.
2002-10-17 14:03:59 +00:00
moodler
765814def3 Changed includes of module libraries to use full pathnames constructed
from $CFG->dirroot, rather than relative.  This is because the relative
path could sometime be a different case to the full path (on Windows)
causing include_once not to work.
2002-10-06 03:05:22 +00:00
martin
004db95014 Changed some instances of include() to include_once() 2002-09-26 14:41:59 +00:00
martin
4c701e6f54 Set fromdiscussion here just in case it's not set elsewhere 2002-09-25 08:17:35 +00:00
martin
7aa0bb8886 Layout fixes ... much better now 2002-09-09 11:42:27 +00:00
martin
2415d953f0 Tip over 'Edit profile' is the user's name 2002-09-08 09:41:17 +00:00
martin
59a7100ccf Clarified the "participants" link ... 2002-09-08 05:29:00 +00:00
martin
b4d7002e66 Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.
2002-09-08 03:24:38 +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
97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +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
97898ac9c2 Customisable section 0 on social forum 2002-08-03 11:58:40 +00:00
martin
7a12aab48b Fixed up some forum functions and constants (consistency) 2002-08-02 09:50:53 +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
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
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
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
aa9872466d Added search form 2002-06-11 04:56:11 +00:00
martin
9f11a65e56 Old new.php system is replaced by print_recent_activity() in course/lib.php 2002-06-05 03:22:12 +00:00
martin
5e69314dca Added per-course config and use of a word for "student" 2002-06-02 08:10:50 +00:00
martin
a5e62dcb17 Added a <BR> 2002-06-01 09:48:24 +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
1c1238c274 Admin improvements 2002-03-16 06:06:47 +00:00
martin
e9ebf2e698 This social format replaces the old noweeks format 2002-02-26 06:33:48 +00:00