54 Commits

Author SHA1 Message Date
moodler
b86fc0e2a6 New feature replacing the old zoom function.
Now these are saved in a new table called course_display,
each user and each course can have independent settings.

I'm intending to expand this table later for all the other
course display stuff (like hidden topics etc)
2003-04-28 13:29:26 +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
a00283d6cd Clear a variable, just in case 2003-04-17 15:46:39 +00:00
moodler
f8430195d9 Small fix to avoid PHP warnings 2003-03-21 04:49:29 +00:00
moodler
7a361c8b55 Removed save_session() - no longer needed. 2003-02-27 02:46:37 +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
15ac90653d Replaced &sect with &sect to avoid some buggy browsers 2003-01-03 05:33:17 +00:00
moodler
13469b820d Introduce links to personal grade page 2003-01-01 07:03:23 +00:00
moodler
19801b2b21 More little fixups for week 0 2002-12-22 06:45:09 +00:00
moodler
2e9e77eba0 Tweaks for highlighting 2002-12-13 08:12:14 +00:00
moodler
6daa3c2329 More hooks to hang styles from 2002-12-13 03:14:19 +00:00
moodler
920bb7ab2f Fix typo 2002-12-09 13:45:44 +00:00
moodler
1d43ffdeab Font size tweaks 2002-12-09 13:40:18 +00:00
moodler
7541bc3e87 More styles 2002-12-09 13:36:55 +00:00
moodler
42fddf0237 Finish off topics display 2002-12-09 09:03:15 +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
13beeacbcd New course option to enable/disable display of "recent activity" 2002-11-12 04:26:16 +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
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
moodler
7b5baeb7de "Activities" wasn't being taken from language files 2002-10-03 02:57:36 +00:00
martin
004db95014 Changed some instances of include() to include_once() 2002-09-26 14:41:59 +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
5657e2df50 Bit more checking while creating new section 2002-08-15 02:59:57 +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
9dc79114c2 Fixed bug in subscribe link 2002-07-30 03:35:53 +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
9fd9fe68c1 typo 2002-07-19 12:11:47 +00:00
martin
7ff56f2d4a Altered blink to make it less annoying 2002-07-19 12:11:15 +00:00
martin
97b3785424 Make 'Edit profile" link blink, as a reminder, if not used yet 2002-07-19 12:08:30 +00:00
martin
82aa0e8de6 Added new teacher forum. TABLE CHANGED: forum 2002-07-04 08:30:36 +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